[skip ci] I'll fix the build monday
This commit is contained in:
6
grpoppro
6
grpoppro
@@ -67,7 +67,7 @@ function curlRequest {
|
|||||||
if [[ "$GRPOPPRO_DEBUG" == "off" ]]; then
|
if [[ "$GRPOPPRO_DEBUG" == "off" ]]; then
|
||||||
|
|
||||||
if [[ "$OSTYPE" == "linux-gnu" ]]; then
|
if [[ "$OSTYPE" == "linux-gnu" ]]; then
|
||||||
response="$(curl_ff117 -s -L \
|
response="$(curl_chrome100 -s -L \
|
||||||
-c"$GRPOPPRO_COOKIE_FILE" \
|
-c"$GRPOPPRO_COOKIE_FILE" \
|
||||||
-b"$GRPOPPRO_COOKIE_FILE" \
|
-b"$GRPOPPRO_COOKIE_FILE" \
|
||||||
"$url" \
|
"$url" \
|
||||||
@@ -101,7 +101,7 @@ function curlRequest {
|
|||||||
if [[ "$OSTYPE" == "linux-gnu" ]]; then
|
if [[ "$OSTYPE" == "linux-gnu" ]]; then
|
||||||
LOG_FILE="/tmp/grpoppro_curl_commands.log"
|
LOG_FILE="/tmp/grpoppro_curl_commands.log"
|
||||||
local curl_command=(
|
local curl_command=(
|
||||||
"curl_ff117"
|
"curl_chrome100"
|
||||||
"-s"
|
"-s"
|
||||||
"-L"
|
"-L"
|
||||||
"-c$GRPOPPRO_COOKIE_FILE"
|
"-c$GRPOPPRO_COOKIE_FILE"
|
||||||
@@ -622,7 +622,7 @@ fi
|
|||||||
|
|
||||||
# Ensure curl-impersonate is installed
|
# Ensure curl-impersonate is installed
|
||||||
if [[ "$OSTYPE" == "linux-gnu" ]]; then
|
if [[ "$OSTYPE" == "linux-gnu" ]]; then
|
||||||
if ! command -v curl-impersonate-ff >/dev/null 2>&1; then
|
if ! command -v curl-impersonate-chrome >/dev/null 2>&1; then
|
||||||
message "You should get curl-impersonate to make it seem less obvious you use curl"
|
message "You should get curl-impersonate to make it seem less obvious you use curl"
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user