[Globo] Still fails to complete downloads
See original GitHub issue-
I’ve verified and I assure that I’m running youtube-dl 2018.06.02
-
At least skimmed through the README, most notably the FAQ and BUGS sections
-
Searched the bugtracker for similar issues including closed ones
-
Checked that provided video/audio/playlist URLs (if any) are alive and playable in a browser
What is the purpose of your issue?
- Bug report (encountered problems with youtube-dl)
If the purpose of this issue is a bug report, site support request or you are not completely sure provide the full verbose output as follows:
Add the -v
flag to your command line you run youtube-dl with (youtube-dl -v <your command line>
), copy the whole output and insert it here. It should look similar to one below (replace it with your log inserted between triple ```):
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-u', 'PRIVATE', '-p', 'PRIVATE', '-v', 'https://globoplay.globo.com/v/6783003/programa/']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2018.06.02
[debug] Python version 3.6.3 (CPython) - Linux-4.13.0-43-generic-x86_64-with-Ubuntu-17.10-artful
[debug] exe versions: ffmpeg 3.3.4-2, ffprobe 3.3.4-2, phantomjs 2.1.1, rtmpdump 2.4
[debug] Proxy map: {}
Description of your issue, suggested solution and other information
The download starts as expected, but aborts after ~20min and I need to <ctrl-c>
and run it again to resume the download. I need to repeat that process untill the download is finished.
This happens with the -u 'username' -p 'password'
option as well as the --cookies file.txt
option
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-u', 'PRIVATE', '-p', 'PRIVATE', '-v', 'https://globoplay.globo.com/v/6783003/programa/']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2018.06.02
[debug] Python version 3.6.3 (CPython) - Linux-4.13.0-43-generic-x86_64-with-Ubuntu-17.10-artful
[debug] exe versions: ffmpeg 3.3.4-2, ffprobe 3.3.4-2, phantomjs 2.1.1, rtmpdump 2.4
[debug] Proxy map: {}
[Globo] Downloading JSON metadata
[Globo] 6783003: Downloading JSON metadata
[Globo] 6783003: Downloading security hash for 6783003_90_720_collection
[Globo] 6783003_90_720_collection: Downloading m3u8 information
[Globo] 6783003: Downloading security hash for 6783003_90_720_l_collection
[Globo] 6783003_90_720_l_collection: Downloading m3u8 information
[Globo] 6783003: Downloading security hash for 6783003_360_1080_collection
[Globo] 6783003_360_1080_collection: Downloading m3u8 information
[debug] Default format spec: bestvideo+bestaudio/best
[debug] Invoking downloader on 'https://vodstreaming04a.video.globo.com/r360_1080/v86/dd/d0/de/6783003_de307a1559004b8b7228c50c245e78b68d4e097d
/6783003-manifest.smil.ism/6783003-manifest.smil-audio_por_1=128000-video_por=13467382.m3u8?hls_client_manifest_version=4'
[hlsnative] Downloading m3u8 manifest
[hlsnative] Total fragments: 246
[download] Destination: Jornal Nacional - Íntegra 02 Junho 2018-6783003.mp4
[download] 32.9% of ~3.97GiB at 1.07MiB/s ETA 41:05[download] Got server HTTP error: HTTP Error 403: Forbidden. Retrying fragment 82 (attempt
1 of 10)...
[download] Got server HTTP error: HTTP Error 403: Forbidden. Retrying fragment 82 (attempt 2 of 10)...
[download] Got server HTTP error: HTTP Error 403: Forbidden. Retrying fragment 82 (attempt 3 of 10)...
[download] Got server HTTP error: HTTP Error 403: Forbidden. Retrying fragment 82 (attempt 4 of 10)...
[download] Got server HTTP error: HTTP Error 403: Forbidden. Retrying fragment 82 (attempt 5 of 10)...
[download] Got server HTTP error: HTTP Error 403: Forbidden. Retrying fragment 82 (attempt 6 of 10)...
[download] Got server HTTP error: HTTP Error 403: Forbidden. Retrying fragment 82 (attempt 7 of 10)...
[download] Got server HTTP error: HTTP Error 403: Forbidden. Retrying fragment 82 (attempt 8 of 10)...
[download] Got server HTTP error: HTTP Error 403: Forbidden. Retrying fragment 82 (attempt 9 of 10)...
[download] Got server HTTP error: HTTP Error 403: Forbidden. Retrying fragment 82 (attempt 10 of 10)...
[download] Skipping fragment 82...
[download] Got server HTTP error: HTTP Error 403: Forbidden. Retrying fragment 83 (attempt 1 of 10)...
[download] Got server HTTP error: HTTP Error 403: Forbidden. Retrying fragment 83 (attempt 2 of 10)...
[...]
^C
ERROR: Interrupted by user
Issue Analytics
- State:
- Created 5 years ago
- Comments:10
Here is a wrapper script that runs youtube-dl until it terminates without any error (code 0)
usage:
yt-wrapper.py -u <user> -p <password> -f <format> URL
use
yt-wrapper.py -h
to see helpI also suspect that it is some weird server behavior, because of the constant 20min
I’m working at a python wrapper script right now that re-runs youtube-dl until no more error gets raised.
But because I’m really not a coder that might take a little while.
This of course is not a fix but it’s the only thing that I am capable to do by myself.