diff options
| author | lolcat <will@lolcat.ca> | 2024-08-28 19:14:15 -0400 |
|---|---|---|
| committer | lolcat <will@lolcat.ca> | 2024-08-28 19:14:15 -0400 |
| commit | 3b353c28372541dbe8789c48446ffbcbb8fc4050 (patch) | |
| tree | 2a66bf0542e33d9faeaa52da484d8cf1acfa2ee2 /scraper/startpage.php | |
| parent | 913e4d7e3947c0eb21be2b75e91be1eb4cf80fda (diff) | |
fuck you startpage
Diffstat (limited to 'scraper/startpage.php')
| -rw-r--r-- | scraper/startpage.php | 8 |
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 |
