A privacy-focused web scanner that detects cookies and trackers.
Project description
Crawly
Crawly is a fast, parallelized web scanner that crawls websites to detect privacy-impacting elements like tracking cookies, social media embeds, and analytics scripts using Playwright and BeautifulSoup.
Features
- 🔍 Detects tracking cookies, social media plugins, analytics tools, and suspicious domains
- ⚡ Fast, multithreaded scanning with ThreadPoolExecutor
- 🎭 Uses Playwright to simulate real browser visits and collect JavaScript-set cookies
- 🧠 Smart filtering of URLs and crawl depth
- 📄 Outputs results to a CSV for easy review
Installation
Requirements
- Python 3.7 or later
Install Crawly (for development)
pip install beautifulsoup4 playwright
playwright install
Usage
python crawly.py -u <start_url> [options]
Options
| Option | Description |
|---|---|
-u, --url |
Required. Starting URL to scan |
-d |
Crawl depth (default: 2) |
-e, --exclude |
List of substrings to exclude from crawling (e.g., logout, contact) |
-w, --workers |
Number of parallel workers/threads (default: 4) |
-o, --output |
Output CSV filename (default: scan_results.csv) |
-s, --scan-limit |
Max number of pages to scan (optional) |
Example
python crawly.py -u https://example.com -d 2 -w 5 -e logout contact -o report.csv
Output
The output is a CSV file with columns:
URL– the scanned pageDetected–YesorNodepending on if trackers were foundSource– all tracking/script sources detectedCookies– matched cookie names and headers
Author
Zarcuel — Privacy-focused pentester and creator of Crawly 🕷️
MIT License
Copyright (c) 2025 Zarcuel
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file crawly_zarcuel-1.0.0.tar.gz.
File metadata
- Download URL: crawly_zarcuel-1.0.0.tar.gz
- Upload date:
- Size: 5.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
67ff128b5fbe0771882ece907cdb698cea206308cc7049ade3fdac5b1e0e3bee
|
|
| MD5 |
f0597696266eae0496445524b322ded6
|
|
| BLAKE2b-256 |
46982d2c7c8817f13c20ef36d379fb9696abc64bd1bfae3b6cc5c126ca570cfe
|
File details
Details for the file crawly_zarcuel-1.0.0-py3-none-any.whl.
File metadata
- Download URL: crawly_zarcuel-1.0.0-py3-none-any.whl
- Upload date:
- Size: 7.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c433f9bfe1531a44b2dd210b7242a900bcdef76724b81625ee1613dcc2fb5edf
|
|
| MD5 |
bd381cdee1d18747495a7a544a705cb9
|
|
| BLAKE2b-256 |
45f7f394df07c2f0c57dacfee5eee8fdf546665b1af789e72b2563c08b4ad0fe
|