mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-21 20:46:36 -05:00
Fix flake8 errors
This commit is contained in:
parent
cd596028d6
commit
e41b1f7385
3 changed files with 23 additions and 22 deletions
|
@ -231,7 +231,7 @@ class F4mFD(FileDownloader):
|
||||||
"""
|
"""
|
||||||
|
|
||||||
def _get_unencrypted_media(self, doc):
|
def _get_unencrypted_media(self, doc):
|
||||||
media=doc.findall(_add_ns('media'))
|
media = doc.findall(_add_ns('media'))
|
||||||
if not media:
|
if not media:
|
||||||
self.report_error('No media found')
|
self.report_error('No media found')
|
||||||
for e in (doc.findall(_add_ns('drmAdditionalHeader')) +
|
for e in (doc.findall(_add_ns('drmAdditionalHeader')) +
|
||||||
|
|
|
@ -71,7 +71,8 @@ class ComedyCentralShowsIE(MTVServicesInfoExtractor):
|
||||||
'description': 'Carnegie Endowment Senior Associate Sarah Chayes discusses how corrupt institutions function throughout the world in her book "Thieves of State: Why Corruption Threatens Global Security."',
|
'description': 'Carnegie Endowment Senior Associate Sarah Chayes discusses how corrupt institutions function throughout the world in her book "Thieves of State: Why Corruption Threatens Global Security."',
|
||||||
'title': 'thedailyshow Sarah Chayes Extended Interview',
|
'title': 'thedailyshow Sarah Chayes Extended Interview',
|
||||||
},
|
},
|
||||||
'playlist': [{
|
'playlist': [
|
||||||
|
{
|
||||||
'info_dict': {
|
'info_dict': {
|
||||||
'id': '0baad492-cbec-4ec1-9e50-ad91c291127f',
|
'id': '0baad492-cbec-4ec1-9e50-ad91c291127f',
|
||||||
'ext': 'mp4',
|
'ext': 'mp4',
|
||||||
|
@ -79,8 +80,9 @@ class ComedyCentralShowsIE(MTVServicesInfoExtractor):
|
||||||
'description': 'Carnegie Endowment Senior Associate Sarah Chayes discusses how corrupt institutions function throughout the world in her book "Thieves of State: Why Corruption Threatens Global Security."',
|
'description': 'Carnegie Endowment Senior Associate Sarah Chayes discusses how corrupt institutions function throughout the world in her book "Thieves of State: Why Corruption Threatens Global Security."',
|
||||||
'uploader': 'thedailyshow',
|
'uploader': 'thedailyshow',
|
||||||
'title': 'thedailyshow sarah-chayes-extended-interview part 1',
|
'title': 'thedailyshow sarah-chayes-extended-interview part 1',
|
||||||
}
|
},
|
||||||
}, {
|
},
|
||||||
|
{
|
||||||
'info_dict': {
|
'info_dict': {
|
||||||
'id': '1e4fb91b-8ce7-4277-bd7c-98c9f1bbd283',
|
'id': '1e4fb91b-8ce7-4277-bd7c-98c9f1bbd283',
|
||||||
'ext': 'mp4',
|
'ext': 'mp4',
|
||||||
|
@ -88,8 +90,9 @@ class ComedyCentralShowsIE(MTVServicesInfoExtractor):
|
||||||
'description': 'Carnegie Endowment Senior Associate Sarah Chayes discusses how corrupt institutions function throughout the world in her book "Thieves of State: Why Corruption Threatens Global Security."',
|
'description': 'Carnegie Endowment Senior Associate Sarah Chayes discusses how corrupt institutions function throughout the world in her book "Thieves of State: Why Corruption Threatens Global Security."',
|
||||||
'uploader': 'thedailyshow',
|
'uploader': 'thedailyshow',
|
||||||
'title': 'thedailyshow sarah-chayes-extended-interview part 2',
|
'title': 'thedailyshow sarah-chayes-extended-interview part 2',
|
||||||
}
|
},
|
||||||
}],
|
},
|
||||||
|
],
|
||||||
'params': {
|
'params': {
|
||||||
'skip_download': True,
|
'skip_download': True,
|
||||||
},
|
},
|
||||||
|
|
|
@ -1,7 +1,5 @@
|
||||||
from __future__ import unicode_literals
|
from __future__ import unicode_literals
|
||||||
|
|
||||||
import re
|
|
||||||
|
|
||||||
from .mtv import MTVServicesInfoExtractor
|
from .mtv import MTVServicesInfoExtractor
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue