krypton-kry / ranobes-scraper Goto Github PK
View Code? Open in Web Editor NEWScript to scrape novels from ranobes.net and create epub
License: The Unlicense
Script to scrape novels from ranobes.net and create epub
License: The Unlicense
[INFO] : Getting Chapter list ...
Traceback (most recent call last):
File "C:\Users\User\Desktop\ranobes-scraper-main\ranobes.py", line 188, in
main()
File "C:\Users\User\Desktop\ranobes-scraper-main\ranobes.py", line 171, in main
chapters: list = get_chapters(url)
^^^^^^^^^^^^^^^^^
File "C:\Users\User\Desktop\ranobes-scraper-main\ranobes.py", line 92, in get_chapters
book_id = get_id_from_url(url)
^^^^^^^^^^^^^^^^^^^^
File "C:\Users\User\Desktop\ranobes-scraper-main\ranobes.py", line 68, in get_id_from_url
return s.select("a.uppercase:nth-child(3)")[0]["href"].split("/")[2]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^
IndexError: list index out of range
Keep getting this error, when trying to use.
$ python ranobes.py https://ranobes.net/novels1/450143-the-daily-life-of-the-immortal-king-v33632.html
[INFO] : Downloading Cover ...
Traceback (most recent call last):
File "C:\Users\User\Desktop\Github\ranobes-scraper-main\ranobes.py", line 212, in <module>
main()
File "C:\Users\User\Desktop\Github\ranobes-scraper-main\ranobes.py", line 192, in main
novel_tile, author = download_cover(url)
File "C:\Users\User\Desktop\Github\ranobes-scraper-main\ranobes.py", line 166, in download_cover
for child in novel_details.find_all("span"):
AttributeError: 'NoneType' object has no attribute 'find_all'
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.