]> jfr.im git - yt-dlp.git/commitdiff
[test/download] Fallback test to `bv`
authorpukkandan <redacted>
Sat, 6 Nov 2021 01:54:49 +0000 (07:24 +0530)
committerpukkandan <redacted>
Sat, 6 Nov 2021 02:23:53 +0000 (07:53 +0530)
34 files changed:
test/parameters.json
yt_dlp/extractor/atresplayer.py
yt_dlp/extractor/bandaichannel.py
yt_dlp/extractor/corus.py
yt_dlp/extractor/curiositystream.py
yt_dlp/extractor/discoverynetworks.py
yt_dlp/extractor/discoveryplusindia.py
yt_dlp/extractor/dplay.py
yt_dlp/extractor/egghead.py
yt_dlp/extractor/fancode.py
yt_dlp/extractor/generic.py
yt_dlp/extractor/internazionale.py
yt_dlp/extractor/kinopoisk.py
yt_dlp/extractor/n1.py
yt_dlp/extractor/nexx.py
yt_dlp/extractor/nrl.py
yt_dlp/extractor/olympics.py
yt_dlp/extractor/paramountplus.py
yt_dlp/extractor/parliamentliveuk.py
yt_dlp/extractor/peloton.py
yt_dlp/extractor/pornflip.py
yt_dlp/extractor/rcti.py
yt_dlp/extractor/reddit.py
yt_dlp/extractor/rmcdecouverte.py
yt_dlp/extractor/sevenplus.py
yt_dlp/extractor/slideslive.py
yt_dlp/extractor/svt.py
yt_dlp/extractor/telequebec.py
yt_dlp/extractor/tf1.py
yt_dlp/extractor/tvplay.py
yt_dlp/extractor/vice.py
yt_dlp/extractor/viki.py
yt_dlp/extractor/wakanim.py
yt_dlp/extractor/watchbox.py

index 8544f1ab29cf6a9b0368544fe0458adfd6744b2b..bc456137412d263118d99a1f6e3d60bcdff07a71 100644 (file)
@@ -9,7 +9,7 @@
     "forcetitle": false,
     "forceurl": false,
     "force_write_download_archive": false,
-    "format": "best",
+    "format": "b/bv",
     "ignoreerrors": false,
     "listformats": null,
     "logtostderr": false,
index 8143eb4d755bc22eacbdf097e57e8440f0d72942..6d843966aafb6527c3dbd2ec332969d34dd6a6e3 100644 (file)
@@ -24,9 +24,6 @@ class AtresPlayerIE(InfoExtractor):
                 'description': 'md5:7634cdcb4d50d5381bedf93efb537fbc',
                 'duration': 3413,
             },
-            'params': {
-                'format': 'bestvideo',
-            },
             'skip': 'This video is only available for registered users'
         },
         {
index d67285913261a0fc13604fa316b4ca6c07d98926..f1bcdef7a3e5f03deb1ddc87e46c3cf1c49d810b 100644 (file)
@@ -21,7 +21,6 @@ class BandaiChannelIE(BrightcoveNewIE):
             'duration': 1387.733,
         },
         'params': {
-            'format': 'bestvideo',
             'skip_download': True,
         },
     }]
index 352951e2010fa16929ab549520fba2fe96f727c8..119461375ea16e54dddf85ad77a53c3a0ba43c19 100644 (file)
@@ -55,7 +55,6 @@ class CorusIE(ThePlatformFeedIE):
             'timestamp': 1486392197,
         },
         'params': {
-            'format': 'bestvideo',
             'skip_download': True,
         },
         'expected_warnings': ['Failed to parse JSON'],
index 034a5c92ad50a432f04588828337fde53726ae9a..41c0f845a75f33ec52b7e09a0c4ae1751069104f 100644 (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.',
         },
         'params': {
-            'format': 'bestvideo',
             # m3u8 download
             'skip_download': True,
         },
index f43c871602a8e42efe8d6598a9b5118818cf5eaf..4f8bdf0b908f14b159e02060a36872de34d42292 100644 (file)
@@ -19,7 +19,6 @@ class DiscoveryNetworksDeIE(DPlayIE):
             'upload_date': '20190331',
         },
         'params': {
-            'format': 'bestvideo',
             'skip_download': True,
         },
     }, {
index 51801402c3dd49f7042ae0adc6b5f1ba3dfac712..8ec418a978d5d3474453772b965cbb76d5a1e5f5 100644 (file)
@@ -28,7 +28,6 @@ class DiscoveryPlusIndiaIE(DPlayIE):
             'creator': 'Discovery Channel',
         },
         'params': {
-            'format': 'bestvideo',
             'skip_download': True,
         },
         'skip': 'Cookies (not necessarily logged in) are needed'
index d624808108dd51b786453c25760aa9da2fab1997..525c8e243b5c09f4278ba5dccc757d09b359c5a0 100644 (file)
@@ -46,7 +46,6 @@ class DPlayIE(InfoExtractor):
             'episode_number': 1,
         },
         'params': {
-            'format': 'bestvideo',
             'skip_download': True,
         },
     }, {
@@ -67,7 +66,6 @@ class DPlayIE(InfoExtractor):
             'episode_number': 1,
         },
         'params': {
-            'format': 'bestvideo',
             'skip_download': True,
         },
     }, {
@@ -87,7 +85,6 @@ class DPlayIE(InfoExtractor):
             'episode_number': 7,
         },
         'params': {
-            'format': 'bestvideo',
             'skip_download': True,
         },
         'skip': 'Available for Premium users',
@@ -313,9 +310,6 @@ class HGTVDeIE(DPlayIE):
             'season_number': 3,
             'episode_number': 3,
         },
-        'params': {
-            'format': 'bestvideo',
-        },
     }]
 
     def _real_extract(self, url):
index f6b50e7c2f0d223622110e65523062331be41138..b6b86768c230f8e9b91230e18b0a109dff3e3de5 100644 (file)
@@ -86,7 +86,6 @@ class EggheadLessonIE(EggheadBaseIE):
         },
         'params': {
             'skip_download': True,
-            'format': 'bestvideo',
         },
     }, {
         'url': 'https://egghead.io/api/v1/lessons/react-add-redux-to-a-react-application',
index 912feb7023e34e6cadd536509484b1262cec89b4..f6733b1245f64d049eadc7d2203d63d44d4ec6bb 100644 (file)
@@ -21,7 +21,6 @@ class FancodeVodIE(InfoExtractor):
         'url': 'https://fancode.com/video/15043/match-preview-pbks-vs-mi',
         'params': {
             'skip_download': True,
-            'format': 'bestvideo'
         },
         'info_dict': {
             'id': '6249806281001',
index 0d279016b2bfbbb9e4e1a918a77245f3f606cfd7..26f9497f1e0fae88a64fc8f06aa4156b43fce5b6 100644 (file)
@@ -359,9 +359,6 @@ class GenericIE(InfoExtractor):
                 'formats': 'mincount:9',
                 'upload_date': '20130904',
             },
-            'params': {
-                'format': 'bestvideo',
-            },
         },
         # m3u8 served with Content-Type: audio/x-mpegURL; charset=utf-8
         {
index 676e8e269ce5ac3cf402e5e306b0ba2b1c61e28c..45e2af69057784c32051cc1d4c67a2127a664594 100644 (file)
@@ -20,9 +20,6 @@ class InternazionaleIE(InfoExtractor):
             'upload_date': '20150219',
             'thumbnail': r're:^https?://.*\.jpg$',
         },
-        'params': {
-            'format': 'bestvideo',
-        },
     }, {
         'url': 'https://www.internazionale.it/video/2018/08/29/telefono-stare-con-noi-stessi',
         'md5': '9db8663704cab73eb972d1cee0082c79',
@@ -36,9 +33,6 @@ class InternazionaleIE(InfoExtractor):
             'upload_date': '20180829',
             'thumbnail': r're:^https?://.*\.jpg$',
         },
-        'params': {
-            'format': 'bestvideo',
-        },
     }]
 
     def _real_extract(self, url):
index 9e8d01f535d9cf1bd3b27bac9fbc04f0d96097d7..cdbb642e238835d43a57d4fd66e510d5c07ee689 100644 (file)
@@ -23,9 +23,6 @@ class KinoPoiskIE(InfoExtractor):
             'duration': 4533,
             'age_limit': 12,
         },
