mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-07-01 17:44:42 +02:00
[NordbayernBridge] Fix jpeg regex (#2118)
This commit is contained in:
parent
28aaf59007
commit
17f9c44bfc
1 changed files with 1 additions and 1 deletions
|
@ -49,7 +49,7 @@ class NordbayernBridge extends BridgeAbstract {
|
||||||
|
|
||||||
private function getImageUrlFromScript($script) {
|
private function getImageUrlFromScript($script) {
|
||||||
preg_match(
|
preg_match(
|
||||||
"#src=\\\\'(https:[-:\\.\\\\/a-zA-Z0-9%_]*\\.(jpg|JPG))#",
|
"#src=\\\\'(https:[-:\\.\\\\/a-zA-Z0-9%_]*\\.(jpg|JPG|jpeg))#",
|
||||||
$script->innertext,
|
$script->innertext,
|
||||||
$matches,
|
$matches,
|
||||||
PREG_OFFSET_CAPTURE
|
PREG_OFFSET_CAPTURE
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue