aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2015-06-01 00:04:36 +0600
committerSergey M․ <dstftw@gmail.com>2015-06-01 00:04:36 +0600
commit47fd8c2f761c2073744cb041f9eccb7ed10f2470 (patch)
tree1f79fef89e380ea4d483df784f296d980680ec19 /youtube_dl
parent96b9690985e9b9f4e50fde10bbc92e1a72df64e4 (diff)
[patreon] Fix embeds extraction (Closes #5862)
Diffstat (limited to 'youtube_dl')
-rw-r--r--youtube_dl/extractor/patreon.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/patreon.py b/youtube_dl/extractor/patreon.py
index f179ea200..6cdc2638b 100644
--- a/youtube_dl/extractor/patreon.py
+++ b/youtube_dl/extractor/patreon.py
@@ -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: