added headers

This commit is contained in:
olli 2024-10-22 10:55:58 +02:00
parent 71cf1ec44c
commit cb67db2a78

View File

@ -1,3 +1,7 @@
function g_wget { 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," \
$@
} }