[imgur] fix extraction

This commit is contained in:
Mort Yao 2024-03-04 03:15:47 +01:00
parent 393597ef03
commit 6d57771248
No known key found for this signature in database
GPG Key ID: 07DA00CB78203251

View File

@ -54,7 +54,7 @@ class Imgur(VideoExtractor):
content = get_content(self.url)
url = match1(content, r'meta property="og:video"[^>]+(https?://i.imgur.com/[^"?]+)') or \
match1(content, r'meta property="og:image"[^>]+(https?://i.imgur.com/[^"?]+)')
_, container, size = url_info(url)
_, container, size = url_info(url, faker=True)
self.streams = {
'original': {
'src': [url],