Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[gofile] KeyError: 'childrenIds' #5993

Closed
1581-netizen opened this issue Aug 11, 2024 · 0 comments
Closed

[gofile] KeyError: 'childrenIds' #5993

1581-netizen opened this issue Aug 11, 2024 · 0 comments

Comments

@1581-netizen
Copy link

1581-netizen commented Aug 11, 2024

My simple script
The problem is only present with gofile, I have not noticed anomalies with the other sites

import subprocess

s_https = 'https://gofile.io/d/YKkgpC'
subprocess.run(['gallery-dl', '--verbose', s_https])

Error Output:

(ScraperChatpic) [root@vmi2051761 ScraperChatpic]# python3 test.py 
[gallery-dl][debug] Version 1.27.3
[gallery-dl][debug] Python 3.9.18 - Linux-5.14.0-427.26.1.el9_4.x86_64-x86_64-with-glibc2.34
[gallery-dl][debug] requests 2.32.3 - urllib3 2.2.2
[gallery-dl][debug] Configuration Files []
[gallery-dl][debug] Starting DownloadJob for 'https://gofile.io/d/YKkgpC'
[gofile][debug] Using GofileFolderExtractor for 'https://gofile.io/d/YKkgpC'
[gofile][debug] Creating temporary account
[urllib3.connectionpool][debug] Starting new HTTPS connection (1): api.gofile.io:443
[urllib3.connectionpool][debug] https://api.gofile.io:443 "POST /accounts HTTP/11" 200 178
[urllib3.connectionpool][debug] https://api.gofile.io:443 "GET /contents/YKkgpC?wt=4fd6sg89d7s6 HTTP/11" 200 913
[gofile][error] An unexpected error occurred: KeyError - 'childrenIds'. Please run gallery-dl again with the --verbose flag, copy its output and report this issue on https://github.com/mikf/gallery-dl/issues .
[gofile][debug] 
Traceback (most recent call last):
  File "/home/gallery-dl/lib64/python3.9/site-packages/gallery_dl/job.py", line 151, in run
    for msg in extractor:
  File "/home/gallery-dl/lib64/python3.9/site-packages/gallery_dl/extractor/gofile.py", line 50, in items
    for content_id in folder["childrenIds"]:
KeyError: 'childrenIds'
@mikf mikf changed the title KeyError: 'childrenIds' [gofile] KeyError: 'childrenIds' Aug 11, 2024
@mikf mikf closed this as completed Aug 12, 2024
@mikf mikf pinned this issue Aug 19, 2024
@mikf mikf unpinned this issue Sep 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants