Closed tjamqt closed 4 years ago
youtube-dl does not support DRM protected videos.
OK, thanks for checking!
On Saturday, November 21, 2020, 5:01:20 PM EST, remitamine <notifications@github.com> wrote:
Closed #27140.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.
Checklist
Verbose log
Description
Maybe half of the URLs on the tubitv.com website can be downloaded without incident but this one and the rest result in the above error.
I also downloaded Python source code from github and the extractor test fails with some similarity in the stack trace (Anaconda, Python 3.6.5) :
(base) C:\SoftDev\Python\youtube-dl-master> python test/test_download.py TestDownload.test_TubiTv [debug] Using fake IP 6.208.88.246 (US) as X-Forwarded-For. [TubiTv] 283829: Downloading JSON metadata [TubiTv] 283829: Downloading m3u8 information E
ERROR: test_TubiTv (main.TestDownload):
Traceback (most recent call last): File "test/test_download.py", line 159, in test_template force_generic_extractor=params.get('force_generic_extractor', False)) File "C:\SoftDev\Python\youtube-dl-master\youtube_dl\YoutubeDL.py", line 796, in extract_info return self.extract_info(url, ie, download, extra_info, process) File "C:\SoftDev\Python\youtube-dl-master\youtube_dl\YoutubeDL.py", line 803, in wrapper return func(self, *args, **kwargs) File "C:\SoftDev\Python\youtube-dl-master\youtube_dl\YoutubeDL.py", line 824, in extract_info ie_result = ie.extract(url) File "C:\SoftDev\Python\youtube-dl-master\youtube_dl\extractor\common.py", line 532, in extract ie_result = self._real_extract(url) File "C:\SoftDev\Python\youtube-dl-master\youtube_dl\extractor\tubitv.py", line 67, in _real_extract video_id, 'mp4', 'm3u8_native') File "C:\SoftDev\Python\youtube-dl-master\youtube_dl\extractor\common.py", line 1628, in _extract_m3u8_formats fatal=fatal, data=data, headers=headers, query=query) File "C:\SoftDev\Python\youtube-dl-master\youtube_dl\extractor\common.py", line 665, in _download_webpage_handle urlh = self._request_webpage(url_or_request, video_id, note, errnote, fatal, data=data, headers=headers, query=query, expected_status=expected_status) File "C:\SoftDev\Python\youtube-dl-master\youtube_dl\extractor\common.py", line 627, in _request_webpage url_or_request = sanitized_Request(url_or_request, data, headers) File "C:\SoftDev\Python\youtube-dl-master\youtube_dl\utils.py", line 2157, in sanitized_Request return compat_urllib_request.Request(sanitize_url(url), *args, **kwargs) File "C:\ProgramData\Anaconda3\lib\urllib\request.py", line 329, in init self.full_url = url File "C:\ProgramData\Anaconda3\lib\urllib\request.py", line 355, in full_url self._parse() File "C:\ProgramData\Anaconda3\lib\urllib\request.py", line 384, in _parse raise ValueError("unknown url type: %r" % self.full_url) ValueError: unknown url type: ''
Ran 1 test in 1.242s
FAILED (errors=1)