From 8930f3d2b23ad37d194329bf61cdda9e84a30ecd Mon Sep 17 00:00:00 2001 From: ajaysi Date: Tue, 17 Sep 2024 11:57:59 +0530 Subject: [PATCH] feat: add scrape_url import to ai_backlinking.py for enhanced functionality --- lib/ai_marketing_tools/ai_backlinking.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/lib/ai_marketing_tools/ai_backlinking.py b/lib/ai_marketing_tools/ai_backlinking.py index e8b9d7a3..e539e762 100644 --- a/lib/ai_marketing_tools/ai_backlinking.py +++ b/lib/ai_marketing_tools/ai_backlinking.py @@ -127,7 +127,10 @@ # Database: MongoDB or PostgreSQL to track leads, emails, and responses. # #This solution will significantly streamline the backlinking process by automating the most tedious tasks, from finding sites to personalizing outreach, enabling marketers to focus on content creation and high-level strategies. + from lib.ai_web_researcher.firecrawl_web_crawler import scrape_website +from lib.ai_web_researcher.firecrawl_web_crawler import scrape_url + def generate_search_queries(keyword): """ @@ -181,7 +184,7 @@ def find_backlink_opportunities(keyword): results.append(result) return results -from lib.ai_web_researcher.firecrawl_web_crawler import scrape_url + def search_for_urls(query): """ @@ -199,6 +202,7 @@ def search_for_urls(query): return result['urls'] return [] + def extract_contact_info(scraped_data): """ Placeholder function to extract contact information from scraped data.