Skip to content
CAI
Software that uses CAICheck a score

ytdl-org/youtube-dl

40.0

Weak · 11 November 2026

142.2k

lines of production code

Python

primary language

8

measurements over time

CAI band scale
CAI trend line
CAI lens gauges

What this system is

Behavioural changes

1 commit (0 fixes) modifying bin

A change to existing behaviour in bin — 1 commit, 1 file: “adding the script hook”.

bin · medium confidence · unverified

11168 commits (2744 fixes) modifying youtube\_dl/extractor

A change to existing behaviour in youtube\_dl/extractor — 11168 commits (2744 fixs), 811 files: “\[atresplayer\] Add coding cookie”; “\[franceinter\] Improve extraction (Closes \#10538)”; “\[youtube\] Improve tags extraction and add test”; and 11020 more (refs \#10538, \#10018, \#8993, \#16614, \#14781, …).

_youtube\dl/extractor · medium confidence · unverified

145 commits (24 fixes) modifying devscripts

A change to existing behaviour in devscripts — 145 commits (24 fixs), 28 files: “Start moving to ytdl-org”; “\[build\] Fix typo in \devscripts/fish-completion.py\ (fix 2285605)”; “\[devscripts/run\_tests.sh\] Change permission for script to 755”; and 140 more (refs \#20863, \#8785, \#1623, \#4503, \#11094, …).

devscripts · medium confidence · unverified

172 commits (39 fixes) modifying youtube\_dl/postprocessor

A change to existing behaviour in youtube\_dl/postprocessor — 172 commits (39 fixs), 7 files: “\[postprocessor/ffmpeg\] Embed subtitles with non-standard language codes (refs \#18765)”; “\[utils, etc\] Kill child processes when yt-dl is killed”; “\[ffmpeg\] try to convert tt subtitles usng dfxp2srt”; and 168 more (refs \#18765, \#5434, \#2926, \#12232, \#5435, …).

_youtube\dl/postprocessor · medium confidence · unverified

2170 commits (281 fixes) modifying (repo-wide)

A change to existing behaviour in (repo-wide) — 2170 commits (281 fixs), 14 files: “\[ChangeLog\] Actualize \[ci skip\]”; “\[prosiebensat1\] Update ChangeLog”; “\[iwara\] Fix extraction after relaunch”; and 1788 more (refs \#9430, \#14416, \#12792, \#11765, \#268, …).

(repo-wide) · low confidence · unverified

2912 commits (350 fixes) modifying youtube\_dl

A change to existing behaviour in youtube\_dl — 2912 commits (350 fixs), 15 files: “\[gametrailers/mtv\] Fix pre-3.x compatibility function for find\_xpath\_attr”; “Let aes\_decrypt\_text return bytes instead of unicode”; “Add faked X-Forwarded-For to formats' HTTP headers”; and 2893 more (refs \#13704, \#1806, \#2355, \#2193, \#11163, …).

_youtube\dl · medium confidence · unverified

31 commits (4 fixes) modifying devscripts/gh-pages

A change to existing behaviour in devscripts/gh-pages — 31 commits (4 fixs), 6 files: “Start moving to ytdl-org”; “moved docs and updates generation scripts from gh-pages branch to devscripts”; “Python 2-proof versions.py”; and 28 more (refs \#1383, \#2081, \#156).

devscripts/gh-pages · medium confidence · unverified

356 commits (59 fixes) modifying youtube\_dl/downloader

A change to existing behaviour in youtube\_dl/downloader — 356 commits (59 fixs), 12 files: “\[downloader/hls\] Skip uplynk ad fragments (closes \#15748)”; “\[downloader/http\] Add ability to pass downloader options via info dict”; “\[downloader/common\] Fix possible negative sleep time in slow\_down()”; and 351 more (refs \#15748, \#9930, \#2184, \#3054, \#15799, …).

_youtube\dl/downloader · medium confidence · unverified

Test coverage

16 commits adding/updating tests in test/swftests; 3 commits adding/updating tests in test/testdata/m3u8; 862 commits adding/updating tests in test.

Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.

How this codebase got here

Score

  • CAI 39 → 40 (+1.2)
  • Rubric changed (rubric-2026.10.5 → rubric-2026.11.2) — scores are not directly comparable.

Lenses

  • Code Health 77 → 73 (-4.2)
  • Architecture 86 → 100 (+14.4)
  • Maturity 43 → 49 (+6.4)
  • Readiness 33 → 33 (+0.0)
  • Security 30 → 30 (+0.0)

Resolved (55)

  • Dormant codebase
  • Hotspot: youtube_dl/extractor/youtube.py (youtube_dl/extractor/youtube.py)
  • Inconsistent capability checking methods across extractor and downloader domains. Extractors use suitable to check if a URL matches, while external downloaders use supports or can_download to check if a specific media format/info is supported. This forces consumers to use different method names and argument types (URL vs InfoDict) depending on whether they are checking for URL matching or format compatibility.
  • Inconsistent parameter handling for cache operations. store, load, and clear require explicit section, key, and dtype parameters, while remove takes no arguments (likely operating on the instance's current state or a default context). This breaks the symmetry of the cache API surface.
  • Leaked secret: high-entropy-secret (youtube_dl/extractor/americastestkitchen.py)
  • Leaked secret: high-entropy-secret (youtube_dl/extractor/canvas.py)
  • Most significant orphaned file (youtube_dl/extractor/common.py)
  • Most significant orphaned file (youtube_dl/extractor/youtube.py)
  • Most significant orphaned file (youtube_dl/utils.py)
  • Off-boarding risk: anonymized user #1
  • Orphaned file (devscripts/make_lazy_extractors.py)
  • Orphaned file (youtube_dl/YoutubeDL.py)
  • Orphaned file (youtube_dl/cache.py)
  • Orphaned file (youtube_dl/casefold.py)
  • Orphaned file (youtube_dl/compat.py)
  • Orphaned file (youtube_dl/downloader/dash.py)
  • Orphaned file (youtube_dl/downloader/fragment.py)
  • Orphaned file (youtube_dl/extractor/alsace20tv.py)
  • Orphaned file (youtube_dl/extractor/applepodcasts.py)
  • Orphaned file (youtube_dl/extractor/bbc.py)
  • …and 35 more

New (9)

  • Algolia API key used for search: confirm it is the search-only key (youtube_dl/extractor/americastestkitchen.py)
  • Algolia API key used for search: confirm it is the search-only key (youtube_dl/extractor/americastestkitchen.py)
  • Concentrated knowledge decay
  • Further sole-owners (lower concentration)
  • Most significant orphaned file (youtube_dl/extractor/bbc.py)
  • Most significant orphaned file (youtube_dl/extractor/generic.py)
  • Most significant orphaned file (youtube_dl/extractor/vimeo.py)
  • Off-boarding risk: anonymized user #1
  • Secret: generic-api-key (youtube_dl/extractor/vtm.py)

Changes since last survey

  • 6 commits — 5 feature/other, 1 fixes

By area

  • (root) — 2 commits
  • youtube_dl/extractor — 2 commits
  • .github/workflows — 1 commit
  • test/test_downloader_fragment.py — 1 commit

Notable commits

  • fix: [youtube] Add visionos client to fix the endless 403s on download (#33293)
  • change: [build] Mild re-work of #33308 (#33309)
  • change: [build] Use Python-bi-lingual header for POSIX executable (#33308)
  • change: [downloader/fragment] Truncate partial files when restarting (#33304)
  • change: [infomaniak] Add VOD2 embed extractor (#33234)
  • change: [workflows/CI] Run linter with Python 3.11

Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.

Survey your own repository

ytdl-org/youtube-dl was measured the same way every project in this corpus was: the same rubric, at a pinned commit, with the result published in full. Point a surveyor at a repository you know and see whether you agree with it.

About this page

  • The score is its most recent published measurement, taken on 11 November 2026 at a pinned commit. It is not a live figure and does not change until the project is measured again.
  • Measured at commit bc069d2bb40bcbc5bdfdf352ca15bf586c7792cb — the exact code this score is about.
  • Scored under rubric-2026.11.2 — the same rubric and the same method as every other entry in this index.
  • Measured by Canine Code Analyzer (cca.canine.dev) using cca measure-2026.11.24+preprod-0d1d40a55c0b.