bstoilov / py3-pinterest

Fully fledged Python Pinterest client
MIT License
312 stars 106 forks source link

Improved ChromeDriver setup for Raspberry Pi #212

Closed erenalpt closed 1 week ago

erenalpt commented 1 month ago

Enhancement: Improved ChromeDriver setup for Raspberry Pi

This PR introduces changes to the ChromeDriver setup logic in the login method to enhance compatibility and stability, particularly on Raspberry Pi devices.

Changes Made:

Reasoning:

Previous implementations relied on ChromeDriverManager for all environments, including Raspberry Pi. However, due to the specific resource limitations and configuration differences on Raspberry Pi, this approach proved to be less stable.

Manually installing ChromeDriver and utilizing the specific chrome_options arguments mentioned above significantly enhances stability and reliability on Raspberry Pi devices. It also provides a more robust solution for environments where automatic ChromeDriver installation might not be feasible.

Benefits:

erenalpt commented 1 week ago

Could you review this pr? @bstoilov

bstoilov commented 1 week ago

Done, thank you for your contribution