A simple scraper for the XAnimePorn.com website.
Project description
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)
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file XAnimePorn-1.2.tar.gz.
File metadata
- Download URL: XAnimePorn-1.2.tar.gz
- Upload date:
- Size: 20.3 kB
- Tags: Source
- Uploaded using 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
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
667de88f8c20c908dea1c2fce737148baffeaa6182e9f043939f98cd7d538c96
|
|
| MD5 |
e892ba1b907d9532d5e9794d489b1482
|
|
| BLAKE2b-256 |
99d8e2295bee90799a1e06b464bc23637cc721b5d1040ccb9d402db779d26553
|
File details
Details for the file XAnimePorn-1.2-py3-none-any.whl.
File metadata
- Download URL: XAnimePorn-1.2-py3-none-any.whl
- Upload date:
- Size: 19.1 kB
- Tags: Python 3
- Uploaded using 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
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c72ad35e159fbabb7825f95ed840294856df8399f67357a452a2fd8d26c288ff
|
|
| MD5 |
275160f6b8986c6fa8a5cd94149dd002
|
|
| BLAKE2b-256 |
5941512bbe02a2651e43a84817ccdca73eabef9ad3fce4699c897892b7bf306f
|