Skip to content

Add a simple URL shortener #198

@CodeDrinks270

Description

@CodeDrinks270

Description:

Implement a basic Python script that shortens long URLs using the pyshorteners library (TinyURL service).
This feature allows users to input a URL and receive a shortened version that can be easily shared or used elsewhere.

Goals / Acceptance Criteria:

  • Install and use the pyshorteners library.
  • Accept user input (a long URL) via console.
  • Generate and print the shortened URL using TinyURL.
  • Handle invalid URLs gracefully (optional).
  • Include basic documentation or inline comments explaining the code.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions