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

Use Scraper.get in all scrapers #55

Merged
merged 2 commits into from
Apr 17, 2016
Merged

Use Scraper.get in all scrapers #55

merged 2 commits into from
Apr 17, 2016

Conversation

arkon
Copy link
Contributor

@arkon arkon commented Apr 17, 2016

No description provided.

def get_html(url, params=None, cookies=None, headers=None, max_attempts=10):
"""Fetches the HTML page source, automatically retrying if it times out."""
def get(url, params=None, cookies=None, headers=None, json=False, max_attempts=10):
"""Fetches an Internet document, automatically retrying if it times out."""
Copy link
Member

Choose a reason for hiding this comment

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

beautiful

@qasim qasim merged commit c2a6c76 into cobalt-uoft:master Apr 17, 2016
@arkon arkon deleted the parent-get branch April 17, 2016 22:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants