Skip to content

Commit

Permalink
[test/download] Fallback test to bv
Browse files Browse the repository at this point in the history
  • Loading branch information
pukkandan committed Nov 6, 2021
1 parent 2c5e8a9 commit a331949
Show file tree
Hide file tree
Showing 34 changed files with 1 addition and 85 deletions.
2 changes: 1 addition & 1 deletion test/parameters.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"forcetitle": false,
"forceurl": false,
"force_write_download_archive": false,
"format": "best",
"format": "b/bv",
"ignoreerrors": false,
"listformats": null,
"logtostderr": false,
Expand Down
3 changes: 0 additions & 3 deletions yt_dlp/extractor/atresplayer.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,6 @@ class AtresPlayerIE(InfoExtractor):
'description': 'md5:7634cdcb4d50d5381bedf93efb537fbc',
'duration': 3413,
},
'params': {
'format': 'bestvideo',
},
'skip': 'This video is only available for registered users'
},
{
Expand Down
1 change: 0 additions & 1 deletion yt_dlp/extractor/bandaichannel.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ class BandaiChannelIE(BrightcoveNewIE):
'duration': 1387.733,
},
'params': {
'format': 'bestvideo',
'skip_download': True,
},
}]
Expand Down
1 change: 0 additions & 1 deletion yt_dlp/extractor/corus.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@ class CorusIE(ThePlatformFeedIE):
'timestamp': 1486392197,
},
'params': {
'format': 'bestvideo',
'skip_download': True,
},
'expected_warnings': ['Failed to parse JSON'],
Expand Down
1 change: 0 additions & 1 deletion yt_dlp/extractor/curiositystream.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
},
Expand Down
1 change: 0 additions & 1 deletion yt_dlp/extractor/discoverynetworks.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ class DiscoveryNetworksDeIE(DPlayIE):
'upload_date': '20190331',
},
'params': {
'format': 'bestvideo',
'skip_download': True,
},
}, {
Expand Down
1 change: 0 additions & 1 deletion yt_dlp/extractor/discoveryplusindia.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ class DiscoveryPlusIndiaIE(DPlayIE):
'creator': 'Discovery Channel',
},
'params': {
'format': 'bestvideo',
'skip_download': True,
},
'skip': 'Cookies (not necessarily logged in) are needed'
Expand Down
6 changes: 0 additions & 6 deletions yt_dlp/extractor/dplay.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ class DPlayIE(InfoExtractor):
'episode_number': 1,
},
'params': {
'format': 'bestvideo',
'skip_download': True,
},
}, {
Expand All @@ -67,7 +66,6 @@ class DPlayIE(InfoExtractor):
'episode_number': 1,
},
'params': {
'format': 'bestvideo',
'skip_download': True,
},
}, {
Expand All @@ -87,7 +85,6 @@ class DPlayIE(InfoExtractor):
'episode_number': 7,
},
'params': {
'format': 'bestvideo',
'skip_download': True,
},
'skip': 'Available for Premium users',
Expand Down Expand Up @@ -313,9 +310,6 @@ class HGTVDeIE(DPlayIE):
'season_number': 3,
'episode_number': 3,
},
'params': {
'format': 'bestvideo',
},
}]

def _real_extract(self, url):
Expand Down
1 change: 0 additions & 1 deletion yt_dlp/extractor/egghead.py
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
1 change: 0 additions & 1 deletion yt_dlp/extractor/fancode.py
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
3 changes: 0 additions & 3 deletions yt_dlp/extractor/generic.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
Expand Down
6 changes: 0 additions & 6 deletions yt_dlp/extractor/internazionale.py
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand All @@ -36,9 +33,6 @@ class InternazionaleIE(InfoExtractor):
'upload_date': '20180829',
'thumbnail': r're:^https?://.*\.jpg$',
},
'params': {
'format': 'bestvideo',
},
}]

def _real_extract(self, url):
Expand Down
3 changes: 0 additions & 3 deletions yt_dlp/extractor/kinopoisk.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
1 change: 0 additions & 1 deletion yt_dlp/extractor/n1.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,6 @@ class N1InfoIIE(InfoExtractor):
'uploader': 'YouLotWhatDontStop',
},
'params': {
'format': 'bestvideo',
'skip_download': True,
},
}, {
Expand Down
1 change: 0 additions & 1 deletion yt_dlp/extractor/nexx.py
Original file line number Diff line number Diff line change
Expand Up @@ -427,7 +427,6 @@ class NexxEmbedIE(InfoExtractor):
'upload_date': '20140305',
},
'params': {
'format': 'bestvideo',
'skip_download': True,
},
}, {
Expand Down
1 change: 0 additions & 1 deletion yt_dlp/extractor/nrl.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ class NRLTVIE(InfoExtractor):
'params': {
# m3u8 download
'skip_download': True,
'format': 'bestvideo',
},
}

