Scripts used in the videos
For more examples take a look at the examples folder in ScrapegraphAI root folder: main link.
You can also find also other providers
- ScrapegraphAI has now his APIs! Check it out here!
First of all you should have installed the library scrapegraphai with this command:
pip install scrapegraphai
After this you should create an .env variable with the following content:
OPENAI_API_KEY="YOUR OPENAI API KEY"
- smart_scraper: extract information given a link and an eventual schema. The second example provides how to use the schema
- search_graph: search on internet and gives a structured output
- multi_request_serial: creates mulitple requests in series of different websites
- multi_request_parallel: creates mulitple requests in parallel of different websites