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

Fails to download videos from specific channels due to character conversion? #13143

Closed
TheSimkin opened this issue May 18, 2017 · 0 comments
Closed
Labels

Comments

@TheSimkin
Copy link

@TheSimkin TheSimkin commented May 18, 2017

Please follow the guide below

  • You will be asked some questions and requested to provide some information, please read them carefully and answer honestly
  • Put an x into all the boxes [ ] relevant to your issue (like that [x])
  • Use Preview tab to see how your issue will actually look like

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2017.05.18.1. If it's not read this FAQ entry and update. Issues with outdated version will be rejected.

  • I've verified and I assure that I'm running youtube-dl 2017.05.18.1

Before submitting an issue make sure you have:

  • At least skimmed through README and most notably FAQ and BUGS sections
  • Searched the bugtracker for similar issues including closed ones

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

The following sections concretize particular purposed issues, you can erase any section (the contents between triple ---) not applicable to your issue


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 -v flag to your command line you run youtube-dl with, 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  --verbose --id --  'https://www.youtube.com/watch?v=46uWyGwMbVU'
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'--verbose', u'--id', u'--', u'https://www.youtube.com/watch?v=46uWyGwMbVU']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2017.05.18
[debug] Python version 2.7.12 - Linux-4.9.16-x86_64-with-Ubuntu-16.04-xenial
[debug] exe versions: ffmpeg 2.8.11-0ubuntu0.16.04.1, ffprobe 2.8.11-0ubuntu0.16.04.1, rtmpdump 2.4
[debug] Proxy map: {}
[youtube] 46uWyGwMbVU: Downloading webpage
[youtube] 46uWyGwMbVU: Downloading video info webpage
[youtube] 46uWyGwMbVU: Extracting video information
[youtube] {22} signature length 43.42, html5 player vfl8jhACg
[youtube] 46uWyGwMbVU: Downloading player https://www.youtube.com/yts/jsbin/player-vfl8jhACg/en_US/base.js
ERROR: Signature extraction failed: Traceback (most recent call last):
  File "./youtube-dl/youtube_dl/extractor/youtube.py", line 1162, in _decrypt_signature
    video_id, player_url, s
  File "./youtube-dl/youtube_dl/extractor/youtube.py", line 1085, in _extract_signature_function
    cache_res = res(test_string)
  File "./youtube-dl/youtube_dl/extractor/youtube.py", line 1138, in <lambda>
    return lambda s: initial_function([s])
  File "./youtube-dl/youtube_dl/jsinterp.py", line 255, in resf
    res, abort = self.interpret_statement(stmt, local_vars)
  File "./youtube-dl/youtube_dl/jsinterp.py", line 56, in interpret_statement
    v = self.interpret_expression(expr, local_vars, allow_recursion)
  File "./youtube-dl/youtube_dl/jsinterp.py", line 143, in interpret_expression
    self._objects[variable] = self.extract_object(variable)
  File "./youtube-dl/youtube_dl/jsinterp.py", line 219, in extract_object
    r'\}\s*;' % _FUNC_NAME_RE,
TypeError: not all arguments converted during string formatting
 (caused by TypeError('not all arguments converted during string formatting',)); please report this issue on https://yt-dl.org/bug . Make sure you are usin
g the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
  File "./youtube-dl/youtube_dl/extractor/youtube.py", line 1162, in _decrypt_signature
    video_id, player_url, s
  File "./youtube-dl/youtube_dl/extractor/youtube.py", line 1085, in _extract_signature_function
    cache_res = res(test_string)
  File "./youtube-dl/youtube_dl/extractor/youtube.py", line 1138, in <lambda>
    return lambda s: initial_function([s])
  File "./youtube-dl/youtube_dl/jsinterp.py", line 255, in resf
    res, abort = self.interpret_statement(stmt, local_vars)
  File "./youtube-dl/youtube_dl/jsinterp.py", line 56, in interpret_statement
    v = self.interpret_expression(expr, local_vars, allow_recursion)
  File "./youtube-dl/youtube_dl/jsinterp.py", line 143, in interpret_expression
    self._objects[variable] = self.extract_object(variable)
  File "./youtube-dl/youtube_dl/jsinterp.py", line 219, in extract_object
    r'\}\s*;' % _FUNC_NAME_RE,
TypeError: not all arguments converted during string formatting
Traceback (most recent call last):
  File "./youtube-dl/youtube_dl/YoutubeDL.py", line 760, in extract_info
    ie_result = ie.extract(url)
  File "./youtube-dl/youtube_dl/extractor/common.py", line 433, in extract
    ie_result = self._real_extract(url)
  File "./youtube-dl/youtube_dl/extractor/youtube.py", line 1755, in _real_extract
    encrypted_sig, video_id, player_url, age_gate)
  File "./youtube-dl/youtube_dl/extractor/youtube.py", line 1172, in _decrypt_signature
    'Signature extraction failed: ' + tb, cause=e)
ExtractorError: Signature extraction failed: Traceback (most recent call last):
  File "./youtube-dl/youtube_dl/extractor/youtube.py", line 1162, in _decrypt_signature
    video_id, player_url, s
  File "./youtube-dl/youtube_dl/extractor/youtube.py", line 1085, in _extract_signature_function
    cache_res = res(test_string)
  File "./youtube-dl/youtube_dl/extractor/youtube.py", line 1138, in <lambda>
    return lambda s: initial_function([s])
  File "./youtube-dl/youtube_dl/jsinterp.py", line 255, in resf
    res, abort = self.interpret_statement(stmt, local_vars)
  File "./youtube-dl/youtube_dl/jsinterp.py", line 56, in interpret_statement
    v = self.interpret_expression(expr, local_vars, allow_recursion)
  File "./youtube-dl/youtube_dl/jsinterp.py", line 143, in interpret_expression
    self._objects[variable] = self.extract_object(variable)
  File "./youtube-dl/youtube_dl/jsinterp.py", line 219, in extract_object
    r'\}\s*;' % _FUNC_NAME_RE,
TypeError: not all arguments converted during string formatting
 (caused by TypeError('not all arguments converted during string formatting',)); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
@dstftw dstftw closed this May 18, 2017
@dstftw dstftw added the duplicate label May 18, 2017
@ytdl-org ytdl-org locked and limited conversation to collaborators May 18, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
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.