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

Changing domain to solve Bunkr 404 error #2689

Closed
jaywhyz opened this issue Jun 17, 2022 · 2 comments
Closed

Changing domain to solve Bunkr 404 error #2689

jaywhyz opened this issue Jun 17, 2022 · 2 comments

Comments

@jaywhyz
Copy link

jaywhyz commented Jun 17, 2022

Hi,

I am trying to download a bunkr album and I saw that I needed to change the domain using:
./gallery-dl -o domain=[NAME] [URL]
However, it doesn't seem to make a difference.

I personally think that I am just not calling the option command properly in windows powershell - it seems to be different from others I have seen (that use $ gallery-dl instead of ./gallery-dl, the latter of which works for me). I just don't know how I'm supposed actually change the domain and I keep getting a 404 error.

@jaywhyz jaywhyz changed the title Using -o option command Changing domain to solve Bunkr 404 error Jun 17, 2022
@rautamiekka
Copy link
Contributor

PowerShell uses an Unix-style syntax for executing a binary due to the thing being platform-independent, hence ./gallery-dl.

When I googled bunkr.is and took the 1st album link (NSFW), it works perfectly fine for me with and without my config (on my system, g is a symlink to gallery-dl):

(base) PS C:\Windows\System32> g -v 'https://bunkr.is/a/SflAXHqV'
�[0;37mgallery-dl: Version 1.22.2-dev�[0m
�[0;37mgallery-dl: Python 3.9.12 - Windows-10-10.0.19044-SP0�[0m
�[0;37mgallery-dl: requests 2.27.1 - urllib3 1.26.9�[0m
�[0;37mgallery-dl: Starting DownloadJob for 'https://bunkr.is/a/SflAXHqV'�[0m
�[0;37mbunkr: Using LolisafeAlbumExtractor for 'https://bunkr.is/a/SflAXHqV'�[0m
�[0;37murllib3.connectionpool: Starting new HTTPS connection (1): app.bunkr.is:443�[0m
�[0;37murllib3.connectionpool: https://app.bunkr.is:443 "GET /api/album/get/SflAXHqV HTTP/1.1" 200 None�[0m
�[0;37mbunkr: Using download archive 'REDACTED'�[0m
�[0;37mbunkr: Active postprocessor modules: [MetadataPP, ComparePP, MetadataPP]�[0m
�[0;37murllib3.connectionpool: Starting new HTTPS connection (1): media-files.bunkr.is:443�[0m
�[0;37murllib3.connectionpool: https://media-files.bunkr.is:443 "GET /Screen_Recording_20211222-134217_Brave_1-eufs25D1-46iaFdIm-Zy20vP3H.mp4 HTTP/1.1" 200 33940829�[0m
 25%   8.50MB   1.91MB/s REDACTED\bunkr\mikaylah (SflAXHqV)\Screen_Recording_20211222-134217_Brave_1-eufs25D1-46iaFdIm-Zy20vP3H.mp4
KeyboardInterrupt

########################
########################

(base) PS J:\_> g -v --ignore-config 'https://bunkr.is/a/SflAXHqV'
[gallery-dl][debug] Version 1.22.2-dev
[gallery-dl][debug] Python 3.9.12 - Windows-10-10.0.19044-SP0
[gallery-dl][debug] requests 2.27.1 - urllib3 1.26.9
[gallery-dl][debug] Starting DownloadJob for 'https://bunkr.is/a/SflAXHqV'
[bunkr][debug] Using LolisafeAlbumExtractor for 'https://bunkr.is/a/SflAXHqV'
[urllib3.connectionpool][debug] Starting new HTTPS connection (1): app.bunkr.is:443
[urllib3.connectionpool][debug] https://app.bunkr.is:443 "GET /api/album/get/SflAXHqV HTTP/1.1" 200 None
[urllib3.connectionpool][debug] Starting new HTTPS connection (1): media-files.bunkr.is:443
[urllib3.connectionpool][debug] https://media-files.bunkr.is:443 "GET /Screen_Recording_20211222-134217_Brave_1-eufs25D1-46iaFdIm-Zy20vP3H.mp4 HTTP/1.1" 200 33940829
 15%   5.39MB   1.24MB/s ylah (SflAXHqV)\Screen_Recording_20211222-134217_Brave_1-eufs25D1-46iaFdIm-Zy20vP3H.mp4
KeyboardInterrupt

In any case: you need to show the full verbose (with personal data such as your IP, logins, filesystem paths (such as up to the folder which houses the bunkr folder. So, if Bunkr's folder was D:/Downloads/bunkr/, you replace it with REDACTED/bunkr/), and other ID's replaced with REDACTED) output after using the --verbose flag.

@mikf
Copy link
Owner

mikf commented Jun 20, 2022

The bunkr 404 issue was already fixed in the latest version (#2634, 8a42d85), so just update gallery-dl and this should work without -o.

If you still want to try your luck with that, it should be gallery-dl -o domain=app.bunkr.is [URL]

$ gallery-dl instead of ./gallery-dl

That doesn't matter. Here on GitHub, I usually prefix any actual commands with $ (the default shell prompt) to distinguish them from their output.

gallery-dl, ./gallery-dl, $ gallery-dl, or $ ./gallery-dl are basically all the same.

@mikf mikf closed this as completed Jun 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants