diff options
author | Dan Walker <dwalker@tripwire.com> | 2020-10-27 06:33:47 -0700 |
---|---|---|
committer | Dan Walker <dwalker@tripwire.com> | 2020-10-27 06:33:47 -0700 |
commit | 87ab4fb11a70c61e46cd7ee642f830b475b89c93 (patch) | |
tree | 24c9cb21cba90dfb989907b66205db42e79d453c /devscripts/show-downloads-statistics.py | |
parent | 6410992da9cb472391f03f7a5a8c69ebeb52a1c8 (diff) | |
download | hypervideo-pre-87ab4fb11a70c61e46cd7ee642f830b475b89c93.tar.lz hypervideo-pre-87ab4fb11a70c61e46cd7ee642f830b475b89c93.tar.xz hypervideo-pre-87ab4fb11a70c61e46cd7ee642f830b475b89c93.zip |
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.
Diffstat (limited to 'devscripts/show-downloads-statistics.py')
0 files changed, 0 insertions, 0 deletions