Xonshiz / comic-dl

Comic-dl is a command line tool to download manga and comics from various comic and manga sites. Supported sites : readcomiconline.to, mangafox.me, comic naver and many more.
https://github.com/Xonshiz/comic-dl
MIT License
546 stars 68 forks source link

AttributeError: 'NoneType' object has no attribute 'group' #220

Closed UMLAUTaxl closed 3 years ago

UMLAUTaxl commented 5 years ago

Hi, I tried this with several manga sites and nothing worked. So either I'm doing something wrong or this is completely broken.

$ ./__main__.py -v -i https://fanfox.net/manga/dagashi_kashi/v08/c141/1.html

***Starting the script in Verbose Mode***

Traceback (most recent call last):
  File "./__main__.py", line 10, in <module>
    ComicDL(sys.argv[1:])
  File "/media/Disk1/comic-dl/comic_dl/comic_dl.py", line 237, in __init__
    comic_language=args.manga_language[0], print_index=print_index)
  File "/media/Disk1/comic-dl/comic_dl/honcho.py", line 130, in checker
    print_index=print_index)
  File "/media/Disk1/comic-dl/comic_dl/sites/mangaFox.py", line 29, in __init__
    keep_files=keep_files)
  File "/media/Disk1/comic-dl/comic_dl/sites/mangaFox.py", line 41, in single_chapter
    current_chapter_volume = str(re.search(r"current_chapter=\"(.*?)\";", str(source)).group(1))
AttributeError: 'NoneType' object has no attribute 'group'

Error_Log.log: https://gist.github.com/UMLAUTaxl/1054634cda967a96c290e71c9a8e12e2

I guess I should reference #004 but it's closed. Thanks

Xonshiz commented 3 years ago

Hey, could you download latest binary and try again and update here?

Xonshiz commented 3 years ago

Closing, as added with latest commit.