11-11-2023, 04:57 PM
(11-09-2023, 03:56 PM)QZMTCH Wrote: good function, I didn’t know about this one, but is it possible to transfer some information from the browser to cmd through this command? such as link address, title, etc.This feature doesn't support variables for now.
Code:cmd://yt-dlp -o "C:\Users\QZMTCH\Desktop\%(title)s.%(ext)s" "https://www.youtube.com/watch?v=V36qnbVefWc"
as an example. It downloads the video so well, but there is no way to transfer the page link to cmd
I tried options from bookmarklets location.href
I tried the option with a variable from the local state {URL} https://i.imgur.com/SyUoSIv.png Do you have internal variables here, I thought maybe they are available from this bookmark option
If there is no such option, can you add such an option?
[/font][/color]for this function to be the best in everything, you need the maximum amount of information that is in the internal variables or from javascript variables
{URL} {TITLE} {REFERRER} {USER_AGENT} {COOKIES} {PROXY_SERVER}
and if possible, give the opportunity to add these links to the context menu by links (well that's if it's possible)
but if you can already pass at least a link, then show how, this will already be enough for many options, Thanks
These variables seem no much use except for yt-dlp.
Even in yt-dlp, there are still many scenarios to consider.
For example, many <video> are within <iframe>, in such case we need to send {COOKIES} and {REFERRER} of <iframe> URL instead of current tab URL.
But command bookmark doesn't know this.