Computer Systems AS2022 breaks scraper
Running
$ ./vo-scraper.py https://video.ethz.ch/lectures/d-infk/2022/autumn/252-0217-00L.html
and selecting the newest lecture gives
You selected:
Nr. | Date | Name | Lecturer
0 | 2022-11-25 | Computer Systems | ['Roscoe, Timothy', 'Wattenhofer, Roger', 'Shinde, Shweta']
This lecture requires a NETHZ login
Enter your username: tgeorg
Password:
Traceback (most recent call last):
File "/home/tgeorg/Desktop/Uni Videos/./vo-scraper.py", line 1050, in <module>
video_src_collection += vo_scrapper(link, video_quality, user, password)
File "/home/tgeorg/Desktop/Uni Videos/./vo-scraper.py", line 552, in vo_scrapper
video_src_link, available_video_quality = get_video_src_link_for_resolution(video_json_data, video_quality)
File "/home/tgeorg/Desktop/Uni Videos/./vo-scraper.py", line 405, in get_video_src_link_for_resolution
for vid_version in video_json_data['streams'][0]['sources']['mp4']:
IndexError: list index out of range
For reference, this lecture only uploads audio recordings.
Edited by Georg Teufelberger