Closed Giglium closed 10 months ago
When the cookie _vinted_fr_session is not secure the package throws the error: Cannot fetch session cookie
_vinted_fr_session
Cannot fetch session cookie
The problem is in these lines, where we check for a secure cookie. https://github.com/Giglium/vinted_scraper/blob/3b42936df85b056b7ddd55f4489676177f0456c3/src/vinted_scraper/vintedWrapper.py#L42L43 It's not mandatory to check if the cookie is secure; we should only check for the cookie name
Describe the bug
When the cookie
_vinted_fr_session
is not secure the package throws the error:Cannot fetch session cookie
Steps to reproduce
Other information
The problem is in these lines, where we check for a secure cookie. https://github.com/Giglium/vinted_scraper/blob/3b42936df85b056b7ddd55f4489676177f0456c3/src/vinted_scraper/vintedWrapper.py#L42L43 It's not mandatory to check if the cookie is secure; we should only check for the cookie name