Copy current browser URL to Clipboard


I'm trying to create a conditional touch-bar button that allows me to download a youtube video through a youtube-downloader CLI-tool.

Does anyone know if it's possible to create a workflow that;

  1. copies the URL of my current active browser window
  2. pastes into CLI-tool youtube-downloader

I just did it, its easy.

choose your trigger.

then in any browser cmd-L, delay .3 sec, cmd-c

good luck