[test/download] Fallback test to `bv`

This commit is contained in:
pukkandan 2021-11-06 07:24:49 +05:30
parent 2c5e8a961e
commit a331949df3
No known key found for this signature in database
GPG Key ID: 0F00D95A001F4698
34 changed files with 1 additions and 85 deletions

View File

@ -9,7 +9,7 @@
"forcetitle": false, "forcetitle": false,
"forceurl": false, "forceurl": false,
"force_write_download_archive": false, "force_write_download_archive": false,
"format": "best", "format": "b/bv",
"ignoreerrors": false, "ignoreerrors": false,
"listformats": null, "listformats": null,
"logtostderr": false, "logtostderr": false,

View File

@ -24,9 +24,6 @@ class AtresPlayerIE(InfoExtractor):
'description': 'md5:7634cdcb4d50d5381bedf93efb537fbc', 'description': 'md5:7634cdcb4d50d5381bedf93efb537fbc',
'duration': 3413, 'duration': 3413,
}, },
'params': {
'format': 'bestvideo',
},
'skip': 'This video is only available for registered users' 'skip': 'This video is only available for registered users'
}, },
{ {

View File

@ -21,7 +21,6 @@ class BandaiChannelIE(BrightcoveNewIE):
'duration': 1387.733, 'duration': 1387.733,
}, },
'params': { 'params': {
'format': 'bestvideo',
'skip_download': True, 'skip_download': True,
}, },
}] }]

View File

@ -55,7 +55,6 @@ class CorusIE(ThePlatformFeedIE):
'timestamp': 1486392197, 'timestamp': 1486392197,
}, },
'params': { 'params': {
'format': 'bestvideo',
'skip_download': True, 'skip_download': True,
}, },
'expected_warnings': ['Failed to parse JSON'], 'expected_warnings': ['Failed to parse JSON'],

View File

@ -59,7 +59,6 @@ class CuriosityStreamIE(CuriosityStreamBaseIE):
'description': 'Vint Cerf, Google\'s Chief Internet Evangelist, describes how he and Bob Kahn created the internet.', 'description': 'Vint Cerf, Google\'s Chief Internet Evangelist, describes how he and Bob Kahn created the internet.',
}, },
'params': { 'params': {
'format': 'bestvideo',
# m3u8 download # m3u8 download
'skip_download': True, 'skip_download': True,
}, },

View File

@ -19,7 +19,6 @@ class DiscoveryNetworksDeIE(DPlayIE):
'upload_date': '20190331', 'upload_date': '20190331',
}, },
'params': { 'params': {
'format': 'bestvideo',
'skip_download': True, 'skip_download': True,
}, },
}, { }, {

View File

@ -28,7 +28,6 @@ class DiscoveryPlusIndiaIE(DPlayIE):
'creator': 'Discovery Channel', 'creator': 'Discovery Channel',
}, },
'params': { 'params': {
'format': 'bestvideo',
'skip_download': True, 'skip_download': True,
}, },
'skip': 'Cookies (not necessarily logged in) are needed' 'skip': 'Cookies (not necessarily logged in) are needed'

View File

@ -46,7 +46,6 @@ class DPlayIE(InfoExtractor):
'episode_number': 1, 'episode_number': 1,
}, },
'params': { 'params': {
'format': 'bestvideo',
'skip_download': True, 'skip_download': True,
}, },
}, { }, {
@ -67,7 +66,6 @@ class DPlayIE(InfoExtractor):
'episode_number': 1, 'episode_number': 1,
}, },
'params': { 'params': {
'format': 'bestvideo',
'skip_download': True, 'skip_download': True,
}, },
}, { }, {
@ -87,7 +85,6 @@ class DPlayIE(InfoExtractor):
'episode_number': 7, 'episode_number': 7,
}, },
'params': { 'params': {
'format': 'bestvideo',
'skip_download': True, 'skip_download': True,
}, },
'skip': 'Available for Premium users', 'skip': 'Available for Premium users',
@ -313,9 +310,6 @@ class HGTVDeIE(DPlayIE):
'season_number': 3, 'season_number': 3,
'episode_number': 3, 'episode_number': 3,
}, },
'params': {
'format': 'bestvideo',
},
}] }]
def _real_extract(self, url): def _real_extract(self, url):

