diff options
author | Philipp Hagemeister <phihag@phihag.de> | 2015-01-30 16:06:55 +0100 |
---|---|---|
committer | Philipp Hagemeister <phihag@phihag.de> | 2015-01-30 16:06:55 +0100 |
commit | d543bdc351c073621e2f8647fad0f9c8da1cf5b6 (patch) | |
tree | 817cc17fa67dd39f368d98a5a938083bd6dcd2f5 /youtube_dl | |
parent | c7ff0c6422f2cae88e80bc286b3df391042fcb09 (diff) |
[downloader/f4m] Clarify that we should eventually just implement the DRM scheme (#3000)
Diffstat (limited to 'youtube_dl')
-rw-r--r-- | youtube_dl/downloader/f4m.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/youtube_dl/downloader/f4m.py b/youtube_dl/downloader/f4m.py index 29de7630d..13055a67e 100644 --- a/youtube_dl/downloader/f4m.py +++ b/youtube_dl/downloader/f4m.py @@ -238,13 +238,13 @@ class F4mFD(FileDownloader): doc.findall(_add_ns('drmAdditionalHeaderSet'))): # If id attribute is missing it's valid for all media nodes # without drmAdditionalHeaderId or drmAdditionalHeaderSetId attribute - if not 'id' in e.attrib: - self.report_error('Media is DRM protected') + if 'id' not in e.attrib: + self.report_error('Missing ID in f4m DRM') media = list(filter(lambda e: 'drmAdditionalHeaderId' not in e.attrib and 'drmAdditionalHeaderSetId' not in e.attrib, media)) if not media: - self.report_error('Media is DRM protected') + self.report_error('Unsupported DRM') return media def real_download(self, filename, info_dict): |