mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-04-05 00:59:35 +00:00
[NordbayernBridge] Fix jpeg regex (#2118)
This commit is contained in:
parent
28aaf59007
commit
17f9c44bfc
@ -49,7 +49,7 @@ class NordbayernBridge extends BridgeAbstract {
|
||||
|
||||
private function getImageUrlFromScript($script) {
|
||||
preg_match(
|
||||
"#src=\\\\'(https:[-:\\.\\\\/a-zA-Z0-9%_]*\\.(jpg|JPG))#",
|
||||
"#src=\\\\'(https:[-:\\.\\\\/a-zA-Z0-9%_]*\\.(jpg|JPG|jpeg))#",
|
||||
$script->innertext,
|
||||
$matches,
|
||||
PREG_OFFSET_CAPTURE
|
||||
|
Loading…
Reference in New Issue
Block a user