koroshiya / batoto-downloader-py

Cross-platform Batoto manga downloading tool, written in python
MIT License
15 stars 3 forks source link

Error downloading #6

Closed jtojnar closed 9 years ago

jtojnar commented 9 years ago

When downloading http://bato.to/comic/_/comics/tasogare-otome-x-amnesia-r113 following error occurs:

Traceback (most recent call last):
  File "/home/jtojnar/batoto-downloader-py/BatotoFrame.py", line 230, in ParseAll
    self.ParseFirst(e)
  File "/home/jtojnar/batoto-downloader-py/BatotoFrame.py", line 207, in ParseFirst
    Thread(target = self.ParseFirstThread(line, e)).start();
  File "/home/jtojnar/batoto-downloader-py/BatotoFrame.py", line 210, in ParseFirstThread
    self.ParseLine(line)
  File "/home/jtojnar/batoto-downloader-py/BatotoFrame.py", line 239, in ParseLine
    parser.downloadFromURL(line, HOME_DIR, self.statusbar)
  File "/home/jtojnar/batoto-downloader-py/URLParser.py", line 142, in downloadFromURL
    URLParser.downloadFullSeries(self, oldPath, home, statusbar)
  File "/home/jtojnar/batoto-downloader-py/URLParser.py", line 101, in downloadFullSeries
    chapters = self.findChapters(url)
  File "/home/jtojnar/batoto-downloader-py/URLParser.py", line 130, in findChapters
    if "lang_English" in line:
UnicodeDecodeError: 'utf8' codec can't decode bytes in position 78-79: invalid continuation byte

UI also becomes unresponsive.

screenshot from 2014-10-05 06 40 01

koroshiya commented 9 years ago

Fixed in commit abc84eda97cf8dd32147c763c3d5c536a3d249a2