question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Checklist

  • [x ] I’m reporting a broken site support
  • [x ] I’ve verified that I’m running youtube-dl version 2021.03.25
  • [x ] I’ve checked that all provided URLs are alive and playable in a browser
  • [x ] I’ve checked that all URLs and arguments with special characters are properly quoted or escaped
  • [x ] I’ve searched the bugtracker for similar issues including closed ones

Verbose log

PASTE VERBOSE LOG HERE
`
D:\Drivers\youtube-dl>Updated youtube-dl to version 2021.03.25.

D:\Drivers\youtube-dl>youtube-dl.exe -u [username] -p [password] -v -F https://www.hidive.com/stream/motto-to-love-ru/s02e007
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-u', 'PRIVATE', '-p', 'PRIVATE', '-v', '-F', 'https://www.hidive.com/stream/motto-to-love-ru/s02e007']
[debug] Encodings: locale cp1252, fs mbcs, out cp437, pref cp1252
[debug] youtube-dl version 2021.03.25
[debug] Python version 3.4.4 (CPython) - Windows-10-10.0.19041
[debug] exe versions: ffmpeg N-83195-ge371f03, ffprobe N-83195-ge371f03
[debug] Proxy map: {}
[HiDive] None: Downloading webpage
[HiDive] Logging in
[HiDive] motto-to-love-ru/s02e007: Downloading JSON metadata
[HiDive] motto-to-love-ru/s02e007: Downloading m3u8 information
[HiDive] motto-to-love-ru/s02e007: Downloading m3u8 information
[info] Available formats for motto-to-love-ru/s02e007:
format code        extension  resolution note
en_hv_or-hls-1612  mp4        640x360    1612k , avc1.4d001e, mp4a.40.2
ja_hv_or-hls-1636  mp4        640x360    1636k , avc1.4d001e, mp4a.40.2
en_hv_or-hls-2259  mp4        854x480    2259k , avc1.4d001f, mp4a.40.2
ja_hv_or-hls-2297  mp4        854x480    2297k , avc1.4d001f, mp4a.40.2
en_hv_or-hls-3589  mp4        1280x720   3589k , avc1.640029, mp4a.40.2
ja_hv_or-hls-3702  mp4        1280x720   3702k , avc1.640029, mp4a.40.2
en_hv_or-hls-6343  mp4        1920x1080  6343k , avc1.640029, mp4a.40.2
ja_hv_or-hls-6697  mp4        1920x1080  6697k , avc1.640029, mp4a.40.2 (best)

D:\Drivers\youtube-dl>youtube-dl.exe -u [username] -p [password] -v -f en_hv_or-hls-3589 https://www.hidive.com/stream/motto-to-love-ru/s02e007
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-u', 'PRIVATE', '-p', 'PRIVATE', '-v', '-f', 'en_hv_or-hls-3589', 'https://www.hidive.com/stream/motto-to-love-ru/s02e007']
[debug] Encodings: locale cp1252, fs mbcs, out cp437, pref cp1252
[debug] youtube-dl version 2021.03.25
[debug] Python version 3.4.4 (CPython) - Windows-10-10.0.19041
[debug] exe versions: ffmpeg N-83195-ge371f03, ffprobe N-83195-ge371f03
[debug] Proxy map: {}
[HiDive] None: Downloading webpage
[HiDive] Logging in
[HiDive] motto-to-love-ru/s02e007: Downloading JSON metadata
[HiDive] motto-to-love-ru/s02e007: Downloading m3u8 information
[HiDive] motto-to-love-ru/s02e007: Downloading m3u8 information
[debug] Invoking downloader on 'https://www.hidive.com/manifest/child/22d2c02b729a17be5b2fea0dad7c4aa1ec381c59/MLR_s02e007_tv_hv_or_en_xx_HLS720p_16x9_00_v.m3u8?#='
[hlsnative] Downloading m3u8 manifest
[hlsnative] Total fragments: 154
[download] Destination: motto-to-love-ru_s02e007-motto-to-love-ru_s02e007.mp4
[download] Got server HTTP error: HTTP Error 403: Forbidden. Retrying fragment 2 (attempt 1 of 10)...
[download] Got server HTTP error: HTTP Error 403: Forbidden. Retrying fragment 2 (attempt 2 of 10)...
[download] Got server HTTP error: HTTP Error 403: Forbidden. Retrying fragment 2 (attempt 3 of 10)...
[download] Got server HTTP error: HTTP Error 403: Forbidden. Retrying fragment 2 (attempt 4 of 10)...
[download] Got server HTTP error: HTTP Error 403: Forbidden. Retrying fragment 2 (attempt 5 of 10)...
[download] Got server HTTP error: HTTP Error 403: Forbidden. Retrying fragment 2 (attempt 6 of 10)...
[download] Got server HTTP error: HTTP Error 403: Forbidden. Retrying fragment 2 (attempt 7 of 10)...
[download] Got server HTTP error: HTTP Error 403: Forbidden. Retrying fragment 2 (attempt 8 of 10)...
[download] Got server HTTP error: HTTP Error 403: Forbidden. Retrying fragment 2 (attempt 9 of 10)...
[download] Got server HTTP error: HTTP Error 403: Forbidden. Retrying fragment 2 (attempt 10 of 10)...
[download] Skipping fragment 2...
[download] Got server HTTP error: HTTP Error 403: Forbidden. Retrying fragment 3 (attempt 1 of 10)...
[download] Got server HTTP error: HTTP Error 403: Forbidden. Retrying fragment 3 (attempt 2 of 10)...
``


## Description

<!--
Provide an explanation of your issue in an arbitrary form. Provide any additional information, suggested solution and as much context and examples as possible.
If work on your issue requires account credentials please provide them or explain how one can obtain them.
-->

WRITE DESCRIPTION HERE

unable to download any hidive video's have try 2 different pc. I am able to get the encode list but when i try to download get error 403. was working on the 16 which is the last time i used it

Issue Analytics

  • State:open
  • Created 2 years ago
  • Comments:12

github_iconTop GitHub Comments

1reaction
dnbknlolcommented, Apr 2, 2021

Something has change in HIDIVE lately. I got the same problem but I got a workaround to make this works. The solution is to use the –referer option along with –cookies.

E.g.: youtube-dl.exe --referer “$URL” --cookies “$path” $URL

I don’t really know what is the real problem. Hope someone with more knowledge than mine can hotfix this issue.

0reactions
dnbknlolcommented, Apr 9, 2021

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 HIDIVEhttps://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/s01e001https://www.hidive.com/stream/amagami-ss/s01e001 youtube-dl -u USERNAME -p PASSWORD --cookies “cookies.txt” --referer “https://www.hidive.com/stream/amagami-ss/s01e001https://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 unsubscribehttps://github.com/notifications/unsubscribe-auth/AHZQL73HTQ33EO6BEB5DLADTHHNKJANCNFSM4Z6KECCQ.

For extracting cookies, I use this addon: https://tinyurl.com/wncsre34

For cookies, use the sample @LunaGNUisance posted:

youtube-dl.exe --cookies cookies.txt --referer " https://www.hidive.com/stream/amagami-ss/s01e001" https://www.hidive.com/stream/amagami-ss/s01e001

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.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Heads-Up for Anyone getting a 403 Error When Logging In
I had to reset my password to enter my account. Every time I entered what I thought was the right password, I'd get...
Read more >
HiDive down? Current problems and outages - Downdetector
Real-time problems and outages for HiDive. Video streaming not working? Is the server down? Here you see what is going on.
Read more >
[ LIVE] How to fix 403 Forbidden error? - YouTube
Today in this video we will show you how to fix 403 Forbidden error in your website. 403 errors are almost always caused...
Read more >
HIDIVE: Sign into
How can we help you today? Search. × Portal is currently not accessible. Login to the support portal. Enter the details below. Remember...
Read more >
HTTP 403 Error Forbidden | What is status code 403 & how do ...
The 403 error is one of the many hypertext transfer protocol responses that can appear when attempting to access a web page. If...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found