Skip to content

Commit

Permalink
feat: quictls; fix
Browse files Browse the repository at this point in the history
  • Loading branch information
woniuzfb committed May 10, 2024
1 parent 9e83dea commit 04d1f6d
Show file tree
Hide file tree
Showing 26 changed files with 3,597 additions and 1,821 deletions.
2 changes: 1 addition & 1 deletion core
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ CurlFake()
elif [ "$service_name" == "xtream_codes" ]
then
rm -f "${CURL_IMPERSONATE_FILE}-$service_name"
awk '!x{x=sub(/dir=.*/,"dir='"$HOME/curl-impersonate"'")}1' "$HOME/curl-impersonate/curl_chrome99_android" > "${CURL_IMPERSONATE_FILE}-$service_name"
awk '!x{x=sub(/dir=.*/,"dir='"$DEPENDS_ROOT/curl-impersonate"'")}1' "$DEPENDS_ROOT/curl-impersonate/curl_chrome99_android" > "${CURL_IMPERSONATE_FILE}-$service_name"
chmod +x "${CURL_IMPERSONATE_FILE}-$service_name"
echo "$(awk '!x{x=sub(/-H '\''User-Agent: .*'\'' \\/,"-H '\''User-Agent: '"$USER_AGENT_TV"''\'' \\")}1' "${CURL_IMPERSONATE_FILE}-$service_name")" > "${CURL_IMPERSONATE_FILE}-$service_name"
shift
Expand Down
Loading

0 comments on commit 04d1f6d

Please sign in to comment.