mirror of
				https://github.com/yt-dlp/yt-dlp.git
				synced 2025-10-31 06:35:12 +00:00 
			
		
		
		
	[extractors] Use new framework for existing embeds (#4307)
`Brightcove` is difficult to migrate because it's subclasses may depend on the signature of the current functions. So it is left as-is for now Note: Tests have not been migrated
This commit is contained in:
		| @@ -23,6 +23,8 @@ from ..utils import ( | ||||
| class LivestreamIE(InfoExtractor): | ||||
|     IE_NAME = 'livestream' | ||||
|     _VALID_URL = r'https?://(?:new\.)?livestream\.com/(?:accounts/(?P<account_id>\d+)|(?P<account_name>[^/]+))/(?:events/(?P<event_id>\d+)|(?P<event_name>[^/]+))(?:/videos/(?P<id>\d+))?' | ||||
|     _EMBED_REGEX = [r'<iframe[^>]+src="(?P<url>https?://(?:new\.)?livestream\.com/[^"]+/player[^"]+)"'] | ||||
| 
 | ||||
|     _TESTS = [{ | ||||
|         'url': 'http://new.livestream.com/CoheedandCambria/WebsterHall/videos/4719370', | ||||
|         'md5': '53274c76ba7754fb0e8d072716f2292b', | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 pukkandan
					pukkandan