Skip to content

Commit

Permalink
fix(crawler): add new chrome option to fix WebDriverException error o…
Browse files Browse the repository at this point in the history
…n heroku

see the full issue here :
heroku/heroku-buildpack-google-chrome#92
  • Loading branch information
abysswarrior committed May 31, 2022
1 parent b2c7286 commit 53367be
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions common/crawler.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ def crawl(url):
# some option to work headless
chrome_options.add_argument("--no-sandbox")
chrome_options.add_argument("--headless")
chrome_options.add_argument('--disable-dev-shm-usage')

# add windows size to crawl whole page
# TODO: add scrolling feature to selenium
Expand Down

0 comments on commit 53367be

Please sign in to comment.