Hey I have a simple question, I want to download the following (for a bash script) with wget:
https://app.plex.tv/desktop#!/settings/server/[[long string of letters and numbers]]/status/server-dashboard
So ofcourse I typed the following command:
wget https://app.plex.tv/desktop#!/settings/server/[[long string of letters and numbers]]/status/server-dashboard
But when I press enter, it downloads "desktop", because it stops at # in the link. AKA it downloads https:///app.plex.tv/desktop
. This is probably because # or ! means something for wget, so it 'breaks up' the link.
I tried surrounding the complete link with ' and " (e.g. 'https://.....dashboard' and "https://.....dashboard") but both didn't make wget download the whole link. Putting \ before # (e.g. /desktop\ #!/settings) or putting \ before ! (e.g. /desktop#\ !/settings) didn't work.
When I view the command (with nano) in my bash script, I can see that the ! in the link is green, while the rest of the link is gray. So it's deffinetely breaking the link.
How can I make sure wget downloads the whole link and doesn't stop at '#' or '!'?
thanks