-        'params': {
-            'format': 'bestvideo',
-        },
     }, {
         'url': 'https://www.kinopoisk.ru/film/81041',
         'only_matching': True,
index 75d63c8930090b872e828f8faa6076ad5d2cd6e8..fdb7f32dbeedb010f11be00359fd0ae76bd6a32d 100644 (file)
@@ -88,7 +88,6 @@ class N1InfoIIE(InfoExtractor):
             'uploader': 'YouLotWhatDontStop',
         },
         'params': {
-            'format': 'bestvideo',
             'skip_download': True,
         },
     }, {
index 860d636e2314672aaff20e673f571df6ca211033..a30108483ae303a20f7eedc09386534057bcee27 100644 (file)
@@ -427,7 +427,6 @@ class NexxEmbedIE(InfoExtractor):
             'upload_date': '20140305',
         },
         'params': {
-            'format': 'bestvideo',
             'skip_download': True,
         },
     }, {
index 22a2df8d3fe4e3038879997a72c3df850308db6b..0bd5086ae2f61a2f6ddd4858825aeaa48275d0a7 100644 (file)
@@ -16,7 +16,6 @@ class NRLTVIE(InfoExtractor):
         'params': {
             # m3u8 download
             'skip_download': True,
-            'format': 'bestvideo',
         },
     }
 
index bca1f192805cc30b4eb748f6a4649e21cc873415..0aad836faf52d6f901f46280be792d372dfaeca0 100644 (file)
@@ -21,7 +21,6 @@ class OlympicsReplayIE(InfoExtractor):
             'description': 'md5:c66af4a5bc7429dbcc43d15845ff03b3',
         },
         'params': {
-            'format': 'bestvideo',
             'skip_download': True,
         },
     }, {
index 338b84d5b8c9cb8732d4512ddf1457b37d2fb429..17138985ae1d61716a4019528760c8658b659c64 100644 (file)
@@ -60,7 +60,6 @@ class ParamountPlusIE(CBSBaseIE):
         },
         'params': {
             'skip_download': 'm3u8',
-            'format': 'bestvideo',
         },
         'expected_warnings': ['Ignoring subtitle tracks'],  # TODO: Investigate this
     }, {
@@ -76,7 +75,6 @@ class ParamountPlusIE(CBSBaseIE):
         },
         'params': {
             'skip_download': 'm3u8',
-            'format': 'bestvideo',
         },
         'expected_warnings': ['Ignoring subtitle tracks'],
     }, {
index 869ebd8655beea6fa3c4541a2b24504746ac72b4..974d65482ffdf11bea383e73b0da9a7a86f880e6 100644 (file)
@@ -25,9 +25,6 @@ class ParliamentLiveUKIE(InfoExtractor):
             'timestamp': 1395153872,
             'upload_date': '20140318',
         },
-        'params': {
-            'format': 'bestvideo',
-        },
     }, {
         'url': 'http://parliamentlive.tv/event/index/3f24936f-130f-40bf-9a5d-b3d6479da6a4',
         'only_matching': True,
index 287d341c988036406052d05b1196558047bd1d91..7d832253fe5e8557a606c6d15da17ef227df8201 100644 (file)
@@ -203,7 +203,6 @@ class PelotonLiveIE(InfoExtractor):
             'chapters': 'count:3'
         },
         'params': {
-            'format': 'bestvideo',
             'skip_download': 'm3u8',
         },
         '_skip': 'Account needed'
index d0aefa2dd5233f2cfb9b01c13239a9c1eb3d7738..accf45269b2e3d7d6ddc9ba91ea65f6a341f75fc 100644 (file)
@@ -29,7 +29,6 @@ class PornFlipIE(InfoExtractor):
                 'age_limit': 18,
             },
             'params': {
-                'format': 'bestvideo',
                 'skip_download': True,
             },
         },
index 31d9779dd4a9a8e8f49b4a43ee917c758588cf1a..19b2f451c3637d2988473b4b40ecd6a1c58da159 100644 (file)
@@ -85,9 +85,6 @@ class RCTIPlusIE(RCTIPlusBaseIE):
             'series': 'iNews Malam',
             'channel': 'INews',
         },
