SylvainDe / ComicBookMaker

Script to fetch webcomics and use them to create ebooks.
MIT License
36 stars 7 forks source link

Retrieval of Mercwork triggers TypeError - page format changed #52

Closed SylvainDe closed 7 years ago

SylvainDe commented 7 years ago
Traceback (most recent call last):
  File "comicbookmaker.py", line 98, in <module>
    main()
  File "comicbookmaker.py", line 73, in main
    com.update()
  File "/home/josay/Geekage/Comics/ComicBookMaker/comic_abstract.py", line 200, in update
    for comic in cls.get_next_comic(last_comic):
  File "/home/josay/Geekage/Comics/ComicBookMaker/comics.py", line 132, in get_next_comic
    comic = cls.get_comic_info(soup, next_comic)
  File "/home/josay/Geekage/Comics/ComicBookMaker/comics.py", line 1023, in get_comic_info
    author = soup.find('meta', attrs={'name': 'shareaholic:article_author_name'})['content']
TypeError: 'NoneType' object is not subscriptable