Expand Down
1 change: 0 additions & 1 deletion yt_dlp/extractor/olympics.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ class OlympicsReplayIE(InfoExtractor):
'description': 'md5:c66af4a5bc7429dbcc43d15845ff03b3',
},
'params': {
'format': 'bestvideo',
'skip_download': True,
},
}, {
Expand Down
2 changes: 0 additions & 2 deletions yt_dlp/extractor/paramountplus.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@ class ParamountPlusIE(CBSBaseIE):
},
'params': {
'skip_download': 'm3u8',
'format': 'bestvideo',
},
'expected_warnings': ['Ignoring subtitle tracks'], # TODO: Investigate this
}, {
Expand All @@ -76,7 +75,6 @@ class ParamountPlusIE(CBSBaseIE):
},
'params': {
'skip_download': 'm3u8',
'format': 'bestvideo',
},
'expected_warnings': ['Ignoring subtitle tracks'],
}, {
Expand Down
3 changes: 0 additions & 3 deletions yt_dlp/extractor/parliamentliveuk.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
1 change: 0 additions & 1 deletion yt_dlp/extractor/peloton.py
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,6 @@ class PelotonLiveIE(InfoExtractor):
'chapters': 'count:3'
},
'params': {
'format': 'bestvideo',
'skip_download': 'm3u8',
},
'_skip': 'Account needed'
Expand Down
1 change: 0 additions & 1 deletion yt_dlp/extractor/pornflip.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ class PornFlipIE(InfoExtractor):
'age_limit': 18,
},
'params': {
'format': 'bestvideo',
'skip_download': True,
},
},
Expand Down
5 changes: 0 additions & 5 deletions yt_dlp/extractor/rcti.py
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down Expand Up @@ -132,7 +129,6 @@ class RCTIPlusIE(RCTIPlusBaseIE):
},
'params': {
'skip_download': True,
'format': 'bestvideo',
},
}]
_CONVIVA_JSON_TEMPLATE = {
Expand Down Expand Up @@ -329,7 +325,6 @@ class RCTIPlusTVIE(RCTIPlusBaseIE):
},
'params': {
'skip_download': True,
'format': 'bestvideo',
}
}, {
# Returned video will always change
Expand Down
4 changes: 0 additions & 4 deletions yt_dlp/extractor/reddit.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,6 @@ class RedditIE(InfoExtractor):
'ext': 'mp4',
'title': 'zv89llsvexdz',
},
'params': {
'format': 'bestvideo',
},
}

def _real_extract(self, url):
Expand Down Expand Up @@ -67,7 +64,6 @@ class RedditRIE(InfoExtractor):
'age_limit': 0,
},
'params': {
'format': 'bestvideo',
'skip_download': True,
},
}, {
Expand Down
1 change: 0 additions & 1 deletion yt_dlp/extractor/rmcdecouverte.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ class RMCDecouverteIE(InfoExtractor):
'upload_date': '20210428',
},
'params': {
'format': 'bestvideo',
'skip_download': True,
},
}, {
Expand Down
1 change: 0 additions & 1 deletion yt_dlp/extractor/sevenplus.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ class SevenPlusIE(BrightcoveNewIE):
'episode': 'Wind Surf',
},
'params': {
'format': 'bestvideo',
'skip_download': True,
}
}, {
Expand Down
3 changes: 0 additions & 3 deletions yt_dlp/extractor/slideslive.py
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
1 change: 0 additions & 1 deletion yt_dlp/extractor/svt.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
12 changes: 0 additions & 12 deletions yt_dlp/extractor/telequebec.py
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand All @@ -58,9 +55,6 @@ class TeleQuebecIE(TeleQuebecBaseIE):
'upload_date': '20200625',
'timestamp': 1593090307,
},
'params': {
'format': 'bestvideo',
},
'add_ie': ['BrightcoveNew'],
}, {
# no description
Expand Down Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand Down
1 change: 0 additions & 1 deletion yt_dlp/extractor/tf1.py
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
1 change: 0 additions & 1 deletion yt_dlp/extractor/tvplay.py
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,6 @@ class ViafreeIE(InfoExtractor):
'upload_date': '20201217'
},
'params': {
'format': 'bestvideo',
'skip_download': True
}
}, {
Expand Down
1 change: 0 additions & 1 deletion yt_dlp/extractor/vice.py
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,6 @@ class ViceArticleIE(ViceBaseIE):
},
'params': {
'skip_download': True,
'format': 'bestvideo',
},
'add_ie': [ViceIE.ie_key()],
}, {
Expand Down
Loading

0 comments on commit a331949

Please sign in to comment.