mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-21 20:46:36 -05:00
[patreon] Fix embeds extraction (Closes #5862)
This commit is contained in:
parent
96b9690985
commit
47fd8c2f76
1 changed files with 1 additions and 1 deletions
|
@ -87,7 +87,7 @@ def _real_extract(self, url):
|
||||||
r'<div class="attach"><a target="_blank" href="([^"]+)">',
|
r'<div class="attach"><a target="_blank" href="([^"]+)">',
|
||||||
webpage, 'attachment URL', default=None)
|
webpage, 'attachment URL', default=None)
|
||||||
embed = self._html_search_regex(
|
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)
|
webpage, 'embedded URL', default=None)
|
||||||
|
|
||||||
if attach_fn is not None:
|
if attach_fn is not None:
|
||||||
|
|
Loading…
Reference in a new issue