mirror of
				https://github.com/yt-dlp/yt-dlp.git
				synced 2025-11-04 08:35:12 +00:00 
			
		
		
		
	[youtube] Add test for multi page list of playlists
This commit is contained in:
		@@ -1764,14 +1764,22 @@ class YoutubeUserPlaylistsIE(YoutubePlaylistsBaseInfoExtractor):
 | 
			
		||||
    _VALID_URL = r'https?://(?:\w+\.)?youtube\.com/user/(?P<id>[^/]+)/playlists'
 | 
			
		||||
    IE_NAME = 'youtube:user:playlists'
 | 
			
		||||
 | 
			
		||||
    _TEST = {
 | 
			
		||||
    _TESTS = [{
 | 
			
		||||
        'url': 'http://www.youtube.com/user/ThirstForScience/playlists',
 | 
			
		||||
        'playlist_mincount': 4,
 | 
			
		||||
        'info_dict': {
 | 
			
		||||
            'id': 'ThirstForScience',
 | 
			
		||||
            'title': 'Thirst for Science',
 | 
			
		||||
        },
 | 
			
		||||
    }
 | 
			
		||||
    }, {
 | 
			
		||||
        # with "Load more" button
 | 
			
		||||
        'url': 'http://www.youtube.com/user/igorkle1/playlists?view=1&sort=dd',
 | 
			
		||||
        'playlist_mincount': 70,
 | 
			
		||||
        'info_dict': {
 | 
			
		||||
            'id': 'igorkle1',
 | 
			
		||||
            'title': 'Игорь Клейнер',
 | 
			
		||||
        },
 | 
			
		||||
    }]
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
class YoutubeSearchIE(SearchInfoExtractor, YoutubePlaylistIE):
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user