Prerequisites
You’ll need an API key. Find it in your lobstr.io dashboard under API in the sidebar. Set it as an environment variable to use in the examples below:Step 1: Verify your credentials
Confirm your key is working before proceeding.Python
Step 2: Find a crawler
Crawlers define what site you’re scraping. List available crawlers and pick the one you need.Python
id of the crawler you want to use. For example, the Google Maps Reviews crawler.
Step 3: Create a squid
A squid is your configured scraping project — it ties together a crawler, your settings, and your tasks.Python
Step 4: Add tasks
Tasks tell the squid what to scrape — typically URLs or search queries. The accepted keys depend on the crawler (use Get Crawler Parameters to check).Python
Step 5: Start a run
A run executes all pending tasks in the squid.Python
Step 6: Poll until complete
Check the run status periodically until it reaches a terminal state.Python
Step 7: Download results
Once the run isdone, fetch your data.
Python
page parameter. See the Pagination guide for details.