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-dl doesn't work with "limited" videos #14042

Closed
ballo opened this issue Aug 27, 2017 · 5 comments
Closed

youtube-dl doesn't work with "limited" videos #14042

ballo opened this issue Aug 27, 2017 · 5 comments
Labels

Comments

@ballo
Copy link

@ballo ballo commented Aug 27, 2017

What is the purpose of your issue?

  • [x ] Bug report (encountered problems with youtube-dl)
  • Site support request (request for adding support for a new site)
  • Feature request (request for a new functionality)
  • Question
  • Other

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 ```):

youtube-dl -v -F https://www.youtube.com/watch\?v\=Q2Ki6XwaQ94
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'-v', u'-F', u'https://www.youtube.com/watch?v=Q2Ki6XwaQ94']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2017.07.02
[debug] Python version 2.7.10 - Darwin-14.5.0-x86_64-i386-64bit
[debug] exe versions: ffmpeg 3.3.2, ffprobe 3.3.2
[debug] Proxy map: {}
[youtube] Q2Ki6XwaQ94: Downloading webpage
[youtube] Q2Ki6XwaQ94: Downloading video info webpage
Traceback (most recent call last):
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/runpy.py", line 162, 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 465, in main
  File "/usr/local/bin/youtube-dl/youtube_dl/__init__.py", line 455, in _real_main
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1927, in download
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 762, in extract_info
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 433, in extract
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 1595, in _real_extract
ValueError: invalid literal for int() with base 10: ''
...
<end of log>

Description of your issue, suggested solution and other information

Herr Schmidt's YouTube now has a "limited" mode for videos espousing wrongthink according to the ADL (such as painting a swastika on a helmet for the purpose of battle reenactments). These "limited" videos cannot currently be downloaded by youtube-dl.

@Hrxn
Copy link

@Hrxn Hrxn commented Aug 27, 2017

[debug] youtube-dl version 2017.07.02

Please try it with the latest version.

@ballo
Copy link
Author

@ballo ballo commented Aug 27, 2017

youtube-dl -v -F https://www.youtube.com/watch\?v\=Q2Ki6XwaQ94\&bpctr\=1503822371
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'-v', u'-F', u'https://www.youtube.com/watch?v=Q2Ki6XwaQ94&bpctr=1503822371']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2017.08.23
[debug] Python version 2.7.10 - Darwin-14.5.0-x86_64-i386-64bit
[debug] exe versions: ffmpeg 3.3.2, ffprobe 3.3.2
[debug] Proxy map: {}
[youtube] Q2Ki6XwaQ94: Downloading webpage
[youtube] Q2Ki6XwaQ94: Downloading video info webpage
Traceback (most recent call last):
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/runpy.py", line 162, 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 465, in main
  File "/usr/local/bin/youtube-dl/youtube_dl/__init__.py", line 455, in _real_main
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1958, in download
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 776, in extract_info
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 434, in extract
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 1596, in _real_extract
ValueError: invalid literal for int() with base 10: ''

@Hrxn
Copy link

@Hrxn Hrxn commented Aug 27, 2017

Latest version is youtube-dl 2017.08.27.1

@ballo
Copy link
Author

@ballo ballo commented Aug 27, 2017

Feel free to try the same line.

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Aug 27, 2017

You are using an outdated version of youtube-dl. Read this FAQ entry if you have troubles updating.

@dstftw dstftw closed this Aug 27, 2017
@dstftw dstftw added the invalid label Aug 27, 2017
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
3 participants
You can’t perform that action at this time.