Skip to main content

A simple scraper for the XAnimePorn.com website.

Project description

Logo

A simple Python approach to XAnimePorn.com

Py-Versions Versions LICENCE
GitHub-Status GitHub-Updated GitHub-Stars GitHub-Forks GitHub-Commits GitHub-Contributions GitHub-Issues GitHub-PRs
XAnimePorn.com is a website that publishes hentai (ero-anime) videos/movies.
This package allows to easily get data from the website.

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 Heart 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

XAnimePorn-1.2.tar.gz (20.3 kB view hashes)

Uploaded Source

Built Distribution

XAnimePorn-1.2-py3-none-any.whl (19.1 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page