Skip to content

Sam2368/url_expander

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 

Repository files navigation

URL Expander Tool

A simple Python command-line tool to expand shortened URLs. This tool fetches and displays the original URL behind a shortened link.

Features

  • Expand shortened URLs using HTTP HEAD requests.
  • Handle and display informative error messages for connection issues.
  • Easy to use via command-line interface.

Prerequisites

  • Python 3.x
  • requests library

Installation

  1. Clone the repository:

    git clone https://github.com/yourusername/url-expander-tool.git
    cd url-expander-tool
    
  2. Install requirements

    pip install -r requirements.txt

Usage

Run the python script

python3 url_expander.py <shortened-url>

License

This project is licensed under the MIT License - see the LICENSE file for details.

Contributing

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/your-feature)
  3. Commit your changes (git commit -m 'Add some feature')
  4. Push to the branch (git push origin feature/your-feature)
  5. Open a pull request

About

A simple Python command-line tool to expand shortlinks

Resources

License

Stars

Watchers

Forks