-
Notifications
You must be signed in to change notification settings - Fork 4
update 1.1 ‐ 1.2
Release date: June 2026
Update from: v1.1 → v1.2
This release marks a significant step toward production readiness.
It introduces a flexible YAML‑based configuration system and a comprehensive automated test suite covering all core and library modules.
AtDork now supports persistent configuration through a single file, atdork.yaml.
Command‑line arguments and environment variables continue to work as before, but you can now define your preferred defaults in one place.
- AtDork looks for
atdork.yamlin the current working directory (a custom path can be supplied with--config). - Values from the file override built‑in defaults.
- Environment variables (prefixed
ATDORK_) override both the file and the defaults. - CLI arguments still have the highest priority.
max_results: 30
region: "uk-en"
safesearch: "off"
delay: 1.0
proxy_file: "proxies.txt"
format: "json"
output_dir: "./results"With this file in place, a simple python main.py -q "site:gov filetype:pdf" automatically uses your saved settings – no more repetitive typing.
A complete pytest‑based test suite has been added to ensure stability and simplify future development.
| Module tested | Test file |
|---|---|
| Search logic, retries, backend fallback, proxy rotation | test_scanner.py |
| Proxy validation, rotation, cooldown, auto‑removal, statistics | test_proxy_manager.py |
| URL validation, spam detection, strict filtering | test_validator.py |
| Query file parsing, batch execution, failure handling | test_batch_runner.py |
| YAML loading, environment variable overrides, type conversion | test_config.py |
| Multi‑threaded execution with fallback | test_multi_thread_runner.py |
| Output storage (TXT, JSON, CSV) | test_storage.py |
All tests use mocked network calls – they run offline and finish in seconds.
cd AtDork
pip install pytest # if not already installed
pytest tests/ -v-
Reproducibility –
atdork.yamllets you share a consistent setup across your team. -
Safety – environment variables (like
ATDORK_PROXY) keep secrets out of command histories. - Confidence – the test suite catches regressions before they reach your workflow.
-
CI/CD ready – drop
pytestinto your pipeline and catch issues on every commit.
- All existing command‑line flags and environment variables remain unchanged.
- The old interactive mode and batch processing work identically.
- The new configuration file is entirely optional; if absent, AtDork behaves exactly as in v1.1.
We welcome issues and pull requests on GitHub.
If you find this release helpful, consider leaving a ⭐ on the repository.