Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Checklist
Description
Currently when downloading metadata of a DRM protected video with options like '--write-thumbnail', '--write-info-json' and '--write-description', youtube-dl will show the error 'ERROR: This video is DRM protected' and exit. Even when using the option '--skip-download'.
However, in some situations it would be useful to be able to download video metadata even though the video is protected by DRM.
Here's an example of the current situation:
Relevant options
Using the following options with a DRM protected video will produce the same output as the example above:
Solution
There are two cases when downloading metadata from a DRM protected video:
not using the option '--skip-download'
In this case the error about not being able to download the video due to DRM could be downgraded to a warning, with youtube-dl proceeding to download metadata. However, it may be a good idea to keep the current situation to make it very clear that the video cannot be downloaded.
using the option '--skip-download'
In this case the error about not being able to download the video due to DRM should not stop the metadata from being downloaded. The error may be downgraded to a warning or not shown at all.