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

[TF1] "This video is DRM protected" for videos download attempts #7299

Closed
10 of 11 tasks
Totorrr opened this issue Jun 12, 2023 · 3 comments
Closed
10 of 11 tasks

[TF1] "This video is DRM protected" for videos download attempts #7299

Totorrr opened this issue Jun 12, 2023 · 3 comments
Labels
DRM The referred content is DRM protected site-bug Issue with a specific website wontfix This will not be worked on

Comments

@Totorrr
Copy link

Totorrr commented Jun 12, 2023

DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE

  • I understand that I will be blocked if I intentionally remove or skip any mandatory* field

Checklist

Region

France

Provide a description that is worded well enough to be understood

Hello,

it seems that as of today, the tf1 (TF1) website has moved to a DRM protected streaming platform. yt-dlp cannot download videos there any more.

Example:

yt-dlp 'https://www.tf1.fr/lci/le-temps-de-linfo/videos/mort-de-silvio-berlusconi-une-vie-de-succes-daffaires-et-de-polemiques-52186276.html'
[TF1] Extracting URL: https://www.tf1.fr/lci/le-temps-de-linfo/videos/mort-de-silvio-berlusconi-une-vie-de-succes-daffa...miques-52186276.html
[TF1] mort-de-silvio-berlusconi-une-vie-de-succes-daffaires-et-de-polemiques-52186276: Downloading JSON metadata
[wat.tv] Extracting URL: wat:13994339
[wat.tv] 13994339: Downloading JSON metadata
[wat.tv] 13994339: Downloading MPD manifest
ERROR: [wat.tv] 13994339: This video is DRM protected

I am opening this issue to ask if there could be a workaround to implement for yt-dlp since this website change.

Thank you,

Provide verbose output that clearly demonstrates the problem

  • Run your yt-dlp command with -vU flag added (yt-dlp -vU <your command line>)
  • If using API, add 'verbose': True to YoutubeDL params instead
  • Copy the WHOLE output (starting with [debug] Command-line config) and insert it below

Complete Verbose Output

[debug] Command-line config: ['-vU', 'https://www.tf1.fr/lci/le-temps-de-linfo/videos/mort-de-silvio-berlusconi-une-vie-de-succes-daffaires-et-de-polemiques-52186276.html']
[debug] Encodings: locale UTF-8, fs utf-8, pref UTF-8, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version stable@2023.03.04 [392389b7d] (debian*)
[debug] Python 3.9.2 (CPython x86_64 64bit) - Linux-5.18.0-0.deb11.4-amd64-x86_64-with-glibc2.31 (OpenSSL 1.1.1n  15 Mar 2022, glibc 2.31)
[debug] exe versions: ffmpeg 5.0.1-1 (fdk,setts), ffprobe 5.0.1-1
[debug] Optional libraries: Cryptodome-3.9.7, brotli-1.0.9, certifi-2020.06.20, mutagen-1.45.1, sqlite3-2.6.0, websockets-8.1
[debug] Proxy map: {}
[debug] Loaded 1786 extractors
[debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp/releases/latest
Available version: stable@2023.03.04, Current version: stable@2023.03.04
yt-dlp is up to date (stable@2023.03.04)
[TF1] Extracting URL: https://www.tf1.fr/lci/le-temps-de-linfo/videos/mort-de-silvio-berlusconi-une-vie-de-succes-daffaires-et-de-polemiques-52186276.html
[TF1] mort-de-silvio-berlusconi-une-vie-de-succes-daffaires-et-de-polemiques-52186276: Downloading JSON metadata
[wat.tv] Extracting URL: wat:13994339
[wat.tv] 13994339: Downloading JSON metadata
[wat.tv] 13994339: Downloading MPD manifest
ERROR: [wat.tv] 13994339: This video is DRM protected
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/yt_dlp/YoutubeDL.py", line 1518, in wrapper
    return func(self, *args, **kwargs)
  File "/usr/lib/python3/dist-packages/yt_dlp/YoutubeDL.py", line 1615, in __extract_info
    return self.process_ie_result(ie_result, download, extra_info)
  File "/usr/lib/python3/dist-packages/yt_dlp/YoutubeDL.py", line 1727, in process_ie_result
    return self.process_ie_result(
  File "/usr/lib/python3/dist-packages/yt_dlp/YoutubeDL.py", line 1674, in process_ie_result
    ie_result = self.process_video_result(ie_result, download=download)
  File "/usr/lib/python3/dist-packages/yt_dlp/YoutubeDL.py", line 2615, in process_video_result
    self.raise_no_formats(info_dict)
  File "/usr/lib/python3/dist-packages/yt_dlp/YoutubeDL.py", line 1046, in raise_no_formats
    raise ExtractorError(msg, video_id=info['id'], ie=info['extractor'],
yt_dlp.utils.ExtractorError: [wat.tv] 13994339: This video is DRM protected
@Totorrr Totorrr added site-bug Issue with a specific website triage Untriaged issue labels Jun 12, 2023
@bashonly
Copy link
Member

See ytdl-org/youtube-dl#32299 (comment)

@bashonly bashonly added DRM The referred content is DRM protected and removed triage Untriaged issue labels Jun 12, 2023
@bashonly
Copy link
Member

per the upstream issue's findings, everything seems to now be DRM-protected besides short clips/previews. Closing as DRM/wontfix, if someone wants to fix the extractor for non-DRM content, that can be tracked in #7303

@bashonly bashonly closed this as not planned Won't fix, can't repro, duplicate, stale Jun 18, 2023
@bashonly bashonly added the wontfix This will not be worked on label Jun 18, 2023
@gamer191
Copy link
Collaborator

I feel like it's a bit early to say that the DRM-free streams aren't available, given I found a workaround very recently. I'm going to investigate @Vangelis66's message sometime soon, and see if my workaround is truly broken.

I'm not gonna reopen this issue though, because I think it's better to close this for now, and reopen if we manage to find a working workaround in the upstream issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
DRM The referred content is DRM protected site-bug Issue with a specific website wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

3 participants