From 4938153af5b6188dd4938312cbb26bac1ba7e12d Mon Sep 17 00:00:00 2001 From: mrfunkycoda <34271361+mrfunkycoda@users.noreply.github.com> Date: Tue, 5 Dec 2017 15:30:54 +0200 Subject: [PATCH] Update YoutubeDL.py Added comment about the youtube_prefer_get_video_info workaround option --- youtube_dl/YoutubeDL.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/youtube_dl/YoutubeDL.py b/youtube_dl/YoutubeDL.py index 68721e9ab..36990f3b4 100755 --- a/youtube_dl/YoutubeDL.py +++ b/youtube_dl/YoutubeDL.py @@ -272,6 +272,11 @@ class YoutubeDL(object): Must only be used along with sleep_interval. Actual sleep time will be a random float from range [sleep_interval; max_sleep_interval]. + youtube_prefer_get_video_info: By prefering a Youtube link extracted from + get_video_info instead of the video's webpage, Youtube + is likely to send a link with the + 'content-disposition: Attachment' header added (provided + you add the '&title=....' option to the link) listformats: Print an overview of available video formats and exit. list_thumbnails: Print a table of all thumbnails and exit. match_filter: A function that gets called with the info_dict of