summaryrefslogtreecommitdiff
path: root/scraper/facebook.php
diff options
context:
space:
mode:
authorlolcat <will@lolcat.ca>2023-08-27 01:45:59 -0400
committerlolcat <will@lolcat.ca>2023-08-27 01:45:59 -0400
commit1fd4c2de6d2552f4619c6e67aac60bc635465cd1 (patch)
tree12c015d718606e5d245008ea7a42899aafae0dd5 /scraper/facebook.php
parent12a6278a5fb0a207d2d24ae97957c37b5bd9b4d7 (diff)
added yandex web and video search, removed fb search
Diffstat (limited to 'scraper/facebook.php')
-rw-r--r--scraper/facebook.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/scraper/facebook.php b/scraper/facebook.php
index 46d58d6..7bd576b 100644
--- a/scraper/facebook.php
+++ b/scraper/facebook.php
@@ -228,16 +228,16 @@ class facebook{
)
);
}
-
+ /*
$html =
$this->get(
"https://www.facebook.com/watch/search/",
$req
- );
- /*
+ );*/
+
$handle = fopen("scraper/facebook.html", "r");
$html = fread($handle, filesize("scraper/facebook.html"));
- fclose($handle);*/
+ fclose($handle);
preg_match_all(
'/({"__bbox":.*,"sequence_number":0}})\]\]/',