I want to automate the distribution of the latest version of our Custom Quick Support Module.
When I open "https://get.teamviewer.com/OurCustomQSName" with any browser, the download starts immediately.
In my script I use curl. The download from the original URL does not work.
Which parameters do I have to specify to get the current version in my language?
I found that I can use the URL "https://customdesign.teamviewer.com/download/version_14x/ourqssupportid/TeamViewerQS.exe" and have to specify a UserAgent, e.g. "Mozilla/5.0 (Windows NT 10.0; Win64; x64)" to get version 14.x.
I would like to have the script working with the next version without change.
After the download I want to check the version number of the downloaded file to make sure it is a newer version before making the new file available.
Have you had any replies? I'm wanting to do the same. Seems to redirect then expire the link.
Unfortunately I had no replies.
My downlaod works when I use
-h "Mozilla/5.0 (Windows NT 10.0; Win64; x64)"
but only if I tried the download whithin a browser a short time before.