diff --git a/src/you_get/extractors/imgur.py b/src/you_get/extractors/imgur.py index 519fa245..3b1c0ea6 100644 --- a/src/you_get/extractors/imgur.py +++ b/src/you_get/extractors/imgur.py @@ -52,7 +52,7 @@ class Imgur(VideoExtractor): else: # gallery image content = get_content(self.url) - url = match1(content, r'(https?://i.imgur.com/[^"]+)') + url = match1(content, r'meta property="og:image"[^>]+(https?://i.imgur.com/[^"?]+)') _, container, size = url_info(url) self.streams = { 'original': {