View File

@ -86,7 +86,6 @@ class EggheadLessonIE(EggheadBaseIE):
}, },
'params': { 'params': {
'skip_download': True, 'skip_download': True,
'format': 'bestvideo',
}, },
}, { }, {
'url': 'https://egghead.io/api/v1/lessons/react-add-redux-to-a-react-application', 'url': 'https://egghead.io/api/v1/lessons/react-add-redux-to-a-react-application',

View File

@ -21,7 +21,6 @@ class FancodeVodIE(InfoExtractor):
'url': 'https://fancode.com/video/15043/match-preview-pbks-vs-mi', 'url': 'https://fancode.com/video/15043/match-preview-pbks-vs-mi',
'params': { 'params': {
'skip_download': True, 'skip_download': True,
'format': 'bestvideo'
}, },
'info_dict': { 'info_dict': {
'id': '6249806281001', 'id': '6249806281001',

View File

@ -359,9 +359,6 @@ class GenericIE(InfoExtractor):
'formats': 'mincount:9', 'formats': 'mincount:9',
'upload_date': '20130904', 'upload_date': '20130904',
}, },
'params': {
'format': 'bestvideo',
},
}, },
# m3u8 served with Content-Type: audio/x-mpegURL; charset=utf-8 # m3u8 served with Content-Type: audio/x-mpegURL; charset=utf-8
{ {

View File

@ -20,9 +20,6 @@ class InternazionaleIE(InfoExtractor):
'upload_date': '20150219', 'upload_date': '20150219',
'thumbnail': r're:^https?://.*\.jpg$', 'thumbnail': r're:^https?://.*\.jpg$',
}, },
'params': {
'format': 'bestvideo',
},
}, { }, {
'url': 'https://www.internazionale.it/video/2018/08/29/telefono-stare-con-noi-stessi', 'url': 'https://www.internazionale.it/video/2018/08/29/telefono-stare-con-noi-stessi',
'md5': '9db8663704cab73eb972d1cee0082c79', 'md5': '9db8663704cab73eb972d1cee0082c79',
@ -36,9 +33,6 @@ class InternazionaleIE(InfoExtractor):
'upload_date': '20180829', 'upload_date': '20180829',
'thumbnail': r're:^https?://.*\.jpg$', 'thumbnail': r're:^https?://.*\.jpg$',
}, },
'params': {
'format': 'bestvideo',
},
}] }]
def _real_extract(self, url): def _real_extract(self, url):

View File

@ -23,9 +23,6 @@ class KinoPoiskIE(InfoExtractor):
'duration': 4533, 'duration': 4533,
'age_limit': 12, 'age_limit': 12,
}, },
'params': {
'format': 'bestvideo',
},
}, { }, {
'url': 'https://www.kinopoisk.ru/film/81041', 'url': 'https://www.kinopoisk.ru/film/81041',
'only_matching': True, 'only_matching': True,

View File

@ -88,7 +88,6 @@ class N1InfoIIE(InfoExtractor):
'uploader': 'YouLotWhatDontStop', 'uploader': 'YouLotWhatDontStop',
}, },
'params': { 'params': {
'format': 'bestvideo',
'skip_download': True, 'skip_download': True,
}, },
}, { }, {

View File

@ -427,7 +427,6 @@ class NexxEmbedIE(InfoExtractor):
'upload_date': '20140305', 'upload_date': '20140305',
}, },
'params': { 'params': {
'format': 'bestvideo',
'skip_download': True, 'skip_download': True,
}, },
}, { }, {

View File

@ -16,7 +16,6 @@ class NRLTVIE(InfoExtractor):
'params': { 'params': {
# m3u8 download # m3u8 download
'skip_download': True, 'skip_download': True,
'format': 'bestvideo',
}, },
} }

View File

@ -21,7 +21,6 @@ class OlympicsReplayIE(InfoExtractor):
'description': 'md5:c66af4a5bc7429dbcc43d15845ff03b3', 'description': 'md5:c66af4a5bc7429dbcc43d15845ff03b3',
}, },
'params': { 'params': {
'format': 'bestvideo',
'skip_download': True, 'skip_download': True,
}, },
}, { }, {

View File

@ -60,7 +60,6 @@ class ParamountPlusIE(CBSBaseIE):
}, },
'params': { 'params': {
'skip_download': 'm3u8', 'skip_download': 'm3u8',
'format': 'bestvideo',
}, },
'expected_warnings': ['Ignoring subtitle tracks'], # TODO: Investigate this 'expected_warnings': ['Ignoring subtitle tracks'], # TODO: Investigate this
}, { }, {
@ -76,7 +75,6 @@ class ParamountPlusIE(CBSBaseIE):
}, },
'params': { 'params': {
'skip_download': 'm3u8', 'skip_download': 'm3u8',
'format': 'bestvideo',
}, },
'expected_warnings': ['Ignoring subtitle tracks'], 'expected_warnings': ['Ignoring subtitle tracks'],
}, { }, {

View File

@ -25,9 +25,6 @@ class ParliamentLiveUKIE(InfoExtractor):
'timestamp': 1395153872, 'timestamp': 1395153872,
'upload_date': '20140318', 'upload_date': '20140318',
}, },
'params': {
'format': 'bestvideo',
},
}, { }, {
'url': 'http://parliamentlive.tv/event/index/3f24936f-130f-40bf-9a5d-b3d6479da6a4', 'url': 'http://parliamentlive.tv/event/index/3f24936f-130f-40bf-9a5d-b3d6479da6a4',
'only_matching': True, 'only_matching': True,

View File

@ -203,7 +203,6 @@ class PelotonLiveIE(InfoExtractor):
'chapters': 'count:3' 'chapters': 'count:3'
}, },
'params': { 'params': {
'format': 'bestvideo',
'skip_download': 'm3u8', 'skip_download': 'm3u8',
}, },
'_skip': 'Account needed' '_skip': 'Account needed'

View File

@ -29,7 +29,6 @@ class PornFlipIE(InfoExtractor):
'age_limit': 18, 'age_limit': 18,
}, },
'params': { 'params': {
'format': 'bestvideo',
'skip_download': True, 'skip_download': True,
}, },
}, },

View File

