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

[youtube] Ignore invalid stretch ratio #28769

Closed
5 tasks done
someziggyman opened this issue Apr 16, 2021 · 0 comments
Closed
5 tasks done

[youtube] Ignore invalid stretch ratio #28769

someziggyman opened this issue Apr 16, 2021 · 0 comments

Comments

@someziggyman
Copy link

someziggyman commented Apr 16, 2021

Checklist

  • I'm reporting a broken site support
  • I've verified that I'm running youtube-dl version 2021.04.07
  • 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 issues including closed ones

Verbose log

youtube-dl -v -F https://www.youtube.com/watch?v=FRhJzUSJbGI
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'-v', u'-F', u'https://www.youtube.com/watch?v=FRhJzUSJbGI']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2021.04.07
[debug] Python version 2.7.16 (CPython) - Darwin-20.3.0-x86_64-i386-64bit
[debug] exe versions: none
[debug] Proxy map: {}
[youtube] FRhJzUSJbGI: Downloading webpage
[youtube] FRhJzUSJbGI: Downloading MPD manifest
Traceback (most recent call last):
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/runpy.py", line 174, in _run_module_as_main
    "__main__", fname, loader, pkg_name)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/runpy.py", line 72, in _run_code
    exec code in run_globals
  File "/usr/local/bin/youtube-dl/__main__.py", line 19, in <module>
  File "/usr/local/bin/youtube-dl/youtube_dl/__init__.py", line 475, in main
  File "/usr/local/bin/youtube-dl/youtube_dl/__init__.py", line 465, in _real_main
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 2060, in download
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 799, in extract_info
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 806, in wrapper
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 827, in __extract_info
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 534, in extract
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 1710, in _real_extract
ValueError: invalid literal for int() with base 10: ''

Description

Test link:
https://www.youtube.com/watch?v=FRhJzUSJbGI

Tested this fix and it seems to work fine - yt-dlp/yt-dlp@46fff71

@dstftw dstftw closed this as completed in 54558e0 Apr 16, 2021
github-actions bot added a commit to hellopony/youtube-dl that referenced this issue Apr 16, 2021
* https://github.com/ytdl-org/youtube-dl:
  [youtube] Improve stretch extraction and fix stretched ratio calculation (closes ytdl-org#28769)
  [youtube:tab] Improve grid extraction (closes ytdl-org#28725)
  [youtube:tab] Detect series playlist on playlists page (closes ytdl-org#28723)
  [youtube] Add more invidious instances (ytdl-org#28706)
  [pluralsight] Extend anti-throttling timeout (ytdl-org#28712)
  [youtube] Improve URL to extractor routing (closes ytdl-org#27572, closes ytdl-org#28335, closes ytdl-org#28742)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant