Skip to content

Commit

Permalink
[NordbayernBridge] Fix jpeg regex (#2118)
Browse files Browse the repository at this point in the history
  • Loading branch information
theScrabi authored May 19, 2021
1 parent 28aaf59 commit 17f9c44
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bridges/NordbayernBridge.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 17f9c44

Please sign in to comment.