mirror of https://github.com/danoloan10/rss-bridge
[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