mikf / gallery-dl

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

404 for kemono.party #6536

Closed tkzv closed 1 week ago

tkzv commented 1 week ago

Looks like the API changed once again. Now I always get a 404 error:

$ gallery-dl https://kemono.party/patreon/user/75536199 --proxy socks5h://localhost:9050 --write-pages
[kemonoparty][error] HttpError: '404 NOT FOUND' for 'https://kemono.su/api/v1/patreon/user/75536199?o=0'
$ gallery-dl --version
1.27.7
$ gallery-dl https://kemono.party/patreon/user/75536199 --proxy socks5h://localhost:9050 --write-pages --verbose
[gallery-dl][debug] Version 1.27.7
[gallery-dl][debug] Python 3.12.7 - Linux-5.15.32-gentoo-r1-x86_64-AMD_FX-tm-8300_Eight-Core_Processor-with-glibc2.40
[gallery-dl][debug] requests 2.32.3 - urllib3 2.2.3
[gallery-dl][debug] Configuration Files ['${HOME}/.config/gallery-dl/config.json']
[gallery-dl][debug] Starting DownloadJob for 'https://kemono.party/patreon/user/75536199'
[kemonoparty][debug] Using KemonopartyUserExtractor for 'https://kemono.party/patreon/user/75536199'
[urllib3.connectionpool][debug] Starting new HTTPS connection (1): kemono.party:443
[socks][debug] Error connecting to SOCKS5 proxy localhost:9050 due to: [Errno 111] Connection refused
[urllib3.connectionpool][debug] https://kemono.party:443 "GET /api/v1/patreon/user/75536199?o=0 HTTP/11" 308 164
[urllib3.connectionpool][debug] Starting new HTTPS connection (1): kemono.su:443
[socks][debug] Error connecting to SOCKS5 proxy localhost:9050 due to: [Errno 111] Connection refused
[urllib3.connectionpool][debug] https://kemono.su:443 "GET /api/v1/patreon/user/75536199?o=0 HTTP/11" 404 41
[kemonoparty][error] HttpError: '404 NOT FOUND' for 'https://kemono.su/api/v1/patreon/user/75536199?o=0'
[kemonoparty][debug] 
Traceback (most recent call last):
  File "/home/oleg/.local/lib/python3.12/site-packages/gallery_dl/job.py", line 151, in run
    for msg in extractor:
  File "/home/oleg/.local/lib/python3.12/site-packages/gallery_dl/extractor/kemonoparty.py", line 79, in items
    for post in posts:
  File "/home/oleg/.local/lib/python3.12/site-packages/gallery_dl/extractor/kemonoparty.py", line 325, in posts
    posts = self.request(url, params=params).json()
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/oleg/.local/lib/python3.12/site-packages/gallery_dl/extractor/common.py", line 243, in request
    raise exception.HttpError(msg, response)
gallery_dl.exception.HttpError: '404 NOT FOUND' for 'https://kemono.su/api/v1/patreon/user/75536199?o=0'
mikf commented 1 week ago

Duplicate of #6415

PBXg33k commented 1 week ago

@mikf kemono and coomer pushed a change today that took the v1 api offline, causing all api calls to return 404.

The api docs point back to v0, so therefor i don't think this issue is a duplicate of #6415