ClipboredLinkParser is a Python script that automatically parses links and generates HTML anchor tags when you copy text to the clipboard. This tool can be particularly helpful when you are listing videos from platforms like YouTube, Facebook, or any other medium.
The script utilizes the pyperclip
library to monitor changes in the clipboard. Whenever a change is detected, it checks if the new clipboard data contains a link using regular expressions. If a link is found, it extracts the name and URL, creates an HTML anchor tag with the provided information, and appends it to an HTML file specified by the user.
To use ClipboredLinkParser, follow these steps:
- Clone the repository to your local machine.
- Install the required dependencies
- Run the script by executing
python clipbored_link_parser.py
in your terminal. - Enter a file name when prompted to create an HTML file.
- Start copying text containing links, and ClipboredLinkParser will automatically parse and save them as HTML anchor tags.
Feel free to modify the script according to your specific needs or integrate it into your own projects.
Enjoy parsing links with ease using ClipboredLinkParser!