bellingcat / instagram-location-search

Finds Instagram location IDs near a specified latitude and longitude.
https://pypi.org/project/instagram-location-search/
MIT License
573 stars 83 forks source link

Automatic Cookie Workflow fails on Windows with Google Chrome #23

Closed GalenReich closed 8 months ago

GalenReich commented 8 months ago

Currently when trying to run the automatic cookie getting workflow (on Windows), the browser fails to open and the command errors with

instagram-location-search\.venv\Lib\site-packages\webdriver_manager\drivers\chrome.py", line 64, in get_latest_release_version
    determined_browser_version = ".".join(determined_browser_version.split(".")[:3])
                                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'split'

This is the same issue as here: https://github.com/SergeyPirogov/webdriver_manager/issues/649

I suspect it is related to chrome_type=ChromeType.CHROMIUM, as changing it to ChromeType.GOOGLE fixes it for me, but this could be a Windows specific solution.

loganwilliams commented 8 months ago

Fixed in a8a5265c1de921994f07bc7d482481e3966920a0