// WHAT EACH yt-dlp OPTION MEANS FOR A NETWORK EXIT (lane network-exits, // review 3 nit 5), classified BY A PERSON, one entry per long name of // lib/ytdlpOptions.ts: // cookie carries a cookie jar -> the listing goes direct // login carries an account, a token or acts as one (--mark-watched) // header sets a request header or spoofs where the request comes from // config loads other options, code or another program (anything could be in it) // proxy the channel's own proxy (the listing is today's, untouched) // none reviewed: changes nothing about who is asking or from where // An option the table has and this map does not is treated as `config` at run // time (pinned direct), and lib/networkExits.test.ts FAILS until it is // classified here: regenerating the table never silently admits a new option. // Classified for yt-dlp 2026.10.26, 21 Nov 2026. export type YtdlpOptionClass = "cookie" | "login" | "header" | "config" | "proxy" | "none"; export const YTDLP_OPTION_CLASSES: Readonly> = { "--S-force": "none", "--abort-on-error": "none", "--abort-on-unavailable-fragments": "none", "--add-chapters": "none", "--add-headers": "header", "--add-metadata": "none", "--age-limit": "none", "--alias": "config", "--all-formats": "none", "--all-subs": "none", "--allow-dynamic-mpd": "none", "--allow-unplayable-formats": "none", "--ap-list-mso": "none", "--ap-mso": "login", "--ap-password": "login", "--ap-username": "login", "--audio-format": "none", "--audio-multistreams": "none", "--audio-quality": "none", "--autonumber-size": "none", "--autonumber-start": "none", "--batch-file": "config", "--bidi-workaround": "none", "--break-match-filters": "none", "--break-on-existing": "none", "--break-on-reject": "none", "--break-per-input": "none", "--buffer-size": "none", "--cache-dir": "none", "--call-home": "none", "--check-all-formats": "none", "--check-formats": "none", "--clean-info-json": "none", "--clean-infojson": "none", "--client-certificate": "login", "--client-certificate-key": "login", "--client-certificate-password": "login", "--cn-verification-proxy": "proxy", "--color": "none", "--compat-options": "config", "--concat-playlist": "none", "--concurrent-fragments": "none", "--config-locations": "config", "--console-title": "none", "--continue": "none", "--convert-sub": "none", "--convert-subs": "none", "--convert-subtitles": "none", "--convert-thumbnails": "none", "--cookies": "cookie", "--cookies-from-browser": "cookie", "--date": "none", "--dateafter": "none", "--datebefore": "none", "--default-search": "none", "--download-archive": "none", "--download-sections": "none", "--downloader": "config", "--downloader-args": "config", "--dump-json": "none", "--dump-pages": "none", "--dump-single-json": "none", "--dump-user-agent": "none", "--embed-chapters": "none", "--embed-info-json": "none", "--embed-metadata": "none", "--embed-subs": "none", "--embed-thumbnail": "none", "--enable-file-urls": "none", "--encoding": "none", "--exec": "config", "--exec-before-download": "config", "--external-downloader": "config", "--external-downloader-args": "config", "--extract-audio": "none", "--extractor-args": "login", "--extractor-descriptions": "none", "--extractor-retries": "none", "--ffmpeg-location": "config", "--file-access-retries": "none", "--fixup": "none", "--flat-playlist": "none", "--force-download-archive": "none", "--force-generic-extractor": "none", "--force-ipv4": "none", "--force-ipv6": "none", "--force-keyframes-at-cuts": "none", "--force-overwrites": "none", "--force-write-archive": "none", "--force-write-download-archive": "none", "--format": "none", "--format-sort": "none", "--format-sort-force": "none", "--format-sort-reset": "none", "--fragment-retries": "none", "--geo-bypass": "none", "--geo-bypass-country": "header", "--geo-bypass-ip-block": "header", "--geo-verification-proxy": "proxy", "--get-comments": "none", "--get-description": "none", "--get-duration": "none", "--get-filename": "none", "--get-format": "none", "--get-id": "none", "--get-thumbnail": "none", "--get-title": "none", "--get-url": "none", "--help": "none", "--hls-prefer-ffmpeg": "none", "--hls-prefer-native": "none", "--hls-split-discontinuity": "none", "--hls-use-mpegts": "none", "--http-chunk-size": "none", "--id": "none", "--ies": "config", "--ignore-config": "none", "--ignore-dynamic-mpd": "none", "--ignore-errors": "none", "--ignore-no-formats-error": "none", "--impersonate": "none", "--include-ads": "none", "--js-runtimes": "config", "--keep-fragments": "none", "--keep-video": "none", "--lazy-playlist": "none", "--legacy-server-connect": "none", "--limit-rate": "none", "--list-extractors": "none", "--list-formats": "none", "--list-formats-as-table": "none", "--list-formats-old": "none", "--list-impersonate-targets": "none", "--list-subs": "none", "--list-thumbnails": "none", "--live-from-start": "none", "--load-info-json": "config", "--load-pages": "config", "--mark-watched": "login", "--match-filters": "none", "--match-title": "none", "--max-downloads": "none", "--max-filesize": "none", "--max-sleep-interval": "none", "--max-views": "none", "--merge-output-format": "none", "--metadata-from-title": "none", "--min-filesize": "none", "--min-sleep-interval": "none", "--min-views": "none", "--mtime": "none", "--netrc": "login", "--netrc-cmd": "login", "--netrc-location": "login", "--newline": "none", "--no-abort-on-error": "none", "--no-abort-on-unavailable-fragments": "none", "--no-add-chapters": "none", "--no-add-metadata": "none", "--no-allow-dynamic-mpd": "none", "--no-allow-unplayable-formats": "none", "--no-audio-multistreams": "none", "--no-batch-file": "none", "--no-break-match-filters": "none", "--no-break-on-existing": "none", "--no-break-per-input": "none", "--no-cache-dir": "none", "--no-call-home": "none", "--no-check-certificates": "none", "--no-check-formats": "none", "--no-clean-info-json": "none", "--no-clean-infojson": "none", "--no-colors": "none", "--no-colours": "none", "--no-config": "none", "--no-config-locations": "none", "--no-continue": "none", "--no-cookies": "none", "--no-cookies-from-browser": "none", "--no-download": "none", "--no-download-archive": "none", "--no-embed-chapters": "none", "--no-embed-info-json": "none", "--no-embed-metadata": "none", "--no-embed-subs": "none", "--no-embed-thumbnail": "none", "--no-exec": "none", "--no-exec-before-download": "none", "--no-flat-playlist": "none", "--no-force-keyframes-at-cuts": "none", "--no-force-overwrites": "none", "--no-format-sort-force": "none", "--no-geo-bypass": "none", "--no-get-comments": "none", "--no-hls-split-discontinuity": "none", "--no-hls-use-mpegts": "none", "--no-ignore-dynamic-mpd": "none", "--no-ignore-errors": "none", "--no-ignore-no-formats-error": "none", "--no-include-ads": "none", "--no-js-runtimes": "none", "--no-keep-fragments": "none", "--no-keep-video": "none", "--no-lazy-playlist": "none", "--no-list-formats-as-table": "none", "--no-live-from-start": "none", "--no-mark-watched": "none", "--no-match-filters": "none", "--no-mtime": "none", "--no-overwrites": "none", "--no-part": "none", "--no-playlist": "none", "--no-playlist-reverse": "none", "--no-plugin-dirs": "none", "--no-post-overwrites": "none", "--no-prefer-avconv": "none", "--no-prefer-ffmpeg": "none", "--no-prefer-free-formats": "none", "--no-progress": "none", "--no-quiet": "none", "--no-remote-components": "none", "--no-remove-chapters": "none", "--no-resize-buffer": "none", "--no-restrict-filenames": "none", "--no-simulate": "none", "--no-skip-unavailable-fragments": "none", "--no-split-chapters": "none", "--no-split-tracks": "none", "--no-sponskrub": "none", "--no-sponskrub-cut": "none", "--no-sponskrub-force": "none", "--no-sponsorblock": "none", "--no-update": "none", "--no-video-multistreams": "none", "--no-wait-for-video": "none", "--no-warnings": "none", "--no-windows-filenames": "none", "--no-write-annotations": "none", "--no-write-auto-subs": "none", "--no-write-automatic-subs": "none", "--no-write-comments": "none", "--no-write-description": "none", "--no-write-info-json": "none", "--no-write-playlist-metafiles": "none", "--no-write-srt": "none", "--no-write-subs": "none", "--no-write-thumbnail": "none", "--no-youtube-include-dash-manifest": "none", "--no-youtube-include-hls-manifest": "none", "--no-youtube-skip-dash-manifest": "none", "--no-youtube-skip-hls-manifest": "none", "--output": "none", "--output-na-placeholder": "none", "--parse-metadata": "none", "--part": "none", "--password": "login", "--paths": "none", "--playlist-end": "none", "--playlist-items": "none", "--playlist-random": "none", "--playlist-reverse": "none", "--playlist-start": "none", "--plugin-dirs": "config", "--post-overwrites": "none", "--postprocessor-args": "config", "--ppa": "config", "--prefer-avconv": "none", "--prefer-ffmpeg": "none", "--prefer-free-formats": "none", "--prefer-insecure": "none", "--prefer-unsecure": "none", "--preset-alias": "none", "--print": "none", "--print-json": "none", "--print-to-file": "none", "--print-traffic": "config", "--progress": "none", "--progress-delta": "none", "--progress-template": "none", "--proxy": "proxy", "--quiet": "none", "--rate-limit": "none", "--recode-video": "none", "--referer": "none", "--reject-title": "none", "--remote-components": "config", "--remove-chapters": "none", "--remux-video": "none", "--replace-in-metadata": "none", "--resize-buffer": "none", "--restrict-filenames": "none", "--retries": "none", "--retry-sleep": "none", "--rm-cache-dir": "none", "--simulate": "none", "--skip-download": "none", "--skip-playlist-after-errors": "none", "--skip-unavailable-fragments": "none", "--sleep-interval": "none", "--sleep-requests": "none", "--sleep-subtitles": "none", "--socket-timeout": "none", "--source-address": "none", "--split-chapters": "none", "--split-tracks": "none", "--sponskrub": "none", "--sponskrub-args": "none", "--sponskrub-cut": "none", "--sponskrub-force": "none", "--sponskrub-location": "config", "--sponsorblock-api": "none", "--sponsorblock-chapter-title": "none", "--sponsorblock-mark": "none", "--sponsorblock-remove": "none", "--srt-langs": "none", "--sub-format": "none", "--sub-langs": "none", "--test": "none", "--throttled-rate": "none", "--trim-file-names": "none", "--trim-filenames": "none", "--twofactor": "login", "--update": "config", "--update-to": "config", "--use-extractors": "config", "--use-postprocessor": "config", "--user-agent": "none", "--username": "login", "--verbose": "none", "--version": "none", "--video-multistreams": "none", "--video-password": "login", "--wait-for-video": "none", "--windows-filenames": "none", "--write-all-thumbnails": "none", "--write-annotations": "none", "--write-auto-subs": "none", "--write-automatic-subs": "none", "--write-comments": "none", "--write-description": "none", "--write-desktop-link": "none", "--write-info-json": "none", "--write-link": "none", "--write-pages": "none", "--write-playlist-metafiles": "none", "--write-srt": "none", "--write-subs": "none", "--write-thumbnail": "none", "--write-url-link": "none", "--write-webloc-link": "none", "--xattr": "none", "--xattr-set-filesize": "none", "--xattrs": "none", "--xff": "header", "--yes-overwrites": "none", "--yes-playlist": "none", "--youtube-include-dash-manifest": "none", "--youtube-include-hls-manifest": "none", "--youtube-print-sig-code": "none", "--youtube-skip-dash-manifest": "none", "--youtube-skip-hls-manifest": "none", };