mirror of
https://github.com/mtan93/Installomator.git
synced 2026-03-08 05:31:53 +00:00
wickrme and wickrpro does not work
Servers has been changed, so various headers are needed to get the API to work. Have tried this: ``` curl -H "accept: */*" -H "accept-encoding: gzip, deflate, br" -H "accept-language: en-US,en;q=0.9" -H "content-length: 30" -H "content-type: application/json" -H "origin: https://me-download.wickr.com" -H "referer: https://me-download.wickr.com/" -H "sec-fetch-dest: empty" -H "sec-fetch-mode: cors" -H "sec-fetch-site: same-origin" -H "sec-gpc: 1" -H "user-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/104.0.5112.102 Safari/537.36" "https://me-download.wickr.com/api/download" ``` Two different hosts for Me and Pro: [https://me-download.wickr.com/](https://me-download.wickr.com/) [https://pro-download.wickr.com/](https://pro-download.wickr.com/) I have tried with Brave browser to detect what headers are needed to get the api to work, but it refuses.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
wickrme)
|
||||
# credit: Søren Theilgaard (@theilgaard)
|
||||
name="WickrMe"
|
||||
printlog "Label for $name broken in test" WARN
|
||||
type="dmg"
|
||||
downloadURL=$( curl -fs https://me-download.wickr.com/api/download/me/download/mac | tr '"' '\n' | grep -e '^https://' )
|
||||
appNewVersion=$( echo ${downloadURL} | sed -E 's/.*\/[a-zA-Z]*-([0-9.]*)\..*/\1/g' )
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
wickrpro)
|
||||
# credit: Søren Theilgaard (@theilgaard)
|
||||
name="WickrPro"
|
||||
printlog "Label for $name broken in test" WARN
|
||||
type="dmg"
|
||||
downloadURL=$( curl -fs https://me-download.wickr.com/api/download/pro/download/mac | tr '"' '\n' | grep -e '^https://' )
|
||||
appNewVersion=$( echo ${downloadURL} | sed -E 's/.*\/[a-zA-Z]*-([0-9.]*)\..*/\1/g' )
|
||||
|
||||
Reference in New Issue
Block a user