mirror of
				https://gitlab.com/ytdl-org/youtube-dl.git
				synced 2025-11-04 00:57:07 -05:00 
			
		
		
		
	[youtube] apply the fix for lists with number of videos multiple of _MAX_RESULTS to user extraction
Copied from the playlist extractor.
This commit is contained in:
		@@ -1005,6 +1005,9 @@ class YoutubeUserIE(InfoExtractor):
 | 
			
		||||
                response = json.loads(page)
 | 
			
		||||
            except ValueError as err:
 | 
			
		||||
                raise ExtractorError(u'Invalid JSON in API response: ' + compat_str(err))
 | 
			
		||||
            if 'entry' not in response['feed']:
 | 
			
		||||
                # Number of videos is a multiple of self._MAX_RESULTS
 | 
			
		||||
                break
 | 
			
		||||
 | 
			
		||||
            # Extract video identifiers
 | 
			
		||||
            ids_in_page = []
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user