aboutsummaryrefslogtreecommitdiffstats
path: root/scraper/startpage.php
diff options
context:
space:
mode:
authorlolcat <will@lolcat.ca>2024-08-28 19:14:15 -0400
committerlolcat <will@lolcat.ca>2024-08-28 19:14:15 -0400
commit3b353c28372541dbe8789c48446ffbcbb8fc4050 (patch)
tree2a66bf0542e33d9faeaa52da484d8cf1acfa2ee2 /scraper/startpage.php
parent913e4d7e3947c0eb21be2b75e91be1eb4cf80fda (diff)
fuck you startpage
Diffstat (limited to 'scraper/startpage.php')
-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