Download videos to mp4 format
This commit is contained in:
parent
7d280e3c04
commit
fd65bf91a5
@ -17,7 +17,7 @@ _playlists = {}
|
|||||||
# output template: CHANNEL/DATE_TITLE_[ID].ext
|
# output template: CHANNEL/DATE_TITLE_[ID].ext
|
||||||
DEFAULT_OUTPUT_TMPL = "%(channel)s/%(upload_date)s_%(title)s_[%(id)s].%(ext)s"
|
DEFAULT_OUTPUT_TMPL = "%(channel)s/%(upload_date)s_%(title)s_[%(id)s].%(ext)s"
|
||||||
# download video 1080p or lower with audio
|
# download video 1080p or lower with audio
|
||||||
DEFAULT_FORMAT = "bestvideo[height<=720]+bestaudio/best[height<=720]"
|
DEFAULT_FORMAT = "bestvideo[height<=720][ext=mp4]+bestaudio/best[height<=720]"
|
||||||
program_dir = os.path.dirname(os.path.realpath(__file__))
|
program_dir = os.path.dirname(os.path.realpath(__file__))
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user