mirror of
https://github.com/spaam/svtplay-dl.git
synced 2024-11-27 21:54:17 +01:00
OpenGraphThumbMixin: more matches for this.
I saw this variant on dn.se
This commit is contained in:
parent
7010adc6e6
commit
77e2235b48
@ -49,7 +49,9 @@ class OpenGraphThumbMixin(object):
|
||||
if match is None:
|
||||
match = re.search(r'<meta content="([^"]*)" property="og:image"', data)
|
||||
if match is None:
|
||||
return
|
||||
match = re.search(r'<meta name="og:image" property="og:image" content="([^"]*)" />', data)
|
||||
if match is None:
|
||||
return
|
||||
download_thumbnail(options, match.group(1))
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user