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

Not format check on resume #26632

Closed
suuuehgi opened this issue Sep 19, 2020 · 1 comment
Closed

Not format check on resume #26632

suuuehgi opened this issue Sep 19, 2020 · 1 comment
Labels

Comments

@suuuehgi
Copy link

@suuuehgi suuuehgi commented Sep 19, 2020

Checklist

  • I'm reporting a broken site support issue
  • I've verified that I'm running youtube-dl version 2020.09.14
  • 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 -v -f 571 QPdWJeybMo8
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-v', '-f', '571', 'QPdWJeybMo8']
[debug] Encodings: locale UTF-8, fs utf-8, out utf-8, pref UTF-8
[debug] youtube-dl version 2020.09.14
[debug] Python version 3.8.5 (CPython) - Linux-5.8.6-arch1-1-x86_64-with-glibc2.2.5
[debug] exe versions: ffmpeg 4.3.1, ffprobe 4.3.1, phantomjs 2.1.1, rtmpdump 2.4
[debug] Proxy map: {}
[youtube] QPdWJeybMo8: Downloading webpage
[debug] Invoking downloader on 'https://r5---sn-4g5e6nes.googlevideo.com/videoplayback?expire=1600540356&ei=ZPplX6OdDsiF6dsP_dmBiAE&ip=2a02%3A8108%3A96c0%3A57a4%3Ab55b%3A7034%3Abaa1%3Ace64&id=o-AB_FvefDLP0BLNf7AJrUvm_AMCNpJEx7b-RsAfU3beyU&itag=571&aitags=133%2C134%2C135%2C136%2C137%2C160%2C242%2C243%2C244%2C247%2C248%2C271%2C278%2C313%2C394%2C395%2C396%2C397%2C398%2C399%2C400%2C401%2C402%2C571&source=youtube&requiressl=yes&mh=Na&mm=31%2C26&mn=sn-4g5e6nes%2Csn-i5heen7z&ms=au%2Conr&mv=m&mvi=5&pl=41&initcwndbps=2208750&vprv=1&mime=video%2Fmp4&gir=yes&clen=610632125&dur=213.179&lmt=1578459218333428&mt=1600518630&fvip=5&keepalive=yes&fexp=23915654&c=WEB&txp=5531432&sparams=expire%2Cei%2Cip%2Cid%2Caitags%2Csource%2Crequiressl%2Cvprv%2Cmime%2Cgir%2Cclen%2Cdur%2Clmt&sig=AOq0QJ8wRAIgXyNaR03oPAGMS3MizYm3BllW5gNNwRMYPj7UXlNdzEUCIFAyqtd5NNRxNnObGOOgrqwz4_SyMslxnxVhIqHEKjM6&lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps&lsig=AG3C_xAwRgIhAJpLkDI95zRKP_B59ctExMUcOGxWKnIeV4CKLnlunJMjAiEA-5BbjdwaETc5ypLpI6BdDN-2ugxDt88jnnUb8tsF8Gk%3D&ratebypass=yes'
[download] Destination: NORWAY 8K-QPdWJeybMo8.mp4
[download]   0.7% of 582.34MiB at  9.05MiB/s ETA 01:03^C
ERROR: Interrupted by user

[1]> youtube-dl -v -f 402 QPdWJeybMo8
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-v', '-f', '402', 'QPdWJeybMo8']
[debug] Encodings: locale UTF-8, fs utf-8, out utf-8, pref UTF-8
[debug] youtube-dl version 2020.09.14
[debug] Python version 3.8.5 (CPython) - Linux-5.8.6-arch1-1-x86_64-with-glibc2.2.5
[debug] exe versions: ffmpeg 4.3.1, ffprobe 4.3.1, phantomjs 2.1.1, rtmpdump 2.4
[debug] Proxy map: {}
[youtube] QPdWJeybMo8: Downloading webpage
[debug] Invoking downloader on 'https://r5---sn-4g5e6nes.googlevideo.com/videoplayback?expire=1600540369&ei=cfplX7SJNb-Ex_AP6bCMmA8&ip=2a02%3A8108%3A96c0%3A57a4%3Ab55b%3A7034%3Abaa1%3Ace64&id=o-ANTDOm6rYmb8QM4GVBSzwJHRpaicK_n1pBu6aKFpECtc&itag=402&aitags=133%2C134%2C135%2C136%2C137%2C160%2C242%2C243%2C244%2C247%2C248%2C271%2C278%2C313%2C394%2C395%2C396%2C397%2C398%2C399%2C400%2C401%2C402%2C571&source=youtube&requiressl=yes&mh=Na&mm=31%2C26&mn=sn-4g5e6nes%2Csn-i5heen7z&ms=au%2Conr&mv=m&mvi=5&pl=41&initcwndbps=2145000&vprv=1&mime=video%2Fmp4&gir=yes&clen=385421990&dur=213.179&lmt=1578459782014809&mt=1600518630&fvip=5&keepalive=yes&beids=9466587&c=WEB&txp=5531432&sparams=expire%2Cei%2Cip%2Cid%2Caitags%2Csource%2Crequiressl%2Cvprv%2Cmime%2Cgir%2Cclen%2Cdur%2Clmt&sig=AOq0QJ8wRQIhAIzKQ_imkA1Xdk9PaTxtiJwO1PfaeHm0rNYln857zd-yAiAn8A2RmQn4UyJJf6hZ6UojKNrNOV22JbynfNKv6QTdXw%3D%3D&lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps&lsig=AG3C_xAwRAIgEFAqXqs6miTQe5DEd7ondumvfLa2rnTaCSsZRqVsLToCID1-V416H1dPfemZOJ8jlkTmXQlmPKpYxSZiB_Yq1eM0&ratebypass=yes'
--> [download] Resuming download at byte 4193280
[download] Destination: NORWAY 8K-QPdWJeybMo8.mp4
[download]   4.2% of 367.57MiB at  6.84MiB/s ETA 00:51^C
ERROR: Interrupted by user

Description

On resume, youtube-dl does not check whether the format parameter matches but just appends. This may lead to broken files.

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Sep 19, 2020

This is expected behavior for now.

@dstftw dstftw closed this Sep 19, 2020
@dstftw dstftw added the invalid label Sep 19, 2020
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.