aioamazondevices 0.5.0__py3-none-any.whl → 0.6.0__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.
@@ -1,6 +1,6 @@
1
1
  """aioamazondevices library."""
2
2
 
3
- __version__ = "0.5.0"
3
+ __version__ = "0.6.0"
4
4
 
5
5
 
6
6
  from .api import AmazonDevice, AmazonEchoApi
aioamazondevices/api.py CHANGED
@@ -153,7 +153,7 @@ class AmazonEchoApi:
153
153
  def _get_request_from_soup(self, soup: BeautifulSoup) -> tuple[str, str]:
154
154
  """Extract URL and method for the next request."""
155
155
  _LOGGER.debug("Get request data from HTML source")
156
- form = soup.find("form")
156
+ form = soup.find("form", {"name": "signIn"}) or soup.find("form")
157
157
  if isinstance(form, Tag):
158
158
  method = form["method"]
159
159
  url = form["action"]
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: aioamazondevices
3
- Version: 0.5.0
3
+ Version: 0.6.0
4
4
  Summary: Python library to control Amazon devices
5
5
  Home-page: https://github.com/chemelli74/aioamazondevices
6
6
  License: Apache Software License 2.0
@@ -0,0 +1,9 @@
1
+ aioamazondevices/__init__.py,sha256=yo5hkSgxhpMQLUQO67XfINgQNxrncsWR32abuZzsals,276
2
+ aioamazondevices/api.py,sha256=_KQtNmw7mOEMOxWmLl0MAQj_MLnTngL_zJzgxQUqfwg,10830
3
+ aioamazondevices/const.py,sha256=bZaeO8AeJbDc5hdlbJ3cMwM9teTgYhExSR1oEpRFMLk,1089
4
+ aioamazondevices/exceptions.py,sha256=tERMur_gry9TmU3UyzndJO_CLViISn4b8ClrRbryFy8,444
5
+ aioamazondevices/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
6
+ aioamazondevices-0.6.0.dist-info/LICENSE,sha256=sS48k5sp9bFV-NSHDfAJuTZZ_-AP9ZDqUzQ9sffGlsg,11346
7
+ aioamazondevices-0.6.0.dist-info/METADATA,sha256=kE5iT7Eid9foSh4dKTHaLVGw_0TezvDqCGDWZtH3Qes,4680
8
+ aioamazondevices-0.6.0.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
9
+ aioamazondevices-0.6.0.dist-info/RECORD,,
@@ -1,9 +0,0 @@
1
- aioamazondevices/__init__.py,sha256=aOjUMysFEPX7FkoZs7DPlmYL34jt9C4NxZvtqHg8fRE,276
2
- aioamazondevices/api.py,sha256=XAUw079QI2CC6eL532_LVg566B-Nxo4WmO_IP2zL_P8,10789
3
- aioamazondevices/const.py,sha256=bZaeO8AeJbDc5hdlbJ3cMwM9teTgYhExSR1oEpRFMLk,1089
4
- aioamazondevices/exceptions.py,sha256=tERMur_gry9TmU3UyzndJO_CLViISn4b8ClrRbryFy8,444
5
- aioamazondevices/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
6
- aioamazondevices-0.5.0.dist-info/LICENSE,sha256=sS48k5sp9bFV-NSHDfAJuTZZ_-AP9ZDqUzQ9sffGlsg,11346
7
- aioamazondevices-0.5.0.dist-info/METADATA,sha256=ehxItLiYDhugr7qAG0FOUNnC4uZlTydwOZNzVnZReH4,4680
8
- aioamazondevices-0.5.0.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
9
- aioamazondevices-0.5.0.dist-info/RECORD,,