Example Crawler Project
This is a simple example crawler project. Follow the instructions below to set up and run the crawler.
Setup
- Clone the repository or copy the project files to your local machine.
- Make sure you have Python 3 installed.
Usage
- Open a terminal in the project directory.
- Run
maketo set up the environment, install dependencies, and start the crawler:
make
This will create a virtual environment, install the package in editable mode from the parent directory, and run the main script.
Cleanup
To remove the virtual environment, run:
make clean
Notes
- The project installs the package with
-e ../../.to include the parent packagedevrantain editable mode. - Ensure that the parent package is correctly set up in the directory structure.
Happy crawling!
| .. | ||
| crawler.py | ||
| database.py | ||
| main.py | ||
| Makefile | ||
| README.md | ||
| requirements.txt | ||