diff options
author | Andres Rey <[email protected]> | 2018-03-06 20:16:35 +0000 |
---|---|---|
committer | Andres Rey <[email protected]> | 2018-03-06 20:16:35 +0000 |
commit | 47c1d1cdd0667f712a9ba56b682dd10639f36bfa (patch) | |
tree | 8f802d508a81c11e43cd0d654195396356ed3169 /src/Readability.php | |
parent | 088027cd2e5593337de3c19dfdb94170d14e8384 (diff) |
Add data-src as a image path source
Diffstat (limited to 'src/Readability.php')
-rw-r--r-- | src/Readability.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Readability.php b/src/Readability.php index 7291a18..4695244 100644 --- a/src/Readability.php +++ b/src/Readability.php @@ -1516,6 +1516,7 @@ class Readability */ $url = [ $img->getAttribute('src'), + $img->getAttribute('data-src'), $img->getAttribute('data-original'), $img->getAttribute('data-orig'), $img->getAttribute('data-url') |