[NordbayernBridge] Fix jpeg regex (#2118)

This commit is contained in:
Christian Schabesberger 2021-05-19 10:44:17 +02:00 committed by GitHub
parent 28aaf59007
commit 17f9c44bfc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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