Fixed spaces and styling to pass flake8.

This commit is contained in:
Shiyang Zhu 2022-12-10 15:50:41 -05:00
commit 88aeb04b26

View file

@ -13,6 +13,7 @@ from ..compat import (
compat_parse_qs, compat_parse_qs,
) )
class SenateISVPIE(InfoExtractor): class SenateISVPIE(InfoExtractor):
# committee --> [stream_number, stream_domain, stream_id, msl3] # committee --> [stream_number, stream_domain, stream_id, msl3]
_COMM_MAP = { _COMM_MAP = {
@ -64,7 +65,6 @@ class SenateISVPIE(InfoExtractor):
'expected_warnings': ['Failed to download m3u8 information: HTTP Error 404: Not Found'], 'expected_warnings': ['Failed to download m3u8 information: HTTP Error 404: Not Found'],
}, { }, {
'url': 'http://www.senate.gov/isvp/?type=arch&comm=intel&filename=intel090613&hc_location=ufi', 'url': 'http://www.senate.gov/isvp/?type=arch&comm=intel&filename=intel090613&hc_location=ufi',
# checksum differs each time
'info_dict': { 'info_dict': {
'id': 'intel090613', 'id': 'intel090613',
'ext': 'mp4', 'ext': 'mp4',
@ -73,7 +73,6 @@ class SenateISVPIE(InfoExtractor):
'expected_warnings': ['Failed to download m3u8 information: HTTP Error 404: Not Found'], 'expected_warnings': ['Failed to download m3u8 information: HTTP Error 404: Not Found'],
}, { }, {
'url': 'https://www.senate.gov/isvp/?comm=govtaff&type=archv&stt=975&filename=govtaff111722&auto_play=false&poster=https%3A%2F%2Fwww%2Ehsgac%2Esenate%2Egov%2Fimages%2Fvideo%2Dposter%2Dflash%2Dfit%2Epng', 'url': 'https://www.senate.gov/isvp/?comm=govtaff&type=archv&stt=975&filename=govtaff111722&auto_play=false&poster=https%3A%2F%2Fwww%2Ehsgac%2Esenate%2Egov%2Fimages%2Fvideo%2Dposter%2Dflash%2Dfit%2Epng',
# checksum differs each time
'info_dict': { 'info_dict': {
'id': 'govtaff111722', 'id': 'govtaff111722',
'ext': 'mp4', 'ext': 'mp4',
@ -81,7 +80,8 @@ class SenateISVPIE(InfoExtractor):
'thumbnail': 'https://www.hsgac.senate.gov/images/video-poster-flash-fit.png', 'thumbnail': 'https://www.hsgac.senate.gov/images/video-poster-flash-fit.png',
}, },
}, { }, {
'url': 'https://www.senate.gov/isvp/?type=arch&comm=energy&filename=energy111722&stt=00:22:30&auto_play=false&wmode=transparent&poster=https%3A%2F%2Fwww%2Eenergy%2Esenate%2Egov%2Fthemes%2Fenergy%2Fimages%2Fvideo%2Dposter%2Dflash%2Dfit%2Epng', 'info_dict': { 'url': 'https://www.senate.gov/isvp/?type=arch&comm=energy&filename=energy111722&stt=00:22:30&auto_play=false&wmode=transparent&poster=https%3A%2F%2Fwww%2Eenergy%2Esenate%2Egov%2Fthemes%2Fenergy%2Fimages%2Fvideo%2Dposter%2Dflash%2Dfit%2Epng',
'info_dict': {
'id': 'energy111722', 'id': 'energy111722',
'ext': 'mp4', 'ext': 'mp4',
'title': 'energy111722', 'title': 'energy111722',