Today I got an URLretrieval error again, and this time the culprit has nothing to do with the file names. I figured out through some testing that the NBA is blocking tabula from reading the pdf files at:
dfs_headpg = tabula.read_pdf(filepath, stream=True, area=area_headpg,
columns=cols_headpg, pages=1)
On my repo, I created a solution that is currently working if you would like to draw inspiration from. I am basically downloading the files temporarily and having tabula read them locally and not directly from the NBA. The files do get deleted and are not permanent downloads.
Here is the link to my commits:
main...Relenes510:nbainjuries:main
Today I got an URLretrieval error again, and this time the culprit has nothing to do with the file names. I figured out through some testing that the NBA is blocking tabula from reading the pdf files at:
dfs_headpg = tabula.read_pdf(filepath, stream=True, area=area_headpg,
columns=cols_headpg, pages=1)
On my repo, I created a solution that is currently working if you would like to draw inspiration from. I am basically downloading the files temporarily and having tabula read them locally and not directly from the NBA. The files do get deleted and are not permanent downloads.
Here is the link to my commits:
main...Relenes510:nbainjuries:main