j-andrews7 / kenpompy

A simple yet comprehensive web scraper for kenpom.com.
https://kenpompy.readthedocs.io/en/latest/?badge=latest
GNU General Public License v3.0
73 stars 21 forks source link

get_fourfactors (index out of range error) #15

Closed Joshimmor closed 2 years ago

Joshimmor commented 2 years ago

When making a get_fourfactors call, a list index out of range error was returned. I used this library before, I don't know how to trace this bug.

esqew commented 2 years ago

I only get this when my login fails; otherwise I can't reproduce this. Can you verify your credentials, then run this small script and see what happens?

from kenpompy.utils import login
from kenpompy.summary import get_fourfactors

browser = login(r'<my_email>', r'<my_password>')
print(get_fourfactors(browser, 2022))
j-andrews7 commented 2 years ago

Yeah, I can't replicate this, likely due to not logging in. Closing, but feel free to re-open if it's still a problem.