mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-07-15 00:14:45 +02:00
Co-authored-by: tougaj <tougaj@users.noreply.github.com>
This commit is contained in:
parent
0dc6c66840
commit
ce353c1e4f
1 changed files with 1 additions and 1 deletions
|
@ -114,7 +114,7 @@ class CssSelectorBridge extends BridgeAbstract
|
|||
{
|
||||
if (!empty($url_pattern)) {
|
||||
$url_pattern = '/' . str_replace('/', '\/', $url_pattern) . '/';
|
||||
$links = array_filter($links, function ($url) {
|
||||
$links = array_filter($links, function ($url) use ($url_pattern) {
|
||||
return preg_match($url_pattern, $url) === 1;
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue