The Python version of the 403 unlocker tool, available in here, has several key features:
Built using Python's robust networking libraries and tools, providing excellent DNS handling capabilities and cross-platform support.
Thanks to Python's portability, this project supports:
- Windows (manual DNS configuration required)
- Linux (automatic configuration)
- macOS (automatic configuration)
- Automated DNS speed testing
- Progress bar visualization
- Config file support
- Both CLI and interactive modes
pip install best403unlocker_py
- Python 3.8 or higher
- Poetry package manager
- Administrative/root privileges (required for DNS configuration)
- Clone the repository:
git clone https://github.com/403unlocker/best403unlocker-py.git
cd best403unlocker-py
- Install dependencies using Poetry:
poetry install
This will:
- Test all configured DNS servers
- Display a progress bar during testing
- Show results in a table format
- Prompt to apply the fastest DNS server
Command Line Options
-
Test DNS servers with applying:
unlock403 [--url URL]
-
Test DNS servers without applying:
unlock403 search-dns [--url URL]
-
Set custom DNS servers:
unlock403 set-custom-dns 8.8.8.8 8.8.4.4
Examples Find fastest DNS for a specific domain:
- Default mode searche and set:
unlock403
- Default mode searche and set with specific URL:
unlock403 --url developers.google.com
- search with default url for dns:
unlock403 search-dns
- search with custom url url for dns
unlock403 search-dns --url developers.google.com
Feel free to open issues and PRs on GitHub.