Comments (2)
The only thing we can do is detect it earlier and raise before the download stage
diff --git a/yt_dlp/extractor/cwtv.py b/yt_dlp/extractor/cwtv.py
index 69d50daf6..ad0fa76a1 100644
--- a/yt_dlp/extractor/cwtv.py
+++ b/yt_dlp/extractor/cwtv.py
@@ -74,6 +74,8 @@ def _real_extract(self, url):
if data.get('result') != 'ok':
raise ExtractorError(data['msg'], expected=True)
video_data = data['video']
+ if video_data.get('mpx_drm') == 1:
+ self.report_drm(video_id)
title = video_data['title']
mpx_url = video_data.get('mpx_url') or 'http://link.theplatform.com/s/cwtv/media/guid/2703454149/%s?formats=M3U' % video_id
from yt-dlp.
that's a shame, thanks for the research!
from yt-dlp.
Related Issues (20)
- _merge_mpd_periods merges fragments from formats in the same period if the formats are functionally identical HOT 1
- Support for https://omny.fm
- ABC-owned TV stations livestream support HOT 1
- Converted Subtitles Not Moved From Temp Folder HOT 1
- Starting a youtube video (playback) with mpv takes above 5 seconds HOT 3
- [youtube] Format 22 is only sometimes extracted for some videos HOT 6
- [crunchyroll] This video is DRM protected HOT 3
- Format extraction often misses some available formats HOT 1
- GDPlayer TV HOT 1
- Download all videos of Tele5.de All Videos Series page
- nsfw HOT 3
- Pond5 403 error HOT 2
- [tiktok] Found a new way to get information about TikTok videos HOT 4
- BitChute .description is truncated with three dots ... HOT 1
- Request extract_info for ios,return 404 error HOT 3
- Downloads from boosty no more works HOT 5
- ERROR: [Ixigua] 6996881461559165471: Failed to get SSR_HYDRATED_DATA; HOT 1
- Metadata extraction failed HOT 1
- WARNING: [vimeo:user] unable to extract list title HOT 8
- how to download m3u8 by yt-dlp with AES encryption key + IV HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from yt-dlp.