m-haisham / novelsave

This is a tool to download and convert novels from popular sites to e-books.
Apache License 2.0
36 stars 7 forks source link

Some webnovel novels failed to download #10

Closed Anangaya closed 4 years ago

Anangaya commented 4 years ago

Here is the error

[✓] Scraping novelovel Traceback (most recent call last): File "c:\users\Anangaya\appdata\local\programs\python\python38\lib\runpy.py", line 193, in _run_module_as_main return _run_code(code, main_globals, None, File "c:\users\Anangaya\appdata\local\programs\python\python38\lib\runpy.py", line 86, in _run_code exec(code, run_globals) File "C:\Users\Anangaya\AppData\Local\Programs\Python\Python38\Scripts\novelsave.exe__main.py", line 7, in File "c:\users\Anangaya\appdata\local\programs\python\python38\lib\site-packages\novelsave\main__.py", line 81, in main novelsave.update(force_cover=args.force_cover) File "c:\users\Anangaya\appdata\local\programs\python\python38\lib\site-packages\novelsave\websave.py", line 32, in update novel = Novel.from_url(UrlTools.to_novel_url(self.novel_id)) File "c:\users\Anangaya\appdata\local\programs\python\python38\lib\site-packages\webnovel\models\novel.py", line 51, in from_url novel.rating = float(info_elems[3].find('strong').text) / 5.0, ValueError: could not convert string to float: ''

m-haisham commented 4 years ago

Could you check whether the webnovelbot package is up to date

Anangaya commented 4 years ago

Thanks! updating novelsave solved the problem.