This is a simple console application that allows you to shorten long URLs using the TinyURL link shortener and expand shortened links generated by TinyURL.
- Python 3.5 or higher
- pyshorteners library
- Clone the repository or download the code.
- Install the required libraries using
pip install -r requirements.txt
. - Run the application using
python shortner.py
. - Follow the prompts to either shorten a long URL or expand a shortened URL.
- Uses the TinyURL link shortener to generate shortened links.
- Allows you to expand shortened links generated by TinyURL.
- Provides user-friendly error messages in case of any issues.
- Make sure you have an active internet connection for the application to work properly.
- If the TinyURL servers are down, the application may not work as expected.
- The application will exit if you press
CTRL+C
.