mirror of
https://github.com/l1ving/youtube-dl
synced 2020-11-18 19:53:54 -08:00
Fixed formatting according to flake8
This commit is contained in:
parent
2d68da7781
commit
d76916f79e
@ -6,6 +6,7 @@ from ..utils import (
|
||||
determine_ext,
|
||||
)
|
||||
|
||||
|
||||
class RightNowMediaIE(InfoExtractor):
|
||||
IE_NAME = 'rightnowmedia'
|
||||
_VALID_URL = r'https?://(?:www\.)?rightnowmedia\.org/Content/(?P<id>[0-9]+)/(?:downloadAndEmbed)'
|
||||
@ -30,7 +31,6 @@ class RightNowMediaIE(InfoExtractor):
|
||||
# Get All The Formats
|
||||
formats = []
|
||||
for video_info in video_info_dicts['downloadLinks']:
|
||||
video_url = video_info.get('src')
|
||||
quality = 'high' if 'HD 1080p' in video_info["QualityName"] else 'low'
|
||||
formats.append({
|
||||
'url': video_info["Link"],
|
||||
@ -64,7 +64,7 @@ class RightNowMediaPlaylistIE(InfoExtractor):
|
||||
'id': '265320'
|
||||
},
|
||||
'playlist_count': 9,
|
||||
},{
|
||||
}, {
|
||||
'url': 'https://www.rightnowmedia.org/Content/KidsShow/298875',
|
||||
'info_dict': {
|
||||
'id': '298875'
|
||||
|
Loading…
x
Reference in New Issue
Block a user