Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

implementing direct presentation to user - check if link is on homepage #33

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

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.

2 participants