Ricardo-Osorio / epicgames-weekly-freegames

Automatically grab the weekly free games made available on epicgames store
MIT License
75 stars 7 forks source link

Timeout error if purchase_button = GET #20

Closed Andrej730 closed 4 years ago

Andrej730 commented 4 years ago

I'm getting Timeout error at the following lines: https://github.com/Ricardo-Osorio/epicgames-weekly-freegames/blob/3fb08e7b7a5f59ab0e314fa70cc00286ba0686dd/main.py#L193

https://github.com/Ricardo-Osorio/epicgames-weekly-freegames/blob/3fb08e7b7a5f59ab0e314fa70cc00286ba0686dd/main.py#L39

What helped me is to add

purchase_button.click()

before https://github.com/Ricardo-Osorio/epicgames-weekly-freegames/blob/3fb08e7b7a5f59ab0e314fa70cc00286ba0686dd/main.py#L193

Ricardo-Osorio commented 4 years ago

That click was indeed missing! Thank you very much