A scraper I made in python to take stocks that are going to have a drug released and have all of its data aggregated to a CSV file where I can sort and make big bux
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
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