
We invite you to explore our blog for more details.
Before building the application, you’ll need to set up a basic Python environment. Follow these steps to get started:
- Install Python 3 on your system.
- Install the required dependencies by running:
python -m pip install -r requirements.txt
- Create an account at Crawlbase and log in.
- After registration, you will receive 5,000 free requests.
- Locate and copy your Crawling API Normal requests token.
Before running the examples, make sure to replace every instance of:
"<Normal requests token>"
with your Crawling API Normal requests token."<JavaScript requests token>"
with your Crawling API JavaScript requests token.
- To run the example from the "Example 1: Basic Page" section:
python basic_page.py
- To run the example from the "Example 2: JavaScript Page" section:
python javascript_page.py
- To run the example from the "Example 3: Basic Page Using Crawling API" section:
python basic_page_using_crawling_api.py
🛡 Disclaimer This repository is for educational purposes only. Please make sure you comply with the Terms of Service of any website you scrape. Use this responsibly and only where permitted.
Copyright 2025 Crawlbase