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

[heavy-r.com] Connection interrupt leads to unplayable video file #20869

Closed
charon2019 opened this issue Apr 28, 2019 · 1 comment
Closed

[heavy-r.com] Connection interrupt leads to unplayable video file #20869

charon2019 opened this issue Apr 28, 2019 · 1 comment

Comments

@charon2019
Copy link
Contributor

@charon2019 charon2019 commented Apr 28, 2019

Checklist

  • I'm reporting a broken site support issue
  • I've verified that I'm running youtube-dl version 2019.04.24
  • I've checked that all provided URLs are alive and playable in a browser
  • I've checked that all URLs and arguments with special characters are properly quoted or escaped
  • I've searched the bugtracker for similar bug reports including closed ones
  • I've read bugs section in FAQ

Verbose log

$ youtube-dl --verbose https://www.heavy-r.com/video/350613/Ass_Fuck_For_Petite_Daughter/
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['--verbose', 'https://www.heavy-r.com/video/350613/Ass_Fuck_For_Petite_Daughter/']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2019.04.24
[debug] Python version 3.5.2 (CPython) - Linux-4.15.0-041500-generic-x86_64-with-Ubuntu-16.04-xenial
[debug] exe versions: avconv 3.2.4-1yavdr0, avprobe 3.2.4-1yavdr0, ffmpeg 3.2.4-1yavdr0, ffprobe 3.2.4-1yavdr0, rtmpdump 2.4
[debug] Proxy map: {}
[generic] Ass_Fuck_For_Petite_Daughter: Requesting header
WARNING: Falling back on generic information extractor.
[generic] Ass_Fuck_For_Petite_Daughter: Downloading webpage
[generic] Ass_Fuck_For_Petite_Daughter: Extracting information
[download] Downloading playlist: Ass Fuck For Petite Daughter
[generic] playlist Ass Fuck For Petite Daughter: Collected 1 video ids (downloading 1 of them)
[download] Downloading video 1 of 1
[debug] Default format spec: bestvideo+bestaudio/best
[debug] Invoking downloader on 'https://cluster4a.heavy-r.com/v/9452d85d6e8cdddc7a349cf8b03ce480/5cc56ad8/vid/a2/1c/01/a21c01391f1908c.mp4'
[download] Destination: Ass Fuck For Petite Daughter-Ass_Fuck_For_Petite_Daughter.mp4
[download]  78.8% of 24.68MiB at 255.33KiB/s ETA 00:20[download] Got server HTTP error: Downloaded 20399373 bytes, expected 25881388 bytes. Retrying (attempt 1 of 10)...
[download] Destination: Ass Fuck For Petite Daughter-Ass_Fuck_For_Petite_Daughter.mp4
[download] 100% of 24.68MiB in 01:38
[download] Finished downloading playlist: Ass Fuck For Petite Daughter

Description

After a connection interrupt - quite oftently caused by the webserver - the video file is broken and unplayable.

As you can see in the log, after 78.8%, the connection broke down. The video file is only playable up to this point. After that, broken.

Unfortunately, the same issue occurs, when you download the url with wget. It happens with a lot of videos on that platform recently. It's not due to one broken file, nor does it happen at the same point in the file all the time. Downloading becomes a role the dice game.

Seems like the web server doesn't properly resume the connection at the requested byte.

Youtube-dl should go back a little and redownload a few kilobytes and or binary overlap the downloaded part and the new part instead of just appending the new to the old.

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Apr 28, 2019

Redownloading starting few bytes back won't make any difference if a webserver handles range requests improperly.

@dstftw dstftw closed this Apr 28, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.