A simple Python approach to XAnimePorn.com
Get Started
It’s really easy to get started with XAnimePorn. No tokens, no API credentials, nothing will stay between you and your
work. The only thing you will need is importing the package into your project using import XAnimePorn.
Remember to also import the requirements in your project:
After installing all the requirements your project is ready to use XAnimePorn.
Just use pip3 install XAnimePorn to install the package.
There aren’t many things to explain as this is a really simple package but documentation can be found inside the code.
Here an example of what can this package do:
import XAnimePorn
search = XAnimePorn.search("love", 1) # Executes a research using the given keyword and taking only one element
link = search[0] # Takes the first element from the research
video = XAnimePorn.Video(link) # Creates a Video object from which it is possible to get information
print(video.title) # Prints the title of the video.
print(video.url) # Prints the link to the video.
XAnimePorn.Video(link).download() # Downloads the video.
search = XAnimePorn.search("love", 10) # Executes a research using the given keyword
for link in search: # For every video found
video = XAnimePorn.Video(link) # Creates a Video object
print(video.title + " -> " + video.url) # Prints the video title and link
Made with by Stefan Cucoranu aka elpideus (elpideus@gmail.com)
Metadata
Release files for XAnimePorn 1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| XAnimePorn-1.2.tar.gz | 20.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| XAnimePorn-1.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 39.4 kB
Release files / XAnimePorn-1.2.tar.gz
| Download URL | XAnimePorn-1.2.tar.gz |
|---|---|
| Size | 20.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
667de88f8c20c908dea1c2fce737148baffeaa6182e9f043939f98cd7d538c96
|
|
BLAKE2b-256 checksum How to use checksums |
99d8e2295bee90799a1e06b464bc23637cc721b5d1040ccb9d402db779d26553
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.6
|
Release files / XAnimePorn-1.2-py3-none-any.whl
| Download URL | XAnimePorn-1.2-py3-none-any.whl |
|---|---|
| Size | 19.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c72ad35e159fbabb7825f95ed840294856df8399f67357a452a2fd8d26c288ff
|
|
BLAKE2b-256 checksum How to use checksums |
5941512bbe02a2651e43a84817ccdca73eabef9ad3fce4699c897892b7bf306f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.6
|