-        'params': {
-            'format': 'bestvideo',
-        },
     }, {  # Missed event/replay
         'url': 'https://www.rctiplus.com/missed-event/2507/mou-signing-ceremony-27-juli-2021-1400-wib',
         'md5': '649c5f27250faed1452ca8b91e06922d',
@@ -132,7 +129,6 @@ class RCTIPlusIE(RCTIPlusBaseIE):
         },
         'params': {
             'skip_download': True,
-            'format': 'bestvideo',
         },
     }]
     _CONVIVA_JSON_TEMPLATE = {
@@ -329,7 +325,6 @@ class RCTIPlusTVIE(RCTIPlusBaseIE):
         },
         'params': {
             'skip_download': True,
-            'format': 'bestvideo',
         }
     }, {
         # Returned video will always change
index c75d95a8e8f1da966f155759001793e026cffdf3..3ea750aeb1cff8f70566344131d75319602c06e0 100644 (file)
@@ -22,9 +22,6 @@ class RedditIE(InfoExtractor):
             'ext': 'mp4',
             'title': 'zv89llsvexdz',
         },
-        'params': {
-            'format': 'bestvideo',
-        },
     }
 
     def _real_extract(self, url):
@@ -67,7 +64,6 @@ class RedditRIE(InfoExtractor):
             'age_limit': 0,
         },
         'params': {
-            'format': 'bestvideo',
             'skip_download': True,
         },
     }, {
index 422d47ae9f7f57b133679865ad00fb4f38902eca..8bfce34169071c0033868a048fcf47668a5e3099 100644 (file)
@@ -26,7 +26,6 @@ class RMCDecouverteIE(InfoExtractor):
             'upload_date': '20210428',
         },
         'params': {
-            'format': 'bestvideo',
             'skip_download': True,
         },
     }, {
index 210c44ab203fd3c31e370814fd3611da8ef4d99a..9867961f07c1097a71d3ab2f460db09407720178 100644 (file)
@@ -35,7 +35,6 @@ class SevenPlusIE(BrightcoveNewIE):
             'episode': 'Wind Surf',
         },
         'params': {
-            'format': 'bestvideo',
             'skip_download': True,
         }
     }, {
index 9409a010090029bc9df30a667cdaa63e08e1b835..df6084647326180064ad7c37f6951cf73702cb74 100644 (file)
@@ -35,9 +35,6 @@ class SlidesLiveIE(InfoExtractor):
             'ext': 'mp4',
             'title': 'Offline Reinforcement Learning: From Algorithms to Practical Challenges',
         },
-        'params': {
-            'format': 'bestvideo',
-        },
     }, {
         # video_service_name = youtube
         'url': 'https://slideslive.com/38903721/magic-a-scientific-resurrection-of-an-esoteric-legend',
index 38e0086b327ec7a69b2c779a34e3f2df47043065..489f197fe1dad48b1a8b7775d4ae11f1e43dffc0 100644 (file)
@@ -168,7 +168,6 @@ class SVTPlayIE(SVTPlayBaseIE):
             },
         },
         'params': {
-            'format': 'bestvideo',
             # skip for now due to download test asserts that segment is > 10000 bytes and svt uses
             # init segments that are smaller
             # AssertionError: Expected test_SVTPlay_jNwpV9P.mp4 to be at least 9.77KiB, but it's only 864.00B
index 800d87b70dfd6bbbc7790248ceac836ffefa576e..4bef2fe764c1acf238b4e3cc7393066f1d1f0df8 100644 (file)
@@ -43,9 +43,6 @@ class TeleQuebecIE(TeleQuebecBaseIE):
             'uploader_id': '6150020952001',
             'upload_date': '20200512',
         },
-        'params': {
-            'format': 'bestvideo',
-        },
         'add_ie': ['BrightcoveNew'],
     }, {
         'url': 'https://zonevideo.telequebec.tv/media/55267/le-soleil/passe-partout',
@@ -58,9 +55,6 @@ class TeleQuebecIE(TeleQuebecBaseIE):
             'upload_date': '20200625',
             'timestamp': 1593090307,
         },
-        'params': {
-            'format': 'bestvideo',
-        },
         'add_ie': ['BrightcoveNew'],
     }, {
         # no description
@@ -157,9 +151,6 @@ class TeleQuebecEmissionIE(InfoExtractor):
             'timestamp': 1588713424,
             'uploader_id': '6150020952001',
         },
