Here's the patch to fix download website will redirect to http in some countries. Please merge to PKGBUILD
:
diff --git a/PKGBUILD b/PKGBUILD
index fc85f18..324cacf 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -69,7 +69,7 @@ _useragent="$(printf '%s' "$_useragent" | sed 's/[[:space:]]\+/ /g')"
_useragent_escaped="${_useragent// /\\ }"
_siteurl="https://www.blackmagicdesign.com/api/register/us/download/${_downloadId}"
-_srcurl="$(curl \
+_srcurl="$(curl -L --post301\
-s \
-H 'Host: www.blackmagicdesign.com' \
-H 'Accept: application/json, text/plain, */*' \
@@ -86,6 +86,15 @@ _srcurl="$(curl \
"$_siteurl")"
DLAGENTS=("https::/usr/bin/curl \
+ -gqb '' -C - --retry 3 --retry-delay 3 \
+ -H Upgrade-Insecure-Requests:\ 1 \
+ -H ${_useragent_escaped} \
+ -H Accept:\ text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8 \
+ -H Accept-Language:\ en-US,en;q=0.9 \
+ -o %o \
+ --compressed \
+ %u"
+ "http::/usr/bin/curl \
-gqb '' -C - --retry 3 --retry-delay 3 \
-H Upgrade-Insecure-Requests:\ 1 \
-H ${_useragent_escaped} \
Thanks.
Pinned Comments
satriani commented on 2021-05-15 14:24 (UTC)
Issues and bugs, please report on the official forum here: https://forum.blackmagicdesign.com/viewforum.php?f=21&sid=239f0d5c49abe5d6a635b69638192e9a Thank you!
Visit DaVinci Resolve - ArchWiki before installing: https://wiki.archlinux.org/title/DaVinci_Resolve
ATTENTION: Please don't flag this package as out-of-date before beta version has been released as stable!
This is a current stable Package!
The current free beta is available here: https://aur.archlinux.org/packages/davinci-resolve-studio-beta/
For current free beta here: https://aur.archlinux.org/packages/davinci-resolve-beta/
Thanks.