Parse your Favorite Channels New Videos Titles Manually to your Notification System
- Python 3.6 or higher
- Dunst notification daemon
notify-send
utility
- Clone this repository to your local machine.
- Install the required Python packages by running the following command in your terminal:
pip install -r requirements.txt
- Set up your list of Youtube channels in the UserNames and IconPaths variables in the script.
UserNames
is a list of the channel usernames you want to check, andIconPaths
is a list of the corresponding paths to the icons you want to use for each channel. - Run the script in your terminal using the command:
python yt.py
The script makes a GET request to each channel's videos page and extracts the title and URL of the latest video. It then checks if the video title is already in a CSV file. If the video title is not in the CSV file, it sends a desktop notification with the video title and URL. The CSV file is used to keep track of which videos have already been viewed.
Also when you right click on the notification, it hyperlinks to the video URL
Please note that Youtube does not officially support this type of parsing and may take action against accounts that use it. Use at your own risk.
This project is licensed under the GPL-3.0 license.