mirror of
https://github.com/l1ving/youtube-dl
synced 2020-11-18 19:53:54 -08:00
flake8 required changes for formatting
This commit is contained in:
parent
b88b179307
commit
c20dcae1b4
@ -119,10 +119,29 @@ class ImgurUnmutedIE(InfoExtractor):
|
||||
},
|
||||
'playlist_count': 3,
|
||||
'playlist': [
|
||||
{ 'info_dict': { 'id': '3inf5ZW-6lAn9VQ', 'ext': 'mp4', 'title': 're:Penguins !-3inf5ZW', 'description': 'Imgur: The magic of the Internet',} },
|
||||
{ 'info_dict': { 'id': 'ejQsvLp-6lAn9VQ', 'ext': 'mp4', 'title': 're:Penguins !-ejQsvLp', 'description': 'Imgur: The magic of the Internet',} },
|
||||
{ 'info_dict': { 'id': '3WRggtZ-6lAn9VQ', 'ext': 'mp4', 'title': 're:Penguins !-3WRggtZ', 'description': 'Imgur: The magic of the Internet',} },
|
||||
],
|
||||
{
|
||||
'info_dict': {
|
||||
'id': '3inf5ZW-6lAn9VQ',
|
||||
'ext': 'mp4',
|
||||
'title': 're:Penguins !-3inf5ZW',
|
||||
'description': 'Imgur: The magic of the Internet',
|
||||
}
|
||||
}, {
|
||||
'info_dict': {
|
||||
'id': 'ejQsvLp-6lAn9VQ',
|
||||
'ext': 'mp4',
|
||||
'title': 're:Penguins !-ejQsvLp',
|
||||
'description': 'Imgur: The magic of the Internet',
|
||||
}
|
||||
}, {
|
||||
'info_dict': {
|
||||
'id': '3WRggtZ-6lAn9VQ',
|
||||
'ext': 'mp4',
|
||||
'title': 're:Penguins !-3WRggtZ',
|
||||
'description': 'Imgur: The magic of the Internet',
|
||||
}
|
||||
},
|
||||
]
|
||||
}, {
|
||||
'url': 'https://imgur.com/t/unmuted/kx2uD3C',
|
||||
'info_dict': {
|
||||
@ -167,7 +186,7 @@ class ImgurUnmutedIE(InfoExtractor):
|
||||
height = image.get('height')
|
||||
|
||||
formats.append({
|
||||
'format_id':filetype,
|
||||
'format_id': filetype,
|
||||
'url': url,
|
||||
'ext': filetype,
|
||||
'width': width,
|
||||
@ -194,6 +213,7 @@ class ImgurUnmutedIE(InfoExtractor):
|
||||
|
||||
return self.playlist_result(entries, video_id)
|
||||
|
||||
|
||||
class ImgurAlbumIE(InfoExtractor):
|
||||
_VALID_URL = r'https?://(?:i\.)?imgur\.com/(?:(?:a|gallery|topic/[^/]+)/)?(?P<id>[a-zA-Z0-9]{5})(?:[/?#&]+)?$'
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user