diff options
author | Andrew Dolgov <[email protected]> | 2015-08-11 09:05:39 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2015-08-11 09:05:39 +0300 |
commit | 023737c75697d176b02c1e150f9406e6a1a8fd8b (patch) | |
tree | 3f75fa3f0f882b52bb6b8163cf3f68c3eec5ec76 /plugins | |
parent | 837443630f5aeb25d34cd93d7a7d63442e8ae2b6 (diff) | |
parent | 1f6732b245c9ea77bca9415653d2c993a02c8ca4 (diff) |
Merge branch 'master' of git.fakecake.org:tt-rss
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/af_redditimgur/init.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/af_redditimgur/init.php b/plugins/af_redditimgur/init.php index f3d8b28b4..e7658120d 100644 --- a/plugins/af_redditimgur/init.php +++ b/plugins/af_redditimgur/init.php @@ -95,7 +95,7 @@ class Af_RedditImgur extends Plugin { if ($tmpdoc) { $tmpxpath = new DOMXPath($tmpdoc); - $source_meta = $tmpxpath->query("//meta[@property='og:video']")->item(0); + $source_meta = $tmpxpath->query("//meta[@name='twitter:player:stream' and contains(@content, '.mp4')]")->item(0); $poster_meta = $tmpxpath->query("//meta[@property='og:image' and contains(@content,'thumbs.gfycat.com')]")->item(0); if ($source_meta) { |