Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:MaxxedSUSE:leap
davinci-resolve-updater
get-download-url
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File get-download-url of Package davinci-resolve-updater
#!/bin/bash # Get the downloadId siteurl="https://www.blackmagicdesign.com/api/support/latest-stable-version/davinci-resolve/linux" releaseinfo=$(curl -s "$siteurl") downloadId=$(printf "%s" $releaseinfo | jq -r ".linux.downloadId") siteUrl="https://www.blackmagicdesign.com/api/register/us/download/${downloadId}" referId='dfd43085ef224766b06b579ce8a6d097' userAgent="User-Agent: Mozilla/5.0 (X11; Linux x86_64) \ AppleWebKit/537.36 (KHTML, like Gecko) \ Chrome/77.0.3865.75 \ Safari/537.36" reqJson="{ \ \"firstname\": \"Regata OS\", \ \"lastname\": \"Project\", \ \"email\": \"regataosproject@gmail.com\", \ \"phone\": \"202-555-0194\", \ \"country\": \"us\", \ \"street\": \"Bowery 146\", \ \"state\": \"New York\", \ \"city\": \"AUR\", \ \"product\": \"DaVinci Resolve\" \ }" reqJson="$( printf '%s' "$reqJson" | sed 's/[[:space:]]\+/ /g')" userAgent="$(printf '%s' "$userAgent" | sed 's/[[:space:]]\+/ /g')" userAgent_escaped="${userAgent// /\\ }" srcUrl="$(curl \ -s \ -H 'Host: www.blackmagicdesign.com' \ -H 'Accept: application/json, text/plain, */*' \ -H 'Origin: https://www.blackmagicdesign.com' \ -H "$userAgent" \ -H 'Content-Type: application/json;charset=UTF-8' \ -H "Referer: https://www.blackmagicdesign.com/support/download/${referId}/Linux" \ -H 'Accept-Encoding: gzip, deflate, br' \ -H 'Accept-Language: en-US,en;q=0.9' \ -H 'Authority: www.blackmagicdesign.com' \ -H 'Cookie: _ga=GA1.2.1849503966.1518103294; _gid=GA1.2.953840595.1518103294' \ --data-ascii "$reqJson" \ --compressed \ "$siteUrl")" echo ${srcUrl}
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor