aioamazondevices 6.1.0__py3-none-any.whl → 6.1.1__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- aioamazondevices/__init__.py +1 -1
- aioamazondevices/api.py +3 -2
- {aioamazondevices-6.1.0.dist-info → aioamazondevices-6.1.1.dist-info}/METADATA +1 -1
- {aioamazondevices-6.1.0.dist-info → aioamazondevices-6.1.1.dist-info}/RECORD +6 -6
- {aioamazondevices-6.1.0.dist-info → aioamazondevices-6.1.1.dist-info}/LICENSE +0 -0
- {aioamazondevices-6.1.0.dist-info → aioamazondevices-6.1.1.dist-info}/WHEEL +0 -0
aioamazondevices/__init__.py
CHANGED
aioamazondevices/api.py
CHANGED
@@ -22,7 +22,7 @@ from aiohttp import (
|
|
22
22
|
ClientSession,
|
23
23
|
)
|
24
24
|
from bs4 import BeautifulSoup, Tag
|
25
|
-
from langcodes import Language
|
25
|
+
from langcodes import Language, standardize_tag
|
26
26
|
from multidict import MultiDictProxy
|
27
27
|
from yarl import URL
|
28
28
|
|
@@ -163,7 +163,8 @@ class AmazonEchoApi:
|
|
163
163
|
lang_maximized = lang_object.maximize()
|
164
164
|
|
165
165
|
self._domain: str = domain
|
166
|
-
|
166
|
+
language = f"{lang_maximized.language}-{lang_maximized.territory}"
|
167
|
+
self._language = standardize_tag(language)
|
167
168
|
|
168
169
|
# Reset CSRF cookie when changing country
|
169
170
|
self._csrf_cookie: str | None = None
|
@@ -1,12 +1,12 @@
|
|
1
|
-
aioamazondevices/__init__.py,sha256=
|
2
|
-
aioamazondevices/api.py,sha256
|
1
|
+
aioamazondevices/__init__.py,sha256=MClC2ozQ757Uf3LM3AnbaSMGc47eUbVRdIAQc0fbT8w,276
|
2
|
+
aioamazondevices/api.py,sha256=oeRI_ZhsEaaSh2iXFbqTgAbTq-VrJ1jW7C11cXpYHss,40721
|
3
3
|
aioamazondevices/const.py,sha256=bqJmaStichdm0zB1RQYXa4OPz2gU2JnmUFQHeItlnZE,10808
|
4
4
|
aioamazondevices/exceptions.py,sha256=JDnSFi_7oEhqK31sHXf0S_cyMoMjiRJuLp4ow7mYgLY,643
|
5
5
|
aioamazondevices/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
6
6
|
aioamazondevices/query.py,sha256=AGHHzefzfYzB7RLWPtlFxYc_rpUZdoeApsU2jYz3urQ,2053
|
7
7
|
aioamazondevices/sounds.py,sha256=CXMDk-KoKVFxBdVAw3MeOClqgpzcVDxvQhFOJp7qX-Y,1896
|
8
8
|
aioamazondevices/utils.py,sha256=RzuKRhnq_8ymCoJMoQJ2vBYyuew06RSWpqQWmqdNczE,2019
|
9
|
-
aioamazondevices-6.1.
|
10
|
-
aioamazondevices-6.1.
|
11
|
-
aioamazondevices-6.1.
|
12
|
-
aioamazondevices-6.1.
|
9
|
+
aioamazondevices-6.1.1.dist-info/LICENSE,sha256=sS48k5sp9bFV-NSHDfAJuTZZ_-AP9ZDqUzQ9sffGlsg,11346
|
10
|
+
aioamazondevices-6.1.1.dist-info/METADATA,sha256=fWju3izz8YjDYtWqj2CHHTHSC-YjmWWD8DHTIi4wKO8,7623
|
11
|
+
aioamazondevices-6.1.1.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
|
12
|
+
aioamazondevices-6.1.1.dist-info/RECORD,,
|
File without changes
|
File without changes
|