SylvainDe/ComicBookMaker

Problem with retrieval of Octopuns

SylvainDe opened this issue · 0 comments

http://www.octopuns.net/2014/03/im-sorry-im-still-here-guys.html redirects to a generic Webhosting website leading to the following exception:

DEBUG:root:load_db octopuns start
DEBUG:root:update octopuns last comic is http://www.octopuns.net/2014/03/im-sorry-im-still-here-guys.html
DEBUG:root:get_content (url : http://www.octopuns.net/2014/03/im-sorry-im-still-here-guys.html)
DEBUG:root:urlopen_wrapper (url : http://www.octopuns.net/2014/03/im-sorry-im-still-here-guys.html)
octopuns : nothing new
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 121, in get_next_comic
    if url else \
  File "/home/josay/Geekage/Comics/ComicBookMaker/comics.py", line 108, in get_next_link
    return cls.get_navi_link(last_soup, True)
  File "/home/josay/Geekage/Comics/ComicBookMaker/comics.py", line 1470, in get_navi_link
    link = last_soup.find('img', src=re.compile('.*/Next.png' if next_ else '.*/Back.png')).parent
AttributeError: 'NoneType' object has no attribute 'parent'