LLM scrape all links in a website

I'm trying to get the below data based on a link: 1. Business details - Name - Email - Contact info - Founders - Executive team 2. Product details (can be multiple) - Name - Details - People involved - Specific links my code:
class ExtractSchema(BaseModel):
company_name: str
email: str
contact_info: bool
list_of_founders: str
executive_team: str
product_name: str
product_details: str
people_involved: str
specific_links: str
pricing: str

data = app.scrape_url('https://www.primeorbit.ai/', {
'formats': ['extract'],
'extract': {
'schema': ExtractSchema.model_json_schema(),
}
})
print(data["extract"])
class ExtractSchema(BaseModel):
company_name: str
email: str
contact_info: bool
list_of_founders: str
executive_team: str
product_name: str
product_details: str
people_involved: str
specific_links: str
pricing: str

data = app.scrape_url('https://www.primeorbit.ai/', {
'formats': ['extract'],
'extract': {
'schema': ExtractSchema.model_json_schema(),
}
})
print(data["extract"])
How do I: 1. crawl all links in primeorbit.ai 2. get multiple products and their respective details.
0 Replies
No replies yetBe the first to reply to this messageJoin

Did you find this page helpful?