Dec-09-2019, 05:04 AM
Ok sorry for my newb question, but I figured this was the best place to start. (no real python Knowledge)
Basically I am using a program Called EventGhost and from what I understand it uses Python.
I have a basic script that upon pressing a key, will highlight the browser and copy it to the clipboard
to then paste it into a Program to download the youtube videos for personal studies.
The only real issue with this script I have encountered is any video that is part of a playlist wich always
includes a &list= in the URL will cause the download program to download the entire playlist. now on a playlist's
main page, I can use the Url if I needed to copy all videos in it, but for individual videos I want that exist with
the &list= in the Url it's frustrating to have to delete this part and makes the script useless.
Ok so my question is can I make a basic python script that will take the clipboard after copying the URL and remove
the text &list= and all after it if it's in the URL and then paste it afterward in the download program?
Eventghost is basically a easy to use if this then that program that has various actions to execute
(Move mouse here, close this window, hit this key, ETC..) One of these actions is execute python script, this is why I am here.
Basically I am using a program Called EventGhost and from what I understand it uses Python.
I have a basic script that upon pressing a key, will highlight the browser and copy it to the clipboard
to then paste it into a Program to download the youtube videos for personal studies.
The only real issue with this script I have encountered is any video that is part of a playlist wich always
includes a &list= in the URL will cause the download program to download the entire playlist. now on a playlist's
main page, I can use the Url if I needed to copy all videos in it, but for individual videos I want that exist with
the &list= in the Url it's frustrating to have to delete this part and makes the script useless.
Ok so my question is can I make a basic python script that will take the clipboard after copying the URL and remove
the text &list= and all after it if it's in the URL and then paste it afterward in the download program?
Eventghost is basically a easy to use if this then that program that has various actions to execute
(Move mouse here, close this window, hit this key, ETC..) One of these actions is execute python script, this is why I am here.