aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--scraper/startpage.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/scraper/startpage.php b/scraper/startpage.php
index ef9def9..ebb1737 100644
--- a/scraper/startpage.php
+++ b/scraper/startpage.php
@@ -412,7 +412,7 @@ class startpage{
if(
preg_match(
- '/React\.createElement\(UIStartpage\.AppSerpWeb, ?(.+)\),$/m',
+ '/React\.createElement\(UIStartpage\.AppSerpWeb, ?(.+)\),?$/m',
$html,
$matches
) === 0
@@ -1069,7 +1069,7 @@ class startpage{
if(
preg_match(
- '/React\.createElement\(UIStartpage\.AppSerpImages, ?(.+)\),$/m',
+ '/React\.createElement\(UIStartpage\.AppSerpImages, ?(.+)\),?$/m',
$html,
$matches
) === 0
@@ -1194,7 +1194,7 @@ class startpage{
if(
preg_match(
- '/React\.createElement\(UIStartpage\.AppSerpVideos, ?(.+)\),$/m',
+ '/React\.createElement\(UIStartpage\.AppSerpVideos, ?(.+)\),?$/m',
$html,
$matches
) === 0
@@ -1336,7 +1336,7 @@ class startpage{
if(
preg_match(
- '/React\.createElement\(UIStartpage\.AppSerpNews, ?(.+)\),$/m',
+ '/React\.createElement\(UIStartpage\.AppSerpNews, ?(.+)\),?$/m',
$html,
$matches
) === 0
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage