A simple Python command-line tool to expand shortened URLs. This tool fetches and displays the original URL behind a shortened link.
- Expand shortened URLs using HTTP HEAD requests.
- Handle and display informative error messages for connection issues.
- Easy to use via command-line interface.
- Python 3.x
requestslibrary
-
Clone the repository:
git clone https://github.com/yourusername/url-expander-tool.git cd url-expander-tool -
Install requirements
pip install -r requirements.txt
Run the python script
python3 url_expander.py <shortened-url>This project is licensed under the MIT License - see the LICENSE file for details.
- Fork the repository
- Create your feature branch (git checkout -b feature/your-feature)
- Commit your changes (git commit -m 'Add some feature')
- Push to the branch (git push origin feature/your-feature)
- Open a pull request