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

[Bug] Error 405 on everything from Erome #1829

Closed
HanatakeYurii opened this issue Sep 7, 2021 · 13 comments
Closed

[Bug] Error 405 on everything from Erome #1829

HanatakeYurii opened this issue Sep 7, 2021 · 13 comments

Comments

@HanatakeYurii
Copy link

Hi,
I encounter a problem attempting to download anything from Erome (it's the first time I try that site, it works on others), everytime I get an error:
[downloader.http][warning] '405 Not Allowed' for 'https://s13.erome.com/xxx/xxx/xxx.jpg' [download][error] Failed to download xxx.jpg

I tried to login with my credentials and even cookies (not the first time doing this) but nothing seems to do the trick so far.
Any idea?

@rautamiekka
Copy link
Contributor

Show the used command and the verbose output, including the unmodified links, but redact personal info such as user ID's.

@HanatakeYurii
Copy link
Author

Here you go:

C:\Users\Anon>gallery-dl https://www.erome.com/a/oVwvztyU -v -u "Anon" -p "password" --write-log gdl.txt
[gallery-dl][debug] Version 1.18.2
[gallery-dl][debug] Python 3.9.1 - Windows-10-10.0.19041-SP0
[gallery-dl][debug] requests 2.25.1 - urllib3 1.26.2
[gallery-dl][debug] Starting DownloadJob for 'https://www.erome.com/a/oVwvztyU'
[erome][debug] Using EromeAlbumExtractor for 'https://www.erome.com/a/oVwvztyU'
[urllib3.connectionpool][debug] Starting new HTTPS connection (1): www.erome.com:443
[urllib3.connectionpool][debug] https://www.erome.com:443 "GET /a/oVwvztyU HTTP/1.1" 200 None
[urllib3.connectionpool][debug] Starting new HTTPS connection (1): s13.erome.com:443
[urllib3.connectionpool][debug] https://s13.erome.com:443 "GET /533/oVwvztyU/JyaEWueG.jpeg HTTP/1.1" 405 173
[downloader.http][warning] '405 Not Allowed' for 'https://s13.erome.com/533/oVwvztyU/JyaEWueG.jpeg'
[download][error] Failed to download oVwvztyU Mulan Vuitton 01.jpg
[urllib3.connectionpool][debug] Starting new HTTPS connection (2): s13.erome.com:443
[urllib3.connectionpool][debug] https://s13.erome.com:443 "GET /533/oVwvztyU/3U8ROSR9.jpeg HTTP/1.1" 405 173
[downloader.http][warning] '405 Not Allowed' for 'https://s13.erome.com/533/oVwvztyU/3U8ROSR9.jpeg'
[download][error] Failed to download oVwvztyU Mulan Vuitton 02.jpg
[urllib3.connectionpool][debug] Starting new HTTPS connection (3): s13.erome.com:443
[urllib3.connectionpool][debug] https://s13.erome.com:443 "GET /533/oVwvztyU/GSAcm1Cr.jpeg HTTP/1.1" 405 173
[downloader.http][warning] '405 Not Allowed' for 'https://s13.erome.com/533/oVwvztyU/GSAcm1Cr.jpeg'
[download][error] Failed to download oVwvztyU Mulan Vuitton 03.jpg
[urllib3.connectionpool][debug] Starting new HTTPS connection (4): s13.erome.com:443
[urllib3.connectionpool][debug] https://s13.erome.com:443 "GET /533/oVwvztyU/JzLK3ldb_720p.mp4 HTTP/1.1" 405 173
[downloader.http][warning] '405 Not Allowed' for 'https://s13.erome.com/533/oVwvztyU/JzLK3ldb_720p.mp4'
[download][error] Failed to download oVwvztyU Mulan Vuitton 04.mp4
[urllib3.connectionpool][debug] Starting new HTTPS connection (5): s13.erome.com:443
[urllib3.connectionpool][debug] https://s13.erome.com:443 "GET /533/oVwvztyU/g2Elu5px.jpeg HTTP/1.1" 405 173
[downloader.http][warning] '405 Not Allowed' for 'https://s13.erome.com/533/oVwvztyU/g2Elu5px.jpeg'
[download][error] Failed to download oVwvztyU Mulan Vuitton 05.jpg
[urllib3.connectionpool][debug] Starting new HTTPS connection (6): s13.erome.com:443
[urllib3.connectionpool][debug] https://s13.erome.com:443 "GET /533/oVwvztyU/TTgqoORY_720p.mp4 HTTP/1.1" 405 173
[downloader.http][warning] '405 Not Allowed' for 'https://s13.erome.com/533/oVwvztyU/TTgqoORY_720p.mp4'
[download][error] Failed to download oVwvztyU Mulan Vuitton 06.mp4
[urllib3.connectionpool][debug] Starting new HTTPS connection (7): s13.erome.com:443
[urllib3.connectionpool][debug] https://s13.erome.com:443 "GET /533/oVwvztyU/3LP2ilX0_720p.mp4 HTTP/1.1" 405 173
[downloader.http][warning] '405 Not Allowed' for 'https://s13.erome.com/533/oVwvztyU/3LP2ilX0_720p.mp4'
[download][error] Failed to download oVwvztyU Mulan Vuitton 07.mp4
[urllib3.connectionpool][debug] Starting new HTTPS connection (8): s13.erome.com:443
[urllib3.connectionpool][debug] https://s13.erome.com:443 "GET /533/oVwvztyU/gZsbNJQj.jpeg HTTP/1.1" 405 173
[downloader.http][warning] '405 Not Allowed' for 'https://s13.erome.com/533/oVwvztyU/gZsbNJQj.jpeg'
[download][error] Failed to download oVwvztyU Mulan Vuitton 08.jpg
[urllib3.connectionpool][debug] Starting new HTTPS connection (9): s13.erome.com:443
[urllib3.connectionpool][debug] https://s13.erome.com:443 "GET /533/oVwvztyU/CaeFrdA2_720p.mp4 HTTP/1.1" 405 173
[downloader.http][warning] '405 Not Allowed' for 'https://s13.erome.com/533/oVwvztyU/CaeFrdA2_720p.mp4'
[download][error] Failed to download oVwvztyU Mulan Vuitton 09.mp4
[urllib3.connectionpool][debug] Starting new HTTPS connection (10): s13.erome.com:443
[urllib3.connectionpool][debug] https://s13.erome.com:443 "GET /533/oVwvztyU/yPXugbrT.png HTTP/1.1" 405 173
[downloader.http][warning] '405 Not Allowed' for 'https://s13.erome.com/533/oVwvztyU/yPXugbrT.png'
[download][error] Failed to download oVwvztyU Mulan Vuitton 10.png
[urllib3.connectionpool][debug] Starting new HTTPS connection (11): s13.erome.com:443
[urllib3.connectionpool][debug] https://s13.erome.com:443 "GET /533/oVwvztyU/CNmaTgvR.jpeg HTTP/1.1" 405 173
[downloader.http][warning] '405 Not Allowed' for 'https://s13.erome.com/533/oVwvztyU/CNmaTgvR.jpeg'
[download][error] Failed to download oVwvztyU Mulan Vuitton 11.jpg
[urllib3.connectionpool][debug] Starting new HTTPS connection (12): s13.erome.com:443
[urllib3.connectionpool][debug] https://s13.erome.com:443 "GET /533/oVwvztyU/2MZPujVp.jpeg HTTP/1.1" 405 173
[downloader.http][warning] '405 Not Allowed' for 'https://s13.erome.com/533/oVwvztyU/2MZPujVp.jpeg'
[download][error] Failed to download oVwvztyU Mulan Vuitton 12.jpg
[urllib3.connectionpool][debug] Starting new HTTPS connection (13): s13.erome.com:443
[urllib3.connectionpool][debug] https://s13.erome.com:443 "GET /533/oVwvztyU/aUI2Zu5q.jpeg HTTP/1.1" 405 173
[downloader.http][warning] '405 Not Allowed' for 'https://s13.erome.com/533/oVwvztyU/aUI2Zu5q.jpeg'
[download][error] Failed to download oVwvztyU Mulan Vuitton 13.jpg
[urllib3.connectionpool][debug] Starting new HTTPS connection (14): s13.erome.com:443
[urllib3.connectionpool][debug] https://s13.erome.com:443 "GET /533/oVwvztyU/UoTTxrOZ.jpeg HTTP/1.1" 405 173
[downloader.http][warning] '405 Not Allowed' for 'https://s13.erome.com/533/oVwvztyU/UoTTxrOZ.jpeg'
[download][error] Failed to download oVwvztyU Mulan Vuitton 14.jpg
[urllib3.connectionpool][debug] Starting new HTTPS connection (15): s13.erome.com:443
[urllib3.connectionpool][debug] https://s13.erome.com:443 "GET /533/oVwvztyU/lXNI8a96_720p.mp4 HTTP/1.1" 405 173
[downloader.http][warning] '405 Not Allowed' for 'https://s13.erome.com/533/oVwvztyU/lXNI8a96_720p.mp4'
[download][error] Failed to download oVwvztyU Mulan Vuitton 15.mp4
[urllib3.connectionpool][debug] Starting new HTTPS connection (16): s13.erome.com:443
[urllib3.connectionpool][debug] https://s13.erome.com:443 "GET /533/oVwvztyU/bsfW9FUB.jpeg HTTP/1.1" 405 173
[downloader.http][warning] '405 Not Allowed' for 'https://s13.erome.com/533/oVwvztyU/bsfW9FUB.jpeg'
[download][error] Failed to download oVwvztyU Mulan Vuitton 16.jpg
[urllib3.connectionpool][debug] Starting new HTTPS connection (17): s13.erome.com:443
[urllib3.connectionpool][debug] https://s13.erome.com:443 "GET /533/oVwvztyU/XIev4Cqj.jpeg HTTP/1.1" 405 173
[downloader.http][warning] '405 Not Allowed' for 'https://s13.erome.com/533/oVwvztyU/XIev4Cqj.jpeg'
[download][error] Failed to download oVwvztyU Mulan Vuitton 17.jpg
[urllib3.connectionpool][debug] Starting new HTTPS connection (18): s13.erome.com:443
[urllib3.connectionpool][debug] https://s13.erome.com:443 "GET /533/oVwvztyU/kEsLAIKA.jpeg HTTP/1.1" 405 173
[downloader.http][warning] '405 Not Allowed' for 'https://s13.erome.com/533/oVwvztyU/kEsLAIKA.jpeg'
[download][error] Failed to download oVwvztyU Mulan Vuitton 18.jpg
[urllib3.connectionpool][debug] Starting new HTTPS connection (19): s13.erome.com:443
[urllib3.connectionpool][debug] https://s13.erome.com:443 "GET /533/oVwvztyU/jE3ltMc4_720p.mp4 HTTP/1.1" 405 173
[downloader.http][warning] '405 Not Allowed' for 'https://s13.erome.com/533/oVwvztyU/jE3ltMc4_720p.mp4'
[download][error] Failed to download oVwvztyU Mulan Vuitton 19.mp4
[urllib3.connectionpool][debug] Starting new HTTPS connection (20): s13.erome.com:443
[urllib3.connectionpool][debug] https://s13.erome.com:443 "GET /533/oVwvztyU/94MsXqfW.jpeg HTTP/1.1" 405 173
[downloader.http][warning] '405 Not Allowed' for 'https://s13.erome.com/533/oVwvztyU/94MsXqfW.jpeg'
[download][error] Failed to download oVwvztyU Mulan Vuitton 20.jpg
[urllib3.connectionpool][debug] Starting new HTTPS connection (21): s13.erome.com:443
[urllib3.connectionpool][debug] https://s13.erome.com:443 "GET /533/oVwvztyU/0qdoHQc0_720p.mp4 HTTP/1.1" 405 173
[downloader.http][warning] '405 Not Allowed' for 'https://s13.erome.com/533/oVwvztyU/0qdoHQc0_720p.mp4'
[download][error] Failed to download oVwvztyU Mulan Vuitton 21.mp4
[urllib3.connectionpool][debug] Starting new HTTPS connection (22): s13.erome.com:443
[urllib3.connectionpool][debug] https://s13.erome.com:443 "GET /533/oVwvztyU/WmAkmIUB.jpeg HTTP/1.1" 405 173
[downloader.http][warning] '405 Not Allowed' for 'https://s13.erome.com/533/oVwvztyU/WmAkmIUB.jpeg'
[download][error] Failed to download oVwvztyU Mulan Vuitton 22.jpg
[urllib3.connectionpool][debug] Starting new HTTPS connection (23): s13.erome.com:443
[urllib3.connectionpool][debug] https://s13.erome.com:443 "GET /533/oVwvztyU/GOrDkzWF.jpeg HTTP/1.1" 405 173
[downloader.http][warning] '405 Not Allowed' for 'https://s13.erome.com/533/oVwvztyU/GOrDkzWF.jpeg'
[download][error] Failed to download oVwvztyU Mulan Vuitton 23.jpg
[urllib3.connectionpool][debug] Starting new HTTPS connection (24): s13.erome.com:443
[urllib3.connectionpool][debug] https://s13.erome.com:443 "GET /533/oVwvztyU/YFUfVPDq_720p.mp4 HTTP/1.1" 405 173
[downloader.http][warning] '405 Not Allowed' for 'https://s13.erome.com/533/oVwvztyU/YFUfVPDq_720p.mp4'
[download][error] Failed to download oVwvztyU Mulan Vuitton 24.mp4
[urllib3.connectionpool][debug] Starting new HTTPS connection (25): s13.erome.com:443
[urllib3.connectionpool][debug] https://s13.erome.com:443 "GET /533/oVwvztyU/LSBHT8s0_720p.mp4 HTTP/1.1" 405 173
[downloader.http][warning] '405 Not Allowed' for 'https://s13.erome.com/533/oVwvztyU/LSBHT8s0_720p.mp4'
[download][error] Failed to download oVwvztyU Mulan Vuitton 25.mp4

@mikf mikf closed this as completed in 35d75a4 Sep 8, 2021
@mikf
Copy link
Owner

mikf commented Sep 8, 2021

This is fixed with 35d75a4, but you can also use your config file to tell gallery-dl to send the right Referer header:

        "erome": {
            "headers": {"Referer": "https://www.erome.com/"}
        },

@HanatakeYurii
Copy link
Author

Thanks <3 I will do!

@Darius040
Copy link

@mikf not working for me :(

@Hrxn
Copy link
Contributor

Hrxn commented Sep 9, 2021

@Darius040 updated to the latest dev version?

@Darius040
Copy link

@Darius040 updated to the latest dev version?

i think so i did it.But how to check i dont know.

C:\Users\user>python -m pip install -U gallery-dl
Requirement already satisfied: gallery-dl in c:\users\i\appdata\local\programs\python\python39\lib\site-packages (1.18.4)
Requirement already satisfied: requests>=2.11.0 in c:\users\i\appdata\local\programs\python\python39\lib\site-packages (from gallery-dl) (2.26.0)
Requirement already satisfied: urllib3<1.27,>=1.21.1 in c:\users\i\appdata\local\programs\python\python39\lib\site-packages (from requests>=2.11.0->gallery-dl) (1.26.6)
Requirement already satisfied: charset-normalizer~=2.0.0 in c:\users\i\appdata\local\programs\python\python39\lib\site-packages (from requests>=2.11.0->gallery-dl) (2.0.4)
Requirement already satisfied: idna<4,>=2.5 in c:\users\i\appdata\local\programs\python\python39\lib\site-packages (from requests>=2.11.0->gallery-dl) (3.2)
Requirement already satisfied: certifi>=2017.4.17 in c:\users\i\appdata\local\programs\python\python39\lib\site-packages (from requests>=2.11.0->gallery-dl) (2021.5.30)

@kattjevfel
Copy link
Contributor

@Darius040 please see the second command in https://github.com/mikf/gallery-dl#pip

@mikf
Copy link
Owner

mikf commented Sep 9, 2021

-o headers.Referer=https://www.erome.com/ would also work with an older version, same as adding that header to your config (#1829 (comment)).

@Darius040
Copy link

This is fixed with 35d75a4, but you can also use your config file to tell gallery-dl to send the right Referer header:

        "erome": {
            "headers": {"Referer": "https://www.erome.com/"}
        },

i do this too ı really going crazy.I don't understand programming at all. I'm an environmental engineer. This really tilted me.

@Darius040
Copy link

@Darius040 please see the second command in https://github.com/mikf/gallery-dl#pip

i already do that...

@rautamiekka
Copy link
Contributor

@Darius040 updated to the latest dev version?

i think so i did it.But how to check i dont know.

C:\Users\user>python -m pip install -U gallery-dl
Requirement already satisfied: gallery-dl in c:\users\i\appdata\local\programs\python\python39\lib\site-packages (1.18.4)
Requirement already satisfied: requests>=2.11.0 in c:\users\i\appdata\local\programs\python\python39\lib\site-packages (from gallery-dl) (2.26.0)
Requirement already satisfied: urllib3<1.27,>=1.21.1 in c:\users\i\appdata\local\programs\python\python39\lib\site-packages (from requests>=2.11.0->gallery-dl) (1.26.6)
Requirement already satisfied: charset-normalizer~=2.0.0 in c:\users\i\appdata\local\programs\python\python39\lib\site-packages (from requests>=2.11.0->gallery-dl) (2.0.4)
Requirement already satisfied: idna<4,>=2.5 in c:\users\i\appdata\local\programs\python\python39\lib\site-packages (from requests>=2.11.0->gallery-dl) (3.2)
Requirement already satisfied: certifi>=2017.4.17 in c:\users\i\appdata\local\programs\python\python39\lib\site-packages (from requests>=2.11.0->gallery-dl) (2021.5.30)

No, that ain't gonna work, you need to download the source code and run it; you'll just point Python to the gallery_dl folder you see in the repo root, and give your usual gallery-dl flags and params. Once gallery-dl has been officially updated you can use the update command. This is 1 beauty of Python.

@Darius040
Copy link

Okey guys i do something and now is working.Just delete Chocolatey location everything.Worked for me.

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

6 participants