fixes by flake8
This commit is contained in:
parent
cb4f53ec57
commit
a169965a2a
@ -94,7 +94,7 @@ class OdnoklassnikiIE(InfoExtractor):
|
|||||||
'skip_download': True,
|
'skip_download': True,
|
||||||
},
|
},
|
||||||
'skip': 'Video has not been found',
|
'skip': 'Video has not been found',
|
||||||
},{
|
}, {
|
||||||
# live video
|
# live video
|
||||||
'url': 'https://www.ok.ru/video/1050794925929',
|
'url': 'https://www.ok.ru/video/1050794925929',
|
||||||
'info_dict': {
|
'info_dict': {
|
||||||
@ -147,7 +147,7 @@ class OdnoklassnikiIE(InfoExtractor):
|
|||||||
|
|
||||||
error = self._search_regex(
|
error = self._search_regex(
|
||||||
r'<div class="vp_video_stub_txt">(?P<error>.*?)<\/div>',
|
r'<div class="vp_video_stub_txt">(?P<error>.*?)<\/div>',
|
||||||
webpage, name='error',group='error', default=None)
|
webpage, name='error', group='error', default=None)
|
||||||
if error:
|
if error:
|
||||||
raise ExtractorError(error, expected=True)
|
raise ExtractorError(error, expected=True)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user