FaserF / ha-rewe

Rewe Discounts Homeassistant Integration
GNU General Public License v3.0
15 stars 4 forks source link

Set ECDH curve to secp384r1 for cloudscraper to bypass WAF #21

Closed simonstamm closed 9 months ago

simonstamm commented 9 months ago

Proposed Changes

To bypass the WAF of the Rewe API endpoint it's necessary (at least in 2024.1.0 with cloudscraper 1.2.71) to set the ECDH curve to secp384r1 in order to allow a reliable communication.

Related Issues

FaserF commented 9 months ago

Thank you :) 👍🏼

simonstamm commented 9 months ago

Thanks for releasing so fast! :)