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
Unknown Object (File)
Wed, Mar 4, 10:28
Unknown Object (File)
Tue, Mar 3, 12:35
Unknown Object (File)
Tue, Mar 3, 11:48
Unknown Object (File)
Tue, Mar 3, 05:29
Unknown Object (File)
Sun, Mar 1, 06:16
Unknown Object (File)
Sat, Feb 28, 08:30
Unknown Object (File)
Thu, Feb 26, 08:32
Unknown Object (File)
Thu, Feb 26, 08:27
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)