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

politico scraper fails on "print.cfm" #28

Open
Fil opened this issue Mar 19, 2015 · 0 comments
Open

politico scraper fails on "print.cfm" #28

Fil opened this issue Mar 19, 2015 · 0 comments

Comments

@Fil
Copy link

Fil commented Mar 19, 2015

    print_link = soup.findAll('a', href=re.compile('http://dyn.politico.com/printstory.cfm.*'))[0].get('href')
IndexError: list index out of range

indeed politico's pages don't have this kind of print_link anymore

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

No branches or pull requests

1 participant