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.

[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:open
  • Created 5 years ago
  • Comments:10

github_iconTop GitHub Comments

2reactions
Troycivcommented, Jun 30, 2018

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 help

0reactions
Troycivcommented, Jun 17, 2018

I 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.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Support for authentication on globo.com · Issue #4189 - GitHub
Thank you very much for supporting globo.com videos (#3823). ... [Globo] Still fails to complete downloads #16629.
Read more >
Fix file download errors - Google Chrome Help
If you get an error message on Chrome when you try to download apps, themes, extensions, or other files, try these fixes.
Read more >
Rede Globo 2000 GloboGlass Model (FIXED BY ME)
Rede Globo 2000 GloboGlass Model (FIXED BY ME) - Download Free 3D model by BlueTheTCFandFSPandTCSFan2022 (@Ilove20thCenturyFox)
Read more >
Sudo: unable to resolve host explained - Globo.Tech
Sometimes you encounter an error “sudo unable to resolve host”. Usually, this error occurs after changing the hostname of your system.
Read more >
Workhuman - Apps on Google Play
Thanks for using the Workhuman mobile app (formerly known as Globoforce Mobile). Recognize colleagues, manage performance, redeem awards, ...
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