Vyhľadajte odpoveď

Vyhnite sa podvodom s podporou. Nikdy vás nebudeme žiadať, aby ste zavolali alebo poslali SMS na telefónne číslo alebo zdieľali osobné informácie. Nahláste prosím podozrivú aktivitu použitím voľby “Nahlásiť zneužitie”.

Learn More

linux firefox get URL from downloaded file in bashscript

  • Žiadne odpovede
  • 0 má tento problém
  • 5 zobrazení
more options

I change the default action for e.g. mime type PDF to a bash script. - works I get the filename of the downloaded pdf file in my bash script - works I can do things with this downloaded file - works

But can I get the download URL of this file in my script? It's not a dedicated URL in a tab - so I can not read the URL of the active tab.

It's a direct download link from, let' say, google search.

What do I have to do to get the URL of the downloaded file in a bash script?

Thank you in advanced!

I change the default action for e.g. mime type PDF to a bash script. - works I get the filename of the downloaded pdf file in my bash script - works I can do things with this downloaded file - works But can I get the download URL of this file in my script? It's not a dedicated URL in a tab - so I can not read the URL of the active tab. It's a direct download link from, let' say, google search. What do I have to do to get the URL of the downloaded file in a bash script? Thank you in advanced!