@ -85,9 +85,6 @@ class RCTIPlusIE(RCTIPlusBaseIE):
'series': 'iNews Malam', 'series': 'iNews Malam',
'channel': 'INews', 'channel': 'INews',
}, },
'params': {
'format': 'bestvideo',
},
}, { # Missed event/replay }, { # Missed event/replay
'url': 'https://www.rctiplus.com/missed-event/2507/mou-signing-ceremony-27-juli-2021-1400-wib', 'url': 'https://www.rctiplus.com/missed-event/2507/mou-signing-ceremony-27-juli-2021-1400-wib',
'md5': '649c5f27250faed1452ca8b91e06922d', 'md5': '649c5f27250faed1452ca8b91e06922d',
@ -132,7 +129,6 @@ class RCTIPlusIE(RCTIPlusBaseIE):
}, },
'params': { 'params': {
'skip_download': True, 'skip_download': True,
'format': 'bestvideo',
}, },
}] }]
_CONVIVA_JSON_TEMPLATE = { _CONVIVA_JSON_TEMPLATE = {
@ -329,7 +325,6 @@ class RCTIPlusTVIE(RCTIPlusBaseIE):
}, },
'params': { 'params': {
'skip_download': True, 'skip_download': True,
'format': 'bestvideo',
} }
}, { }, {
# Returned video will always change # Returned video will always change

View File

@ -22,9 +22,6 @@ class RedditIE(InfoExtractor):
'ext': 'mp4', 'ext': 'mp4',
'title': 'zv89llsvexdz', 'title': 'zv89llsvexdz',
}, },
'params': {
'format': 'bestvideo',
},
} }
def _real_extract(self, url): def _real_extract(self, url):
@ -67,7 +64,6 @@ class RedditRIE(InfoExtractor):
'age_limit': 0, 'age_limit': 0,
}, },
'params': { 'params': {
'format': 'bestvideo',
'skip_download': True, 'skip_download': True,
}, },
}, { }, {

View File

@ -26,7 +26,6 @@ class RMCDecouverteIE(InfoExtractor):
'upload_date': '20210428', 'upload_date': '20210428',
}, },
'params': { 'params': {
'format': 'bestvideo',
'skip_download': True, 'skip_download': True,
}, },
}, { }, {

View File

@ -35,7 +35,6 @@ class SevenPlusIE(BrightcoveNewIE):
'episode': 'Wind Surf', 'episode': 'Wind Surf',
}, },
'params': { 'params': {
'format': 'bestvideo',
'skip_download': True, 'skip_download': True,
} }
}, { }, {

View File

@ -35,9 +35,6 @@ class SlidesLiveIE(InfoExtractor):
'ext': 'mp4', 'ext': 'mp4',
'title': 'Offline Reinforcement Learning: From Algorithms to Practical Challenges', 'title': 'Offline Reinforcement Learning: From Algorithms to Practical Challenges',
}, },
'params': {
'format': 'bestvideo',
},
}, { }, {
# video_service_name = youtube # video_service_name = youtube
'url': 'https://slideslive.com/38903721/magic-a-scientific-resurrection-of-an-esoteric-legend', 'url': 'https://slideslive.com/38903721/magic-a-scientific-resurrection-of-an-esoteric-legend',

View File

@ -168,7 +168,6 @@ class SVTPlayIE(SVTPlayBaseIE):
}, },
}, },
'params': { 'params': {
'format': 'bestvideo',
# skip for now due to download test asserts that segment is > 10000 bytes and svt uses # skip for now due to download test asserts that segment is > 10000 bytes and svt uses
# init segments that are smaller # init segments that are smaller
# AssertionError: Expected test_SVTPlay_jNwpV9P.mp4 to be at least 9.77KiB, but it's only 864.00B # AssertionError: Expected test_SVTPlay_jNwpV9P.mp4 to be at least 9.77KiB, but it's only 864.00B

View File

@ -43,9 +43,6 @@ class TeleQuebecIE(TeleQuebecBaseIE):
'uploader_id': '6150020952001', 'uploader_id': '6150020952001',
'upload_date': '20200512', 'upload_date': '20200512',
}, },
'params': {
'format': 'bestvideo',
},
'add_ie': ['BrightcoveNew'], 'add_ie': ['BrightcoveNew'],
}, { }, {
'url': 'https://zonevideo.telequebec.tv/media/55267/le-soleil/passe-partout', 'url': 'https://zonevideo.telequebec.tv/media/55267/le-soleil/passe-partout',
@ -58,9 +55,6 @@ class TeleQuebecIE(TeleQuebecBaseIE):
'upload_date': '20200625', 'upload_date': '20200625',
'timestamp': 1593090307, 'timestamp': 1593090307,
}, },
'params': {
'format': 'bestvideo',
},
'add_ie': ['BrightcoveNew'], 'add_ie': ['BrightcoveNew'],
}, { }, {
# no description # no description
@ -157,9 +151,6 @@ class TeleQuebecEmissionIE(InfoExtractor):
'timestamp': 1588713424, 'timestamp': 1588713424,
'uploader_id': '6150020952001', 'uploader_id': '6150020952001',
}, },
'params': {
'format': 'bestvideo',
},
}, { }, {
'url': 'http://bancpublic.telequebec.tv/emissions/emission-49/31986/jeunes-meres-sous-pression', 'url': 'http://bancpublic.telequebec.tv/emissions/emission-49/31986/jeunes-meres-sous-pression',
'only_matching': True, 'only_matching': True,
@ -220,9 +211,6 @@ class TeleQuebecVideoIE(TeleQuebecBaseIE):
'timestamp': 1603115930, 'timestamp': 1603115930,
'uploader_id': '6101674910001', 'uploader_id': '6101674910001',
}, },
'params': {
'format': 'bestvideo',
},
}, { }, {
'url': 'https://video.telequebec.tv/player-live/28527', 'url': 'https://video.telequebec.tv/player-live/28527',
'only_matching': True, 'only_matching': True,

View File

@ -29,7 +29,6 @@ class TF1IE(InfoExtractor):
'params': { 'params': {
# Sometimes wat serves the whole file with the --test option # Sometimes wat serves the whole file with the --test option
'skip_download': True, 'skip_download': True,
'format': 'bestvideo',
}, },
}, { }, {
'url': 'http://www.tf1.fr/tf1/koh-lanta/videos/replay-koh-lanta-22-mai-2015.html', 'url': 'http://www.tf1.fr/tf1/koh-lanta/videos/replay-koh-lanta-22-mai-2015.html',

View File

@ -369,7 +369,6 @@ class ViafreeIE(InfoExtractor):
'upload_date': '20201217' 'upload_date': '20201217'
}, },
'params': { 'params': {
'format': 'bestvideo',
'skip_download': True 'skip_download': True
} }
}, { }, {

View File

@ -290,7 +290,6 @@ class ViceArticleIE(ViceBaseIE):
}, },
'params': { 'params': {
'skip_download': True, 'skip_download': True,
'format': 'bestvideo',
}, },
'add_ie': [ViceIE.ie_key()], 'add_ie': [ViceIE.ie_key()],
}, { }, {

View File

@ -135,9 +135,6 @@ class VikiIE(VikiBaseIE):
'uploader': 'FCC', 'uploader': 'FCC',
'upload_date': '20201127', 'upload_date': '20201127',
}, },
'params': {
'format': 'bestvideo',
},
}, { }, {
'url': 'http://www.viki.com/videos/1023585v-heirs-episode-14', 'url': 'http://www.viki.com/videos/1023585v-heirs-episode-14',
'info_dict': { 'info_dict': {
@ -151,9 +148,6 @@ class VikiIE(VikiBaseIE):
'duration': 3570, 'duration': 3570,
'episode_number': 14, 'episode_number': 14,
}, },
'params': {
'format': 'bestvideo',
},
'skip': 'Blocked in the US', 'skip': 'Blocked in the US',
}, { }, {
# clip # clip
@ -203,9 +197,6 @@ class VikiIE(VikiBaseIE):
'age_limit': 13, 'age_limit': 13,
'episode_number': 1, 'episode_number': 1,
}, },
'params': {
'format': 'bestvideo',
},
}, { }, {
# youtube external # youtube external
'url': 'http://www.viki.com/videos/50562v-poor-nastya-complete-episode-1', 'url': 'http://www.viki.com/videos/50562v-poor-nastya-complete-episode-1',
@ -241,9 +232,6 @@ class VikiIE(VikiBaseIE):
'title': 'Love In Magic', 'title': 'Love In Magic',
'age_limit': 13, 'age_limit': 13,
}, },
'params': {
'format': 'bestvideo',
},
}] }]
def _real_extract(self, url): def _real_extract(self, url):

View File

@ -25,7 +25,6 @@ class WakanimIE(InfoExtractor):
'episode_number': 2, 'episode_number': 2,
}, },
'params': { 'params': {
'format': 'bestvideo',
'skip_download': True, 'skip_download': True,
}, },
}, { }, {

View File

@ -30,7 +30,6 @@ class WatchBoxIE(InfoExtractor):
'release_year': 2009, 'release_year': 2009,
}, },
'params': { 'params': {
'format': 'bestvideo',
'skip_download': True, 'skip_download': True,
}, },
'expected_warnings': ['Failed to download m3u8 information'], 'expected_warnings': ['Failed to download m3u8 information'],
@ -52,7 +51,6 @@ class WatchBoxIE(InfoExtractor):
'episode_number': 1, 'episode_number': 1,
}, },
'params': { 'params': {
'format': 'bestvideo',
'skip_download': True, 'skip_download': True,
}, },
'expected_warnings': ['Failed to download m3u8 information'], 'expected_warnings': ['Failed to download m3u8 information'],