mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2025-09-03 08:35:32 +00:00
[extractor] Framework for embed detection (#4307)
This commit is contained in:
@ -98,7 +98,7 @@ class SpotifyBaseIE(InfoExtractor):
|
||||
}
|
||||
|
||||
@classmethod
|
||||
def _extract_embed_urls(cls, webpage):
|
||||
def _extract_urls(cls, webpage):
|
||||
return re.findall(
|
||||
r'<iframe[^>]+src="(https?://open\.spotify.com/embed/[^"]+)"',
|
||||
webpage)
|
||||
|
Reference in New Issue
Block a user