lightnovel-crawler icon indicating copy to clipboard operation
lightnovel-crawler copied to clipboard

Fix this source : Mtlnation

Open Flwk opened this issue 2 years ago • 0 comments

Hello,

I have this error when i try to get a novel on MTLNATION

The novel : https://mtlnation.com/novel/villain-seized-the-assassin-heroine-at-the-start/

================================================================================
                          [#] Lightnovel Crawler v2.31.0
                  https://github.com/dipu-bd/lightnovel-crawler
--------------------------------------------------------------------------------

-> Press  Ctrl + C  to exit

? Enter novel page url or query novel: https://mtlnation.com/novel/villain-seized-the-assassin-heroine-at-the-start/
? Do you want to log in? Yes
? User/Email: *************
? Password: ***************
Retrieving novel info...
https://mtlnation.com/novel/villain-seized-the-assassin-heroine-at-the-start/

 ! Error: list indices must be integers or slices, not str
 <class 'TypeError'>
 File "lncrawl\bots\console\integration.py", line 89, in start
    _download_novel()
  File "lncrawl\bots\console\integration.py", line 78, in _download_novel
    self.app.get_novel_info()
  File "lncrawl\core\app.py", line 140, in get_novel_info
    self.crawler.read_novel_info()
  File "C:\Users\Bilal\.lncrawl\sources\en\m\mtlnation.py", line 55, in read_novel_info
    self.novel_title = data['data']['title']


--------------------------------------------------------------------------------
 -  https://github.com/dipu-bd/lightnovel-crawler/issues
================================================================================
Press ENTER to exit...

Thanks a lot !

Flwk avatar Aug 04 '22 11:08 Flwk