[extractor] Framework for embed detection (#4307)
This commit is contained in:
parent
47304e07dc
commit
8f97a15d1c
8 changed files with 149 additions and 77 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue