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)
- ERROR: Postprocessing: Error opening input files: Result too large
- orf.on No video formats found!
- Youtube comment Extractor Failed HOT 1
- DownloadError: ERROR: [vimeo] 942547573: Unable to download JSON metadata: HTTP Error 400: Bad Request (caused by <HTTPError 400: Bad Request>) HOT 1
- Produce json output when a live content is upcoming or offline, communicating as such HOT 9
- [NoodleMagazine] Unable to extract player path
- TubiTV.com gives Unauthorized on all downloads HOT 5
- yt-dlp do not working with drm files from WOWPRESENTSPLUS HOT 1
- How do I remux video to a different format Using the Python yt-dlp invocation? HOT 1
- BBC News fails with "Unable to extract playlist data" error HOT 5
- yt-dlp --write-subs --sub-lang "live_chat" on a Live stream is always Top Chat
- Different response to --output, in two different situations HOT 5
- 3speak broken HOT 1
- PhantomJS is unmaintained HOT 1
- X/Twitter video URLs no longer work HOT 1
- Add options to prevent download if sponsorblock entry not found HOT 1
- 6play.fr No video formats found HOT 1
- FFMPEG Convertion failed HOT 2
- yt-dlp cannot download video using its id code: no such option: -0. How i can do it? 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.