Skip to content
This repository was archived by the owner on Jan 23, 2025. It is now read-only.

Commit

Permalink
Merge pull request #21 from simonstamm/main
Browse files Browse the repository at this point in the history
Set ECDH curve to secp384r1 for cloudscraper to bypass WAF
  • Loading branch information
FaserF authored Jan 4, 2024
2 parents 7b42296 + a137f6a commit 304a7cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/rewe/sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ def __init__(self, config, hass: HomeAssistantType):
self._name = f"Rewe {self.market_id}"
self._state = None
self._available = True
self._session = cloudscraper.create_scraper()
self._session = cloudscraper.create_scraper(ecdhCurve="secp384r1")

@property
def name(self) -> str:
Expand Down

0 comments on commit 304a7cc

Please sign in to comment.