mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2025-08-22 22:34:01 -07:00
Removed trailing parentheses to better fit style guide.
This commit is contained in:
parent
88aeb04b26
commit
57c6251e35
1 changed files with 5 additions and 9 deletions
|
@ -7,11 +7,10 @@ from ..utils import (
|
||||||
ExtractorError,
|
ExtractorError,
|
||||||
url_or_none,
|
url_or_none,
|
||||||
parse_duration,
|
parse_duration,
|
||||||
unsmuggle_url,
|
unsmuggle_url)
|
||||||
)
|
|
||||||
from ..compat import (
|
from ..compat import (
|
||||||
compat_parse_qs,
|
compat_parse_qs)
|
||||||
)
|
|
||||||
|
|
||||||
|
|
||||||
class SenateISVPIE(InfoExtractor):
|
class SenateISVPIE(InfoExtractor):
|
||||||
|
@ -126,9 +125,7 @@ class SenateISVPIE(InfoExtractor):
|
||||||
video_id = re.sub(r'\.mp4$', '', filename)
|
video_id = re.sub(r'\.mp4$', '', filename)
|
||||||
|
|
||||||
# there is no point in pulling the title from the webpage since it always defaults to 'Integrated Senate Player'
|
# there is no point in pulling the title from the webpage since it always defaults to 'Integrated Senate Player'
|
||||||
title = filename
|
title = smuggled_data.get('force_title') or filename
|
||||||
if smuggled_data:
|
|
||||||
title = smuggled_data['force_title']
|
|
||||||
stream_number, stream_domain, stream_id, msl3 = self._get_info_for_comm(committee)
|
stream_number, stream_domain, stream_id, msl3 = self._get_info_for_comm(committee)
|
||||||
|
|
||||||
# the possible locations that the video could be contained at.
|
# the possible locations that the video could be contained at.
|
||||||
|
@ -148,8 +145,7 @@ class SenateISVPIE(InfoExtractor):
|
||||||
ext='mp4',
|
ext='mp4',
|
||||||
m3u8_id='hls',
|
m3u8_id='hls',
|
||||||
entry_protocol='m3u8_native',
|
entry_protocol='m3u8_native',
|
||||||
fatal=False,
|
fatal=False)
|
||||||
)
|
|
||||||
|
|
||||||
for entry in entries:
|
for entry in entries:
|
||||||
mobj = re.search(r'(?P<tag>-[pb]).m3u8', entry['url'])
|
mobj = re.search(r'(?P<tag>-[pb]).m3u8', entry['url'])
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue