1
0
mirror of https://github.com/ytdl-org/youtube-dl.git synced 2025-04-23 23:37:32 +00:00
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
..
2021-04-17 03:32:04 +07:00
2021-06-06 01:38:22 +07:00