TilCreator / Tapas-Comic-Downloader

This is a downloader to download whole comics from https://tapas.io/. (Not official!)
MIT License
67 stars 16 forks source link

TypeError: expected string or bytes-like object #8

Closed Delta-473 closed 4 years ago

Delta-473 commented 4 years ago

I have successfully downloaded comics before but following 2 comics give the same error: https://tapas.io/series/Golden-Gunner and https://tapas.io/series/Sniper-Girl I'm running the script on Ubuntu on Windows with WSL.

` Loading Sniper-Girl...

Sniper Girl [Sniper-Girl] (5 pages): Checking folder... Downloading header... Traceback (most recent call last): File "./tapas-dl.py", line 99, in headerSrc = re.search(r'url(".+")', customCssStr).group(0)[5:-2] File "/usr/lib/python3.6/re.py", line 182, in search return _compile(pattern, flags).search(string) TypeError: expected string or bytes-like object`

Delta-473 commented 4 years ago

sorry for bumping bump

TilCreator commented 4 years ago

Sry for overlooking your issue. Just had a short look, the error occurs, because the comic has no header image. Will be fixed in a few minutes.

TilCreator commented 4 years ago

Fixed ( 1d6cb8fd1ec43ff7061b1b666170b7f803cb32f5 )