pep8 reformatting
This commit is contained in:
parent
c3b02b405b
commit
43f86e12c0
@ -21,19 +21,24 @@ class ComingSoonITIE(InfoExtractor):
|
|||||||
def _real_extract(self, url):
|
def _real_extract(self, url):
|
||||||
video_id = self._match_id(url)
|
video_id = self._match_id(url)
|
||||||
webpage = self._download_webpage(url, video_id)
|
webpage = self._download_webpage(url, video_id)
|
||||||
|
|
||||||
title = self._og_search_title(webpage)
|
title = self._og_search_title(webpage)
|
||||||
description = self._og_search_description(webpage)
|
description = self._og_search_description(webpage)
|
||||||
|
|
||||||
return {
|
return {
|
||||||
'id': video_id,
|
'id': video_id,
|
||||||
'title': title,
|
'title': title,
|
||||||
'description': description,
|
'description': description,
|
||||||
|
|
||||||
'formats': [{
|
'formats': [
|
||||||
|
{
|
||||||
'url': 'http://video.comingsoon.it/MP4/' + video_id + '.mp4',
|
'url': 'http://video.comingsoon.it/MP4/' + video_id + '.mp4',
|
||||||
'format': 'Standard Definition'
|
'format': 'Standard Definition'
|
||||||
},{
|
},
|
||||||
|
{
|
||||||
'url': 'http://video.comingsoon.it/MP4/' + video_id + '.mp4',
|
'url': 'http://video.comingsoon.it/MP4/' + video_id + '.mp4',
|
||||||
'format': 'High Definition'}],
|
'format': 'High Definition'
|
||||||
|
}
|
||||||
|
],
|
||||||
'ext': 'mp4'
|
'ext': 'mp4'
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user