python src/preprocess.py --update_database
INFO:__main__:Updating database
INFO:__main__:Downloading from https://sponsor.ajay.app/database/sponsorTimes.csv
Traceback (most recent call last):
File "/Users/ohadbasan/sponsorblock-ml/src/preprocess.py", line 979, in <module>
main()
File "/Users/ohadbasan/sponsorblock-ml/src/preprocess.py", line 529, in main
if download_file(mirror, raw_dataset_path):
File "/Users/ohadbasan/sponsorblock-ml/src/preprocess.py", line 497, in download_file
total_bytes = int(r.headers['Content-Length'])
File "/Users/ohadbasan/code/orchestration/venv/lib/python3.10/site-packages/requests/structures.py", line 52, in __getitem__
return self._store[key.lower()][1]
KeyError: 'content-length'