mirror of
				https://github.com/yt-dlp/yt-dlp.git
				synced 2025-10-31 06:35:12 +00:00 
			
		
		
		
	[extractor] Add convinience function _yes_playlist
				
					
				
			This commit is contained in:
		| @@ -207,12 +207,10 @@ class DailymotionIE(DailymotionBaseInfoExtractor): | ||||
|         video_id, playlist_id = self._match_valid_url(url).groups() | ||||
|  | ||||
|         if playlist_id: | ||||
|             if not self.get_param('noplaylist'): | ||||
|                 self.to_screen('Downloading playlist %s - add --no-playlist to just download video' % playlist_id) | ||||
|             if self._yes_playlist(playlist_id, video_id): | ||||
|                 return self.url_result( | ||||
|                     'http://www.dailymotion.com/playlist/' + playlist_id, | ||||
|                     'DailymotionPlaylist', playlist_id) | ||||
|             self.to_screen('Downloading just video %s because of --no-playlist' % video_id) | ||||
|  | ||||
|         password = self.get_param('videopassword') | ||||
|         media = self._call_api( | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 pukkandan
					pukkandan