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

Inkbunny "Friends Only" download bug #1281

Closed
J20X9 opened this issue Jan 28, 2021 · 0 comments
Closed

Inkbunny "Friends Only" download bug #1281

J20X9 opened this issue Jan 28, 2021 · 0 comments
Labels

Comments

@J20X9
Copy link

J20X9 commented Jan 28, 2021

There seems to be a problem with downloading "friends only" posts on Inkbunny. All images that are downloaded will be 26 bytes in size. I thought it was odd that not only were all image files broken, but they were the exact same size. I checked the raw file contents and it turns out that it contains the text "ERROR: Invalid session id.".

Observing the below output, it appears as though gallery-dl is failing to pass the sid parameter when accessing the image. The below GET command should instead be /private_files/full/3452/3452956_J20X9_jpeg_artifacts_test.png?sid=2UtsEmsS763fwPY9UwSKP12ppA.

I uploaded the image included in the below output with a test account. If you do not want to bother creating a second account to test this, feel free to send me a friend request in order to access the friend only post.

PS C:\test> gallery-dl --verbose https://inkbunny.net/s/2362162 -d .
[gallery-dl][debug] Version 1.16.4
[gallery-dl][debug] Python 3.7.3 - Windows-10-10.0.19041-SP0
[gallery-dl][debug] requests 2.25.1 - urllib3 1.26.3
[gallery-dl][debug] Starting DownloadJob for 'https://inkbunny.net/s/2362162'
[inkbunny][debug] Using InkbunnyPostExtractor for 'https://inkbunny.net/s/2362162'
[urllib3.connectionpool][debug] Starting new HTTPS connection (1): inkbunny.net:443
[urllib3.connectionpool][debug] https://inkbunny.net:443 "GET /api_submissions.php?submission_ids=2362162&show_description=yes&sid=2UtsEmsS763fwPY9UwSKP12ppA HTTP/1.1" 200 None
[urllib3.connectionpool][debug] https://inkbunny.net:443 "GET /private_files/full/3452/3452956_J20X9_jpeg_artifacts_test.png HTTP/1.1" 200 None
* .\inkbunny\j20x9\2362162_Image Test_01.png
PS C:\test> cat '.\inkbunny\j20x9\2362162_Image Test_01.png'
ERROR: Invalid session id.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants