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

Unknown type url type ... downloading from CeskaTelevize #17033

Closed
mcepl opened this issue Jul 21, 2018 · 4 comments
Closed

Unknown type url type ... downloading from CeskaTelevize #17033

mcepl opened this issue Jul 21, 2018 · 4 comments
Labels

Comments

@mcepl
Copy link
Contributor

@mcepl mcepl commented Jul 21, 2018

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 this: [x])
  • Use the Preview tab to see what your issue will actually look like

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2018.07.21. 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 2018.07.21

Before submitting an issue make sure you have:

  • At least skimmed through the README, most notably the FAQ and BUGS sections
  • Searched the bugtracker for similar issues including closed ones
  • Checked that provided video/audio/playlist URLs (if any) are alive and playable in a browser

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

Cannot download video from the web of Česká Televize (Czech TV).

https://www.ceskatelevize.cz/porady/10116288835-z-metropole/218411058230029/

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

matej@mitmanek: ~$ youtube-dl --verbose https://www.ceskatelevize.cz/porady/10116288835-z-metropole/218411058230029/
[debug] System config: ['--prefer-free-formats']
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['--verbose', 'https://www.ceskatelevize.cz/porady/10116288835-z-metropole/218411058230029/']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2018.07.21
[debug] Python version 3.4.8 (CPython) - Linux-3.10.0-862.9.1.el7.x86_64-x86_64-with-centos-7.5.1804-Core
[debug] exe versions: ffmpeg 2.8.15, ffprobe 2.8.15, rtmpdump 2.4
[debug] Proxy map: {}
[CeskaTelevizePorady] 218411058230029: Downloading webpage
[CeskaTelevize] iFramePlayer.php: Downloading webpage
[CeskaTelevize] iFramePlayer.php: Downloading JSON metadata
Traceback (most recent call last):
  File "/usr/bin/youtube-dl", line 9, in <module>
    load_entry_point('youtube-dl==2018.7.21', 'console_scripts', 'youtube-dl')()
  File "/usr/lib/python3.4/site-packages/youtube_dl/__init__.py", line 471, in main
    _real_main(argv)
  File "/usr/lib/python3.4/site-packages/youtube_dl/__init__.py", line 461, in _real_main
    retcode = ydl.download(all_urls)
  File "/usr/lib/python3.4/site-packages/youtube_dl/YoutubeDL.py", line 2000, in download
    url, force_generic_extractor=self.params.get('force_generic_extractor', False))
  File "/usr/lib/python3.4/site-packages/youtube_dl/YoutubeDL.py", line 802, in extract_info
    return self.process_ie_result(ie_result, download, extra_info)
  File "/usr/lib/python3.4/site-packages/youtube_dl/YoutubeDL.py", line 863, in process_ie_result
    extra_info=extra_info)
  File "/usr/lib/python3.4/site-packages/youtube_dl/YoutubeDL.py", line 791, in extract_info
    ie_result = ie.extract(url)
  File "/usr/lib/python3.4/site-packages/youtube_dl/extractor/common.py", line 502, in extract
    ie_result = self._real_extract(url)
  File "/usr/lib/python3.4/site-packages/youtube_dl/extractor/ceskatelevize.py", line 130, in _real_extract
    req = sanitized_Request(compat_urllib_parse_unquote(playlist_url))
  File "/usr/lib/python3.4/site-packages/youtube_dl/utils.py", line 560, 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: 'Error'
matej@mitmanek: ~$
@dstftw dstftw closed this Jul 21, 2018
@dstftw dstftw added the duplicate label Jul 21, 2018
@mcepl
Copy link
Contributor Author

@mcepl mcepl commented Jul 23, 2018

@dstftw duplicate of what? It would make a way more sense, if you said which issue this is supposed to be duplicate of. Please?

@mcepl
Copy link
Contributor Author

@mcepl mcepl commented Jul 23, 2018

This is duplicate of #16997 (which includes WIP patch for the problem).

@borhub
Copy link

@borhub borhub commented Jul 24, 2018

Related PR: #16999

@mcepl
Copy link
Contributor Author

@mcepl mcepl commented Jul 24, 2018

This is now applied to youtube-dl-2018.07.21-2 on Fedora/EPEL, but still we don't have solution for the broken digital certificate.

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.