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

IndexError: list index out of range #3

Open
mileshill opened this issue Mar 28, 2022 · 0 comments
Open

IndexError: list index out of range #3

mileshill opened this issue Mar 28, 2022 · 0 comments

Comments

@mileshill
Copy link

I think they have upped their security protocols with the cookies. I've got a membership to the site and I'm working on getting the login flow down to set up a new scraping and analysis program. I figured I'd give this a try for any guiding tips.

Here is the error code. I've tried this for 90, 180, 360 days and confirmed on the calendar that events exist in those time ranges.

I'm running on a Mac in a clean conda environment.

Traceback (most recent call last):
File "main.py", line 34, in
entries = bio.getEntries(days_to_search)
File "/Users/miles/Documents/Scratch/Biopharm/scrapers/pharma_scraper/bio.py", line 26, in getEntries
pdufaEvents = source_code.split('var pdufaEvents = ')[1].split('var pdufaReviewEvents = ')[0]
IndexError: list index out of range

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