mirror of
https://github.com/soimort/you-get.git
synced 2025-02-09 03:37:52 +03:00
[imgur] fix extraction
This commit is contained in:
parent
393597ef03
commit
6d57771248
@ -54,7 +54,7 @@ class Imgur(VideoExtractor):
|
|||||||
content = get_content(self.url)
|
content = get_content(self.url)
|
||||||
url = match1(content, r'meta property="og:video"[^>]+(https?://i.imgur.com/[^"?]+)') or \
|
url = match1(content, r'meta property="og:video"[^>]+(https?://i.imgur.com/[^"?]+)') or \
|
||||||
match1(content, r'meta property="og:image"[^>]+(https?://i.imgur.com/[^"?]+)')
|
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 = {
|
self.streams = {
|
||||||
'original': {
|
'original': {
|
||||||
'src': [url],
|
'src': [url],
|
||||||
|
Loading…
Reference in New Issue
Block a user