mirror of
				https://gitlab.com/ytdl-org/youtube-dl.git
				synced 2025-11-04 03:07:07 -05:00 
			
		
		
		
	[generic] Fix wrong entries index
This commit is contained in:
		@@ -702,7 +702,7 @@ class GenericIE(InfoExtractor):
 | 
				
			|||||||
            })
 | 
					            })
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        if len(entries) == 1:
 | 
					        if len(entries) == 1:
 | 
				
			||||||
            return entries[1]
 | 
					            return entries[0]
 | 
				
			||||||
        else:
 | 
					        else:
 | 
				
			||||||
            for num, e in enumerate(entries, start=1):
 | 
					            for num, e in enumerate(entries, start=1):
 | 
				
			||||||
                e['title'] = '%s (%d)' % (e['title'], num)
 | 
					                e['title'] = '%s (%d)' % (e['title'], num)
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user