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

[TheSun] crash and traceback #13471

Closed
2011 opened this issue Jun 22, 2017 · 0 comments
Closed

[TheSun] crash and traceback #13471

2011 opened this issue Jun 22, 2017 · 0 comments

Comments

@2011
Copy link

@2011 2011 commented Jun 22, 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.06.18. 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.06.18

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?

  • 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 -v 'https://www.thesun.co.uk/news/3839138/elephants-team-up-save-calf-drowning-zoo-seoul'
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['--restrict-filenames', '-o', '%(title)s-%(id)s-%(uploader)s.%(ext)s', '-w', '-v', 'https://www.thesun.co.uk/news/3839138/elephants-team-up-save-calf-drowning-zoo-seoul']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2017.06.18
[debug] Python version 3.4.5 - Linux-4.4.39-gentoo-x86_64-Intel-R-_Core-TM-_i5_CPU_750_@_2.67GHz-with-gentoo-2.3
[debug] exe versions: ffmpeg 2.8.10, ffprobe 2.8.10, rtmpdump 2.4
[debug] Proxy map: {}
[TheSun] 3839138: Downloading webpage
[download] Downloading playlist: Pair of giant elephants team up to save calf that fell into pool inside their zoo enclosure
[TheSun] playlist Pair of giant elephants team up to save calf that fell into pool inside their zoo enclosure: Collected 1 video ids (downloading 1 of them)
[download] Downloading video 1 of 1
[Ooyala] w2bnZtYjE6axZ_dw1Cd0hQtXd_ige2Is: Downloading JSON metadata
[Ooyala] w2bnZtYjE6axZ_dw1Cd0hQtXd_ige2Is: Downloading JSON metadata
[Ooyala] w2bnZtYjE6axZ_dw1Cd0hQtXd_ige2Is: Downloading f4m manifest
[Ooyala] w2bnZtYjE6axZ_dw1Cd0hQtXd_ige2Is: Downloading m3u8 information
Traceback (most recent call last):
  File "/usr/lib/python-exec/python3.4/youtube-dl", line 11, in <module>
    load_entry_point('youtube-dl==2017.6.18', 'console_scripts', 'youtube-dl')()
  File "/usr/lib64/python3.4/site-packages/youtube_dl/__init__.py", line 465, in main
    _real_main(argv)
  File "/usr/lib64/python3.4/site-packages/youtube_dl/__init__.py", line 455, in _real_main
    retcode = ydl.download(all_urls)
  File "/usr/lib64/python3.4/site-packages/youtube_dl/YoutubeDL.py", line 1919, in download
    url, force_generic_extractor=self.params.get('force_generic_extractor', False))
  File "/usr/lib64/python3.4/site-packages/youtube_dl/YoutubeDL.py", line 773, in extract_info
    return self.process_ie_result(ie_result, download, extra_info)
  File "/usr/lib64/python3.4/site-packages/youtube_dl/YoutubeDL.py", line 964, in process_ie_result
    extra_info=extra)
  File "/usr/lib64/python3.4/site-packages/youtube_dl/YoutubeDL.py", line 834, in process_ie_result
    extra_info=extra_info)
  File "/usr/lib64/python3.4/site-packages/youtube_dl/YoutubeDL.py", line 773, in extract_info
    return self.process_ie_result(ie_result, download, extra_info)
  File "/usr/lib64/python3.4/site-packages/youtube_dl/YoutubeDL.py", line 827, in process_ie_result
    return self.process_video_result(ie_result, download=download)
  File "/usr/lib64/python3.4/site-packages/youtube_dl/YoutubeDL.py", line 1496, in process_video_result
    format['http_headers'] = self._calc_headers(full_format_info)
  File "/usr/lib64/python3.4/site-packages/youtube_dl/YoutubeDL.py", line 1325, in _calc_headers
    cookies = self._calc_cookies(info_dict)
  File "/usr/lib64/python3.4/site-packages/youtube_dl/YoutubeDL.py", line 1337, in _calc_cookies
    pr = sanitized_Request(info_dict['url'])
  File "/usr/lib64/python3.4/site-packages/youtube_dl/utils.py", line 545, in sanitized_Request
    return compat_urllib_request.Request(sanitize_url(url), *args, **kwargs)
  File "/usr/lib64/python3.4/urllib/request.py", line 267, in __init__
    self.full_url = url
  File "/usr/lib64/python3.4/urllib/request.py", line 293, in full_url
    self._parse()
  File "/usr/lib64/python3.4/urllib/request.py", line 322, in _parse
    raise ValueError("unknown url type: %r" % self.full_url)
ValueError: unknown url type: ''...
<end of log>

Description of your issue, suggested solution and other information

Explanation of your issue in arbitrary form goes here. Please make sure the description is worded well enough to be understood. Provide as much context and examples as possible.
If work on your issue requires account credentials please provide them or explain how one can obtain them.

Crash and traceback (as shown).

@Argn0 Argn0 mentioned this issue Jun 23, 2017
4 of 8 tasks complete
@dstftw dstftw closed this in 4cb18ab Jun 23, 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
1 participant
You can’t perform that action at this time.