]> gitweb @ CieloNegro.org - youtube-dl.git/commitdiff
[patreon] Fix embeds extraction (Closes #5862)
authorSergey M․ <dstftw@gmail.com>
Sun, 31 May 2015 18:04:36 +0000 (00:04 +0600)
committerSergey M․ <dstftw@gmail.com>
Sun, 31 May 2015 18:04:36 +0000 (00:04 +0600)
youtube_dl/extractor/patreon.py

index f179ea2008636f061c6a4cdad6fc69841a291076..6cdc2638b4930dc92835d71f673b560dea99022d 100644 (file)
@@ -87,7 +87,7 @@ class PatreonIE(InfoExtractor):
             r'<div class="attach"><a target="_blank" href="([^"]+)">',
             webpage, 'attachment URL', default=None)
         embed = self._html_search_regex(
-            r'<div id="watchCreation">\s*<iframe class="embedly-embed" src="([^"]+)"',
+            r'<div[^>]+id="watchCreation"[^>]*>\s*<iframe[^>]+src="([^"]+)"',
             webpage, 'embedded URL', default=None)
 
         if attach_fn is not None: