summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndres Rey <[email protected]>2017-12-05 10:08:53 +0000
committerAndres Rey <[email protected]>2017-12-05 10:08:53 +0000
commitf22821a3cbae0a1538a88bbfc70070618b44a269 (patch)
tree1a34ed48174973e986105f18efd23992623709c2 /src
parent0d02e2916d1659bb79426969c5d48848ff402598 (diff)
Search for 'data-orig' in image urls
Diffstat (limited to 'src')
-rw-r--r--src/Readability.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Readability.php b/src/Readability.php
index 19ccd5d..f22c1e2 100644
--- a/src/Readability.php
+++ b/src/Readability.php
@@ -1402,6 +1402,7 @@ class Readability
$url = [
$img->getAttribute('src'),
$img->getAttribute('data-original'),
+ $img->getAttribute('data-orig'),
$img->getAttribute('data-url')
];