Merge pull request #13 from adn77/master

update browser string and accept language
This commit is contained in:
Alex 2018-05-17 09:41:37 +02:00 committed by GitHub
commit 791db15f18
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 7 deletions

View File

@ -27,6 +27,7 @@
# (Markus Wennesheimer: https://wennez.wordpress.com/light-on-with-alexa-for-each-room/) # (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-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-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' EMAIL='amazon_account@email.address'
PASSWORD='Very_Secret_Amazon_Account_Password' PASSWORD='Very_Secret_Amazon_Account_Password'
LANGUAGE="de,en" LANGUAGE="de,en-US"
#LANGUAGE="en-us" #LANGUAGE="en-US"
AMAZON='amazon.de' AMAZON='amazon.de'
#AMAZON='amazon.com' #AMAZON='amazon.com'
@ -60,7 +61,7 @@ OPTS='--compressed --http1.1'
#OPTS='-k --compressed --http1.1' #OPTS='-k --compressed --http1.1'
# browser identity # 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 # nothing to configure below here

View File

@ -3,7 +3,7 @@
# Amazon Alexa Remote Control (PLAIN shell) # Amazon Alexa Remote Control (PLAIN shell)
# alex(at)loetzimmer.de # 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' EMAIL='amazon_account@email.address'
PASSWORD='Very_Secret_Amazon_Account_Password' PASSWORD='Very_Secret_Amazon_Account_Password'
LANGUAGE="de,en" LANGUAGE="de,en-US"
#LANGUAGE="en-us" #LANGUAGE="en-US"
AMAZON='amazon.de' AMAZON='amazon.de'
#AMAZON='amazon.com' #AMAZON='amazon.com'
@ -36,7 +36,7 @@ OPTS='--compressed --http1.1'
#OPTS='-k --compressed --http1.1' #OPTS='-k --compressed --http1.1'
# browser identity # 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 # nothing to configure below here