mirror of
https://git.coastit.co.za/caitlin/CRM_ENVR.git
synced 2026-07-10 11:15:43 +02:00
changing directory for the AI search
This commit is contained in:
@@ -33,7 +33,7 @@ Add more realistic user agents here if needed.
|
|||||||
**File:** `rust-ai/src/main.rs`
|
**File:** `rust-ai/src/main.rs`
|
||||||
**Line:** 68
|
**Line:** 68
|
||||||
|
|
||||||
Currently fetches `https://www.facebook.com/messages`. Change if needed.
|
Currently fetches `https://www.facebook.com/search/top/?q=need%20website%20create`. Change if needed.
|
||||||
|
|
||||||
## Background Thread
|
## Background Thread
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -70,7 +70,7 @@ fn scrape_conversations(url: &str) -> Result<Html, Box<dyn std::error::Error>> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
fn run_facebook_scraper() {
|
fn run_facebook_scraper() {
|
||||||
let url = "https://www.facebook.com/messages";
|
let url = "https://www.facebook.com/search/top/?q=need%20website%20create";
|
||||||
match scrape_conversations(url) {
|
match scrape_conversations(url) {
|
||||||
Ok(soup) => {
|
Ok(soup) => {
|
||||||
// Example: Extract conversation data
|
// Example: Extract conversation data
|
||||||
|
|||||||
Reference in New Issue
Block a user