Page MenuHomeDevCentral

Switch to yt-dlp to get video metadata
Needs ReviewPublic

Authored by dereckson on Sat, Feb 14, 11:42.
This revision needs review, but there are no reviewers specified.

Details

Summary

Switch from better maintained yt-dlp instead of youtube-dl.

The youtube:visitor_data value is stored in the registry.

Ref T2214

Test Plan

Tested on Dæghrefn.

Diff Detail

Repository
rVIPER ViperServ scripts
Lint
No Lint Coverage
Unit
No Test Coverage
Branch
switch-from-youtube-dl-to-yt-dlp
Build Status
Buildable 6319
Build 6603: arc lint + arc unit

Event Timeline

dereckson created this revision.

Just a note there is no need to maintain a dictionary between target domain and extractor args:

Dæghrefn
.tcl url:getvideotitle "https://www.arte.tv/fr/videos/123418-000-A/l-algorithme-de-l-amour/"
Tcl: Lalgorithme de lamour

The --extractor-args seem to correctly be ignored in that case.

(this version of Channel.tcl is currently live on Libera Daeghrefn bot)