1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2025-11-11 12:05:14 +00:00
Files
yt-dlp/youtube_dlc/extractor/brightcove.py
Dan Walker 87ab4fb11a Added DRM logic
In the event when there are no available sources due to DRM controlled sources, return a DRM error and don't proceed with trying.

#28 reports that an ExtractorError "No video formats found". Which is true, because the formats list is empty, however it's empty because they are all locked. This provides a more informative message to the end-user.

# TESTING
Tried the URL provided in #28 and confirmed a DRM messages is returned.
2020-10-27 06:33:47 -07:00

30 KiB