]> jfr.im git - yt-dlp.git/blobdiff - yt_dlp/extractor/spotify.py
[extractor] Framework for embed detection (#4307)
[yt-dlp.git] / yt_dlp / extractor / spotify.py
index fef8d8dd20d5011fd9f3f6d0dc924afe986c1e31..f476b7022c7e787724a8f27502f6039af86fe688 100644 (file)
@@ -98,7 +98,7 @@ def _extract_episode(self, episode, series):
         }
 
     @classmethod
-    def _extract_embed_urls(cls, webpage):
+    def _extract_urls(cls, webpage):
         return re.findall(
             r'<iframe[^>]+src="(https?://open\.spotify.com/embed/[^"]+)"',
             webpage)