youtube-dl/youtube_dl
Friendly df1852a74e Option to determine extractors ahead of time
Sometimes I just want to know whether youtube-dl can be expected to handle a given URL.  This option accomplishes that quickly.  Previously, I would run youtube-dl with --simulate or --skip-download, but these would take 5+ seconds on my system before returning.  The --determine-extractors option of this PR, however, only takes 1.3 to 2.6 seconds.  You can use it, for example, to handle arbitrary URLs intelligently:  If --determine-extractor indicates success, run youtube-dl (or mpv or whatever).  Otherwise, run $BROWSER.

Thank you.
2021-10-10 22:44:24 -04:00
..
downloader [downloader/hls] Disable decryption in tests (#27660) 2021-01-05 01:24:01 +07:00
extractor [peertube] only call description endpoint if necessary (#29383) 2021-07-01 06:53:22 +00:00
postprocessor [postprocessor/ffmpeg] Show ffmpeg output on error (refs #22680) (#29336) 2021-06-20 23:58:19 +07:00
__init__.py Option to determine extractors ahead of time 2021-10-10 22:44:24 -04:00
__main__.py [refactor] Single quotes consistency 2016-02-14 15:37:17 +06:00
aes.py Switch codebase to use compat_b64decode 2018-01-23 22:23:12 +07:00
cache.py Use expand_path where appropriate (closes #12556) 2017-03-26 02:31:16 +07:00
compat.py [compat] Use more conventional name for compat SimpleCookie 2021-04-06 14:22:28 +07:00
jsinterp.py [jsinterp] Fix typo and cleanup regexes (closes #13134) 2017-05-18 22:57:38 +07:00
options.py Option to determine extractors ahead of time 2021-10-10 22:44:24 -04:00
socks.py [socks] Report errors elegantly when credentails are required but missing 2017-04-22 21:48:41 +08:00
swfinterp.py Update coding style after pycodestyle 2.1.0 2016-11-17 19:45:42 +08:00
update.py [update] Fix updating via symlinks (closes #23991) 2020-02-08 19:46:58 +07:00
utils.py [utils] PEP 8 2021-04-17 03:32:04 +07:00
version.py release 2021.06.06 2021-06-06 01:38:22 +07:00
YoutubeDL.py [YoutubeDL] Improve extract_info doc (#28946) 2021-05-05 03:31:24 +07:00