diff --git a/gaboshlib/g_wget.sh b/gaboshlib/g_wget.sh index 2d82e61..f26b0f7 100644 --- a/gaboshlib/g_wget.sh +++ b/gaboshlib/g_wget.sh @@ -1,3 +1,7 @@ function g_wget { - wget -T 10 -t 2 -U "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.159 Safari/537.36" $@ + wget -T 10 -t 2 \ + --header="User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.0.0 Safari/537.36" \ + --header="Content-Type: application/json" \ + --header="Accept-Language: en-US,en," \ + $@ }