Поиск в Поддержке

Избегайте мошенников, выдающих себя за службу поддержки. Мы никогда не попросим вас позвонить, отправить текстовое сообщение или поделиться личной информацией. Сообщайте о подозрительной активности, используя функцию «Пожаловаться».

Learn More

linux firefox get URL from downloaded file in bashscript

  • Нет ответов
  • 0 имеют эту проблему
  • 2 просмотра
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!