mirror of
				https://gitlab.com/ytdl-org/youtube-dl.git
				synced 2025-11-04 04:37:06 -05:00 
			
		
		
		
	[spankbang] Extend format id regex (Closes #8398)
This commit is contained in:
		@@ -34,7 +34,7 @@ class SpankBangIE(InfoExtractor):
 | 
				
			|||||||
            'ext': 'mp4',
 | 
					            'ext': 'mp4',
 | 
				
			||||||
            'format_id': '%sp' % height,
 | 
					            'format_id': '%sp' % height,
 | 
				
			||||||
            'height': int(height),
 | 
					            'height': int(height),
 | 
				
			||||||
        } for height in re.findall(r'<(?:span|li)[^>]+q_(\d+)p', webpage)]
 | 
					        } for height in re.findall(r'<(?:span|li|p)[^>]+[qb]_(\d+)p', webpage)]
 | 
				
			||||||
        self._sort_formats(formats)
 | 
					        self._sort_formats(formats)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        title = self._html_search_regex(
 | 
					        title = self._html_search_regex(
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user