Skip to content

Conversation

@davidjtran
Copy link
Contributor

Finding links on the home page. It is very easy to add other base cases so let me know if you think of anymore. Also I used "terms" to match the phrase instead of "terms of service" since some websites use only "terms".

chrome_options.set_headless()

# Start chrome driver, and set window to initial width and height
driver = webdriver.Chrome(chrome_options=chrome_options)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should think about using Scrapy instead of chrome unless we need to render the page. Chrome headless has a huge memory overhead and high cpu load.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants