mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2025-08-22 22:34:01 -07:00
Added test case for YoutubetabIE.
This commit is contained in:
parent
134e513864
commit
ce153b12e2
1 changed files with 13 additions and 1 deletions
|
@ -2208,6 +2208,7 @@ class YoutubeTabIE(YoutubeBaseInfoExtractor):
|
|||
IE_NAME = 'youtube:tab'
|
||||
|
||||
_TESTS = [ {
|
||||
# Shorts
|
||||
'url': 'https://www.youtube.com/@SuperCooperShorts/shorts',
|
||||
'playlist_mincount': 5,
|
||||
'info_dict': {
|
||||
|
@ -2216,6 +2217,17 @@ class YoutubeTabIE(YoutubeBaseInfoExtractor):
|
|||
'title': 'Super Cooper Shorts - Shorts',
|
||||
}
|
||||
|
||||
}, {
|
||||
# Channel that does not have a Shorts tab. Test should just download videos on Home tab instead
|
||||
'url': 'https://www.youtube.com/@emergencyawesome/shorts',
|
||||
'info_dict': {
|
||||
'description': 'md5:592c080c06fef4de3c902c4a8eecd850',
|
||||
'id': 'UCDiFRMQWpcp8_KD4vwIVicw',
|
||||
'title': 'Emergency Awesome - Home',
|
||||
},
|
||||
'playlist_mincount': 5,
|
||||
|
||||
|
||||
}, {
|
||||
# playlists, multipage
|
||||
'url': 'https://www.youtube.com/c/ИгорьКлейнер/playlists?view=1&flow=grid',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue