Skip to content
This repository has been archived by the owner on Oct 29, 2023. It is now read-only.
/ XAnimePorn Public archive

A simple Python approach to XAnimePorn.com

Notifications You must be signed in to change notification settings

elpideus/XAnimePorn

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 things you will need are installing the package using pip3 install XAnimePorn and then importing it 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)