mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-04-08 16:08:54 +00:00
Merge pull request #144 from GregThib/patch-3
[rue89] Anti-hotlinking was apparently disabled
This commit is contained in:
commit
f8d1322ee7
@ -21,7 +21,8 @@ class Rue89Bridge extends BridgeAbstract{
|
|||||||
//$text = $html2->find('div[class=text]', 0)->innertext;
|
//$text = $html2->find('div[class=text]', 0)->innertext;
|
||||||
|
|
||||||
foreach($html2->find('img') as $image) {
|
foreach($html2->find('img') as $image) {
|
||||||
$image->src = $image->getAttribute('data-src');
|
$src = $image->getAttribute('data-src');
|
||||||
|
if($src) $image->src = $src;
|
||||||
}
|
}
|
||||||
$text = $html2->find('div.content', 0)->innertext;
|
$text = $html2->find('div.content', 0)->innertext;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user