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 nowHD
if 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
, andlow
will no longer work. Instead usehighest
for highest,lowest
for lowest, or a specific numeric value for the desired resolution (e.g.720p
or 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
--all
parameter. To prevent this generally it is recommended to use the--history
parameter.