A script that downloads hentai files from websites and stores them in a folder.
The prerequisites needed are:
- rich : Text formmating
$ pip install rich
- selenium : Crawling in the js websites
$ pip install selenium
- requests : Calling website
$ python -m pip install requests
- BeautifulSoup from bs4 : Parsing requests call for crawling
$ pip install beautifulsoup4
- concurrent.futures : Parallel tasks
$ pip install futures
- urllib3 : Fixing ssl certification warning in e-hentai
$ pip install urllib3
- Hentai2Read
- Pururin
- Nhentai
- E-hentai
- Doujins
- Hentai.cafe
- Tsumino
- HBrowse
- Messy code
- A bit on the slow side (depends on computer and network)
I know that you can already download from some or all of the websites listed, but they need you to create an account for their websites.
I'm not a fan of that so voila!
I don't have any problem with account making, but personally I don't have any use for an account except for downloading files so I created this file as a result!
- Added second python program for hbrowse locked chapters. It is slower than original but it works.
$ python hnovel.py link
link is the url of a h manga/doujin from the sites
The files will be downloaded to the folder the script is in. For example a nhentai file will be downloaded to {current location}/hnovels/Nhentai/{title of hentai}, a hentai2read file to {current location}/hnovels/Hentai2Read/{title of hentai} etc.