From 4f00c8075631fb52b061764359f9b1c78b4e0085 Mon Sep 17 00:00:00 2001 From: Alex Date: Thu, 17 May 2018 09:39:17 +0200 Subject: [PATCH] update browser string and accept language --- alexa_remote_control.sh | 7 ++++--- alexa_remote_control_plain.sh | 8 ++++---- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/alexa_remote_control.sh b/alexa_remote_control.sh index 3903ab1..25f94c2 100644 --- a/alexa_remote_control.sh +++ b/alexa_remote_control.sh @@ -27,6 +27,7 @@ # (Markus Wennesheimer: https://wennez.wordpress.com/light-on-with-alexa-for-each-room/) # 2018-02-27: v0.9 unsuccessful logins will now give a short info how to debug the login # 2018-03-09: v0.9a workaround for login problem, force curl to use http1.1 +# 2018-05-17: v0.9b update browser string and accept language # ### # @@ -40,8 +41,8 @@ EMAIL='amazon_account@email.address' PASSWORD='Very_Secret_Amazon_Account_Password' -LANGUAGE="de,en" -#LANGUAGE="en-us" +LANGUAGE="de,en-US" +#LANGUAGE="en-US" AMAZON='amazon.de' #AMAZON='amazon.com' @@ -60,7 +61,7 @@ OPTS='--compressed --http1.1' #OPTS='-k --compressed --http1.1' # browser identity -BROWSER='Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:58.0) Gecko/20100101 Firefox/58.0' +BROWSER='Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:99.0) Gecko/20100101 Firefox/99.0' ########################################### # nothing to configure below here diff --git a/alexa_remote_control_plain.sh b/alexa_remote_control_plain.sh index 36ec2ab..2ef3df0 100644 --- a/alexa_remote_control_plain.sh +++ b/alexa_remote_control_plain.sh @@ -3,7 +3,7 @@ # Amazon Alexa Remote Control (PLAIN shell) # alex(at)loetzimmer.de # -# 2018-03-09: v0.9a (for updates see http://blog.loetzimmer.de/2017/10/amazon-alexa-hort-auf-die-shell-echo.html) +# 2018-05-17: v0.9b (for updates see http://blog.loetzimmer.de/2017/10/amazon-alexa-hort-auf-die-shell-echo.html) # ### # @@ -16,8 +16,8 @@ EMAIL='amazon_account@email.address' PASSWORD='Very_Secret_Amazon_Account_Password' -LANGUAGE="de,en" -#LANGUAGE="en-us" +LANGUAGE="de,en-US" +#LANGUAGE="en-US" AMAZON='amazon.de' #AMAZON='amazon.com' @@ -36,7 +36,7 @@ OPTS='--compressed --http1.1' #OPTS='-k --compressed --http1.1' # browser identity -BROWSER='Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:58.0) Gecko/20100101 Firefox/58.0' +BROWSER='Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:99.0) Gecko/20100101 Firefox/99.0' ########################################### # nothing to configure below here