coursera-dl / edx-dl

A simple tool to download video lectures from edx.org (and other openedx sites)
GNU Lesser General Public License v3.0
1.93k stars 639 forks source link

select video download quality #526

Open markcbaumann opened 6 years ago

markcbaumann commented 6 years ago

🚨Please review the Troubleshooting section before reporting any issue. Don't forget also to check the current issues to avoid duplicates.

Subject of the issue

Is it possible to select the video quality to be downloaded?

I've tried passing arguments to --youtube-dl-options, but haven't had any success choosing the video resolution to be downloaded.

Your environment

Recreating the issue

edx-dl -u username URL --youtube-dl-options -f 22 and edx-dl -u username URL --youtube-dl-options "-f 22" return error: argument --youtube-dl-options: expected one argument

edx-dl -u username URL --youtube-dl-options F and edx-dl -u username URL --youtube-dl-options "-F" return ERROR: '-F' is not a valid URL

bandupahile commented 6 years ago

Try

edx-dl -u username URL --youtube-dl-options="-f 22"

Note the = after --youtube-dl-options and before passing the actual options string.

markcbaumann commented 6 years ago

Thanks. It really was just that simple.

The usage info that is printed to the console should be corrected.