1
0
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:
pukkandan
2022-08-01 06:52:03 +05:30
parent 47304e07dc
commit 8f97a15d1c
8 changed files with 149 additions and 77 deletions

View File

@ -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)