Merge features from dev to master
Features:
- Allow downloading specific resolutions (e.g.
HD,4K, or numeric values like720p) instead of the previously vaguely definedhigh,medium,low. Default resolution is nowHDif nothing is specified. This also fixes issues caused when a lecture supplied more then 3 different resolutions. - Added
requirements.txt - Fixed the way the date is added to the filename to be consistent between older and newer lectures. ETH changed the timestamp formatting to include seconds halfway through SS21.
- Fixed a few typos
Changes:
- Renamed a few variables
- Used some more f-strings for print formatting
Breakage:
- For the video quality
high,medium, andlowwill no longer work. Instead usehighestfor highest,lowestfor lowest, or a specific numeric value for the desired resolution (e.g.720por keywords likeHD,4K). - As the quality of the video is also part of the filename this means what previously downloaded videos might get redownloaded when using the
--allparameter. To prevent this generally it is recommended to use the--historyparameter.