mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-01-17 14:18:35 +01:00
[EconomistBridge] Fix strange image urls (#3600)
This commit is contained in:
parent
3e3481bd7a
commit
cf6d94dc2a
@ -159,7 +159,7 @@ class EconomistBridge extends FeedExpander
|
||||
$svelte->parent->removeChild($svelte);
|
||||
}
|
||||
foreach ($elem->find('img') as $strange_img) {
|
||||
if (!str_contains($strange_img->src, 'https://economist.com')) {
|
||||
if (!str_contains($strange_img->src, 'economist.com')) {
|
||||
$strange_img->src = 'https://economist.com' . $strange_img->src;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user