Skip to content

Commit

Permalink
set ecdh curve to secp384r1 for cloudscraper to bypass WAF
Browse files Browse the repository at this point in the history
  • Loading branch information
simonstamm committed Jan 4, 2024
1 parent 7b42296 commit a137f6a
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 a137f6a

Please sign in to comment.