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
hidive error 403 #28575
Comments
Something has change in HIDIVE lately. I got the same problem but I got a workaround to make this works. E.g.: I don't really know what is the real problem. Hope someone with more knowledge than mine can hotfix this issue. |
I've also experienced this issue. I was able to download a few shows from HiDive with no issues last month, but I've not been able to recently. I've tried passing cookies via Lennon Hill's cookies.txt extension on Firefox, and even on Chromium, but I get this error every time:
Some examples of commands I've tried:
Nothing works. If I try this:
I will be able to get past the extract login form error, and it will download the first 3 seconds of the video (i.e. the HiDive Logo animation), but every other subsequent attempt will fail. The resulting video is 3 seconds long. I was also able to get the subtitles. This is the error log:
And so on, for every segment. Of note is that HiDive has added a Google Captcha to the login page that I don't believe was there previously. It seems to be the kind that users don't see, but is watching them for bot-like behaviour (i.e. ReCAPTCHA V3). I had to enable scripts from google.com on uBlock Origin before I could login on Firefox. I've also not been able to find a way to download episodes from Crunchyroll with a login + cookies.txt, as I get slapped with the unable to extract login form error. This seems to be caused by Crunchyroll updating the way their service works recently. |
Use the last one of your examples but without username or password. Just the cookies (cookies with a logged in session). That worked for me. |
Thank you; this worked for me on HiDive. I tried it on Crunchyroll too, but no dice. For the record, this is the command I used: This doesn't work without the Also, I was not able to download the entire video, as some fragments were unavailable. I get some of the same "failed to open segment" and "HTTP error 403 Forbidden" errors, along with:
|
An addendum: Only https://www.hidive.com/stream/amagami-ss/s01e016 did not fully download (missing 5 or so minutes from the 24-minute episode), but episodes 17-25 downloaded fully without issue. I did get these errors at the start of each, however:
Thanks for the workaround, @dnr18lol |
I've tried to download the s01e016 and it worked for me with no problems. Maybe it was just a casual error? Try to use cookies that are updated. To download from Crunchyroll, just use cookies. I think referrer is not needed is CR. PS: Look up if you have the newest YT-DL and FFMPEG version. If not, update. |
just wondering where you get the cookie from. i can see the data in dev tools in firefox but not sure what to do next.
…________________________________
From: DnR18LoL ***@***.***>
Sent: April 5, 2021 12:02 PM
To: ytdl-org/youtube-dl ***@***.***>
Cc: yuusha ***@***.***>; Author ***@***.***>
Subject: Re: [ytdl-org/youtube-dl] hidive error 403 (#28575)
I've also experienced this issue. I was able to download a few shows from HiDive with no issues last month, but I've not been able to recently.
I've tried passing cookies via Lennon Hill's cookies.txt extension on Firefox, and even on Chromium, but I get this error every time:
ERROR: Unable to extract login form; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see https://yt-dl.org/update on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Some examples of commands I've tried:
youtube-dl -u USERNAME -p PASSWORD --cookies cookies.txt https://www.hidive.com/stream/amagami-ss/s01e001
youtube-dl -u USERNAME -p PASSWORD --cookies cookies.txt --referer "https://www.hidive.com/stream/amagami-ss/s01e001" https://www.hidive.com/stream/amagami-ss/s01e001
youtube-dl -u USERNAME -p PASSWORD --cookies "cookies.txt" --referer "https://www.hidive.com/stream/amagami-ss/s01e001" https://www.hidive.com/stream/amagami-ss/s01e001
Nothing works.
If I try this:
youtube-dl -u USERNAME -p PASSWORD https://www.hidive.com/stream/amagami-ss/s01e001
I will be able to get past the extract login form error, and it will download the first 3 seconds of the video (i.e. the HiDive Logo animation), but every other subsequent attempt will fail. The resulting video is 3 seconds long. I was also able to get the subtitles.
This is the error log:
[hls @ 0x564e63cce0c0] Opening 'https://video.hidive.com/content/AMG/HLS/HLS1080p/AMG_s01e016_hv_or_na_ja_xx_HLS1080p_16x9_00_i.key?...' for reading
[https @ 0x564e64298540] HTTP error 403 Forbidden
[hls @ 0x564e63cce0c0] Unable to open key file https://video.hidive.com/content/AMG/HLS/HLS1080p/AMG_s01e016_hv_or_na_ja_xx_HLS1080p_16x9_00_i.key?...
[https @ 0x564e6428b2c0] Cannot reuse HTTP connection for different host: static.hidive.com:-1 != video.hidive.com:-1
[hls @ 0x564e63cce0c0] keepalive request failed for 'crypto+https://video.hidive.com/content/AMG/HLS/HLS1080p/AMG_s01e016_hv_or_na_ja_xx_HLS1080p_16x9_00_i00000.ts?...' with error: 'Invalid argument' when opening url, retrying with new connection
[hls @ 0x564e63cce0c0] Opening 'crypto+https://video.hidive.com/content/AMG/HLS/HLS1080p/AMG_s01e016_hv_or_na_ja_xx_HLS1080p_16x9_00_i00000.ts?...' for reading
[https @ 0x564e64298540] HTTP error 403 Forbidden
[crypto @ 0x564e642fe340] Unable to open resource: https://video.hidive.com/content/AMG/HLS/HLS1080p/AMG_s01e016_hv_or_na_ja_xx_HLS1080p_16x9_00_i00000.ts?...
[hls @ 0x564e63cce0c0] Failed to open segment 1 of playlist 0
[hls @ 0x564e63cce0c0] Opening 'crypto+https://video.hidive.com/content/AMG/HLS/HLS1080p/AMG_s01e016_hv_or_na_ja_xx_HLS1080p_16x9_00_i00001.ts?...' for reading
^C[https @ 0x564e63cd6bc0] HTTP error 403 Forbidden
[crypto @ 0x564e64298540] Unable to open resource: https://video.hidive.com/content/AMG/HLS/HLS1080p/AMG_s01e016_hv_or_na_ja_xx_HLS1080p_16x9_00_i00001.ts?...
[hls @ 0x564e63cce0c0] Failed to open segment 2 of playlist 0
And so on, for every segment.
Of note is that HiDive has added a Google Captcha to the login page that I don't believe was there previously. It seems to be the kind that users don't see, but is watching them for bot-like behaviour (i.e. ReCAPTCHA V3). I had to enable scripts from google.com on uBlock Origin before I could login on Firefox.
I've also not been able to find a way to download episodes from Crunchyroll with a login + cookies.txt, as I get slapped with the unable to extract login form error. This seems to be caused by Crunchyroll updating the way their service works recently.
Use the last one of your examples but without username or password. Just the cookies (cookies with a logged in session). That worked for me.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub<#28575 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AHZQL73HTQ33EO6BEB5DLADTHHNKJANCNFSM4Z6KECCQ>.
|
never mind brain dies for a sec. the cookie fix worked. thanks still getting same error using youtube-dl -u USERNAME -p PASSWORD ---f en_hv_or-hls-689 https://www.hidive.com/stream/amagami-ss/s01e001
[http://static.hidive.com/titles/AMG/AMG_KEY_1200x450.jpg]<https://www.hidive.com/stream/amagami-ss/s01e001>
Stream Episode 1 of Amagami SS on HIDIVE<https://www.hidive.com/stream/amagami-ss/s01e001>
Watch Episode 1 of Amagami SS on HIDIVE. Start your 30 Day FREE Trial now!
www.hidive.com
…________________________________
From: DnR18LoL ***@***.***>
Sent: April 5, 2021 12:02 PM
To: ytdl-org/youtube-dl ***@***.***>
Cc: yuusha ***@***.***>; Author ***@***.***>
Subject: Re: [ytdl-org/youtube-dl] hidive error 403 (#28575)
I've also experienced this issue. I was able to download a few shows from HiDive with no issues last month, but I've not been able to recently.
I've tried passing cookies via Lennon Hill's cookies.txt extension on Firefox, and even on Chromium, but I get this error every time:
ERROR: Unable to extract login form; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see https://yt-dl.org/update on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Some examples of commands I've tried:
youtube-dl -u USERNAME -p PASSWORD --cookies cookies.txt https://www.hidive.com/stream/amagami-ss/s01e001
youtube-dl -u USERNAME -p PASSWORD --cookies cookies.txt --referer "https://www.hidive.com/stream/amagami-ss/s01e001" https://www.hidive.com/stream/amagami-ss/s01e001
youtube-dl -u USERNAME -p PASSWORD --cookies "cookies.txt" --referer "https://www.hidive.com/stream/amagami-ss/s01e001" https://www.hidive.com/stream/amagami-ss/s01e001
Nothing works.
If I try this:
youtube-dl -u USERNAME -p PASSWORD https://www.hidive.com/stream/amagami-ss/s01e001
I will be able to get past the extract login form error, and it will download the first 3 seconds of the video (i.e. the HiDive Logo animation), but every other subsequent attempt will fail. The resulting video is 3 seconds long. I was also able to get the subtitles.
This is the error log:
[hls @ 0x564e63cce0c0] Opening 'https://video.hidive.com/content/AMG/HLS/HLS1080p/AMG_s01e016_hv_or_na_ja_xx_HLS1080p_16x9_00_i.key?...' for reading
[https @ 0x564e64298540] HTTP error 403 Forbidden
[hls @ 0x564e63cce0c0] Unable to open key file https://video.hidive.com/content/AMG/HLS/HLS1080p/AMG_s01e016_hv_or_na_ja_xx_HLS1080p_16x9_00_i.key?...
[https @ 0x564e6428b2c0] Cannot reuse HTTP connection for different host: static.hidive.com:-1 != video.hidive.com:-1
[hls @ 0x564e63cce0c0] keepalive request failed for 'crypto+https://video.hidive.com/content/AMG/HLS/HLS1080p/AMG_s01e016_hv_or_na_ja_xx_HLS1080p_16x9_00_i00000.ts?...' with error: 'Invalid argument' when opening url, retrying with new connection
[hls @ 0x564e63cce0c0] Opening 'crypto+https://video.hidive.com/content/AMG/HLS/HLS1080p/AMG_s01e016_hv_or_na_ja_xx_HLS1080p_16x9_00_i00000.ts?...' for reading
[https @ 0x564e64298540] HTTP error 403 Forbidden
[crypto @ 0x564e642fe340] Unable to open resource: https://video.hidive.com/content/AMG/HLS/HLS1080p/AMG_s01e016_hv_or_na_ja_xx_HLS1080p_16x9_00_i00000.ts?...
[hls @ 0x564e63cce0c0] Failed to open segment 1 of playlist 0
[hls @ 0x564e63cce0c0] Opening 'crypto+https://video.hidive.com/content/AMG/HLS/HLS1080p/AMG_s01e016_hv_or_na_ja_xx_HLS1080p_16x9_00_i00001.ts?...' for reading
^C[https @ 0x564e63cd6bc0] HTTP error 403 Forbidden
[crypto @ 0x564e64298540] Unable to open resource: https://video.hidive.com/content/AMG/HLS/HLS1080p/AMG_s01e016_hv_or_na_ja_xx_HLS1080p_16x9_00_i00001.ts?...
[hls @ 0x564e63cce0c0] Failed to open segment 2 of playlist 0
And so on, for every segment.
Of note is that HiDive has added a Google Captcha to the login page that I don't believe was there previously. It seems to be the kind that users don't see, but is watching them for bot-like behaviour (i.e. ReCAPTCHA V3). I had to enable scripts from google.com on uBlock Origin before I could login on Firefox.
I've also not been able to find a way to download episodes from Crunchyroll with a login + cookies.txt, as I get slapped with the unable to extract login form error. This seems to be caused by Crunchyroll updating the way their service works recently.
Use the last one of your examples but without username or password. Just the cookies (cookies with a logged in session). That worked for me.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub<#28575 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AHZQL73HTQ33EO6BEB5DLADTHHNKJANCNFSM4Z6KECCQ>.
|
I tried again with newly-extracted cookies, and I am indeed running the latest version of youtube-dl, 2021-04-07 on Arch Linux. However, I was still not able to fully download the video. A number of fragments weren't able to be downloaded, returning this error:
For the record, I'm trying this with Firefox. I'm not sure whether you used a Chromium/Webkit browser, though it shouldn't make much difference. The issue is localized to only this episode of the series. However, I've faced the same issue with https://www.hidive.com/stream/yumeiro-patissiere/s01e003 I have no idea what causes it. I'm using a blank firefox profile with only the cookies.txt extension installed; no settings changed beyond search engines and enabling https only. |
It works for me, but it doesn't fully download every episode. Can you clarify that you're using: Don't pass the username or password parameters; that doesn't work. Additionally, it's possible to download multiple episodes like this: Unless you mean that the -u and -p options don't work after the update yesterday, in which case, that makes sense; they haven't pushed an update regarding this issue. |
For extracting cookies, I use this addon: https://tinyurl.com/wncsre34 For cookies, use the sample @LunaGNUisance posted:
Please consider that your cookies must be exported from a session with a logged in session. Also consider that some contents are only available in the USA, so you should use a VPN if you aren't from the US. |
I'm also getting this issue with 403 unless I use |
Continued in #32441. |
Checklist
Verbose log
The text was updated successfully, but these errors were encountered: