mirror of
				https://github.com/ytdl-org/youtube-dl.git
				synced 2025-10-29 09:26:20 -07:00 
			
		
		
		
	[youtube:channel] Make extract_videos_from_page static
				
					
				
			This commit is contained in:
		| @@ -1369,7 +1369,8 @@ class YoutubeChannelIE(InfoExtractor): | |||||||
|         } |         } | ||||||
|     }] |     }] | ||||||
|  |  | ||||||
|     def extract_videos_from_page(self, page): |     @staticmethod | ||||||
|  |     def extract_videos_from_page(page): | ||||||
|         ids_in_page = [] |         ids_in_page = [] | ||||||
|         titles_in_page = [] |         titles_in_page = [] | ||||||
|         for mobj in re.finditer(r'(?:title="(?P<title>[^"]+)"[^>]+)?href="/watch\?v=(?P<id>[0-9A-Za-z_-]+)&?', page): |         for mobj in re.finditer(r'(?:title="(?P<title>[^"]+)"[^>]+)?href="/watch\?v=(?P<id>[0-9A-Za-z_-]+)&?', page): | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user