-        'params': {
-            'format': 'bestvideo',
-        },
     }, {
         'url': 'http://bancpublic.telequebec.tv/emissions/emission-49/31986/jeunes-meres-sous-pression',
         'only_matching': True,
@@ -220,9 +211,6 @@ class TeleQuebecVideoIE(TeleQuebecBaseIE):
             'timestamp': 1603115930,
             'uploader_id': '6101674910001',
         },
-        'params': {
-            'format': 'bestvideo',
-        },
     }, {
         'url': 'https://video.telequebec.tv/player-live/28527',
         'only_matching': True,
index 669eb50151fd17c38ebea3554ff0f9e31e80725c..44785bc657fc6b8fa2dea522732c7308c0804608 100644 (file)
@@ -29,7 +29,6 @@ class TF1IE(InfoExtractor):
         'params': {
             # Sometimes wat serves the whole file with the --test option
             'skip_download': True,
-            'format': 'bestvideo',
         },
     }, {
         'url': 'http://www.tf1.fr/tf1/koh-lanta/videos/replay-koh-lanta-22-mai-2015.html',
index fbafb41f870ba05cede187734f1335440e8b1215..9771d9108e5d272edf0c9a5b480cfdb1d0838a8b 100644 (file)
@@ -369,7 +369,6 @@ class ViafreeIE(InfoExtractor):
             'upload_date': '20201217'
         },
         'params': {
-            'format': 'bestvideo',
             'skip_download': True
         }
     }, {
index ca4d3edbd2455746061db0792a7ac89706965f73..c8c30559e7fe2de4143e5aa1555ed64e45ec22d2 100644 (file)
@@ -290,7 +290,6 @@ class ViceArticleIE(ViceBaseIE):
         },
         'params': {
             'skip_download': True,
-            'format': 'bestvideo',
         },
         'add_ie': [ViceIE.ie_key()],
     }, {
index acb5ae550c8bd088bcb7a608d0710f56dcc1ec1a..6a3c5532da17f0edd68d75a44080910f29efa278 100644 (file)
@@ -135,9 +135,6 @@ class VikiIE(VikiBaseIE):
             'uploader': 'FCC',
             'upload_date': '20201127',
         },
-        'params': {
-            'format': 'bestvideo',
-        },
     }, {
         'url': 'http://www.viki.com/videos/1023585v-heirs-episode-14',
         'info_dict': {
@@ -151,9 +148,6 @@ class VikiIE(VikiBaseIE):
             'duration': 3570,
             'episode_number': 14,
         },
-        'params': {
-            'format': 'bestvideo',
-        },
         'skip': 'Blocked in the US',
     }, {
         # clip
@@ -203,9 +197,6 @@ class VikiIE(VikiBaseIE):
             'age_limit': 13,
             'episode_number': 1,
         },
-        'params': {
-            'format': 'bestvideo',
-        },
     }, {
         # youtube external
         'url': 'http://www.viki.com/videos/50562v-poor-nastya-complete-episode-1',
@@ -241,9 +232,6 @@ class VikiIE(VikiBaseIE):
             'title': 'Love In Magic',
             'age_limit': 13,
         },
-        'params': {
-            'format': 'bestvideo',
-        },
     }]
 
     def _real_extract(self, url):
index a61a630e26fbd60a723aa4b432b00a4a6ec7bbdf..a70a71961a4c3e3b35024ab10f791aa00c30d82d 100644 (file)
@@ -25,7 +25,6 @@ class WakanimIE(InfoExtractor):
             'episode_number': 2,
         },
         'params': {
-            'format': 'bestvideo',
             'skip_download': True,
         },
     }, {
index 7469fe9624c97412fe7d8612d2de7db7a1401039..d19d80102ccb80417d083a3073bdebae856e6a99 100644 (file)
@@ -30,7 +30,6 @@ class WatchBoxIE(InfoExtractor):
             'release_year': 2009,
         },
         'params': {
-            'format': 'bestvideo',
             'skip_download': True,
         },
         'expected_warnings': ['Failed to download m3u8 information'],
@@ -52,7 +51,6 @@ class WatchBoxIE(InfoExtractor):
             'episode_number': 1,
         },
         'params': {
-            'format': 'bestvideo',
             'skip_download': True,
         },
         'expected_warnings': ['Failed to download m3u8 information'],