Page MenuHomeDevCentral

Switch to yt-dlp to get video metadata
Needs ReviewPublic

Authored by dereckson on Sat, Feb 14, 11:42.
Tags
None
Referenced Files
F24345920: D3953.id10246.diff
Sun, Feb 15, 01:27
F24343711: D3953.id10246.diff
Sat, Feb 14, 23:50
F24341585: D3953.id10246.diff
Sat, Feb 14, 22:24
F24341571: D3953.diff
Sat, Feb 14, 22:22
F24339914: D3953.id10246.diff
Sat, Feb 14, 20:30
F24339840: D3953.diff
Sat, Feb 14, 20:29
F24337703: D3953.diff
Sat, Feb 14, 18:54
F24336353: D3953.diff
Sat, Feb 14, 17:21
Subscribers
None
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)