mikf / gallery-dl

Command-line program to download image galleries and collections from several image hosting sites
GNU General Public License v2.0
12.01k stars 978 forks source link

[Kemono] reactjs update breaks the extractor #6528

Open serveral1 opened 9 hours ago

serveral1 commented 9 hours ago

Supposedly it's still in the deployment phase but, as far as I'm aware, the admin is confident that this time the update will not be rolled back like they did so about a monthish ago.

gallery-dl --verbose https://kemono.su/patreon/user/163178/post/3136816
[gallery-dl][debug] Version 1.27.7-dev
[gallery-dl][debug] Python 3.11.4 - Windows-10-10.0.19044-SP0
[gallery-dl][debug] requests 2.32.2 - urllib3 2.2.1
[gallery-dl][debug] Configuration Files ['%APPDATA%\\gallery-dl\\config.json']
[gallery-dl][debug] Starting DownloadJob for 'https://kemono.su/patreon/user/163178/post/3136816'
[kemonoparty][debug] Using KemonopartyPostExtractor for 'https://kemono.su/patreon/user/163178/post/3136816'
[kemonoparty][debug] Loading cookies from 'C:\Users\User\.aria2\cookies.txt'
[urllib3.connectionpool][debug] Starting new HTTPS connection (1): kemono.su:443
[urllib3.connectionpool][debug] https://kemono.su:443 "GET /patreon/user/163178 HTTP/1.1" 200 1020
[kemonoparty][error] An unexpected error occurred: TypeError - argument of type 'NoneType' is not iterable. Please run gallery-dl again with the --verbose flag, copy its output and report this issue on https://github.com/mikf/gallery-dl/issues .
[kemonoparty][debug]
Traceback (most recent call last):
  File "C:\Users\User\AppData\Local\Programs\Python\Python311\Lib\site-packages\gallery_dl\job.py", line 151, in run
    for msg in extractor:
  File "C:\Users\User\AppData\Local\Programs\Python\Python311\Lib\site-packages\gallery_dl\extractor\kemonoparty.py", line 66, in items
    username = text.unescape(text.extract(
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\User\AppData\Local\Programs\Python\Python311\Lib\html\__init__.py", line 130, in unescape
    if '&' not in s:
       ^^^^^^^^^^^^
TypeError: argument of type 'NoneType' is not iterable
mikf commented 9 hours ago

Duplicate of #6415