dipu-bd / lightnovel-crawler

Generate and download e-books from online sources.

Home Page:https://pypi.org/project/lightnovel-crawler/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Fix this source wtr-lab.com

DomID00 opened this issue · comments

Let us know

Novel URL: https://wtr-lab.com/en/serie-4328/the-low-level-trainer-of-the-elf-world
App Location: EXE
App Version: 3.5.1

Describe this issue

-> Press Ctrl + C to exit

? Enter novel page url or query novel: https://wtr-lab.com/en/serie-6767/from-the-man-behind-the-football-king-to-the-f
ootball-king
Retrieving novel info...
Exception in thread Thread-1 (read_novel_info):
Traceback (most recent call last):
File "threading.py", line 1016, in _bootstrap_inner
File "threading.py", line 953, in run
File "C:\Users\Byzz.lncrawl\sources\multi\wtrlab.py", line 62, in read_novel_info
url = f"{self.host}{lang}/serie-{serie_id}/{novel_slug}/chapter-{chapter['slug']}"
KeyError: 'slug'

! Error: No chapters found
<class 'Exception'>
File "lncrawl\bots\console\integration.py", line 107, in start
raise e
File "lncrawl\bots\console\integration.py", line 101, in start
_download_novel()
File "lncrawl\bots\console\integration.py", line 85, in _download_novel
self.app.get_novel_info()
File "lncrawl\core\app.py", line 137, in get_novel_info
raise Exception("No chapters found")

Press ENTER to exit...

@zGadli hi, can you check it pls ↑

@DomID00 Issue fixed. Close Issue.

@zGadli I made the modification, but it shows me the same error

@DomID00 is your dev branch up to date? if it isn't then update it and then make the change. I also remember previously that the code that works on others pc didn't work on yours. can you make sure your python and pip version is up to date? Also maybe delete the repo on local machine and clone it again. Otherwise, I have no idea because the change worked on my machine.

@zGadli yes it works, THANK YOU for solving the problem