Page MenuHomeDevCentral

youtube-dl can't extract info anymore from YouTube
Open, NormalPublic

Description

Also, the FreeBSD package youtube-dl isn't available anymore on FreeBSD 15 packages repository.

youtube-dl is still available on Windriver, but can't fetch info easily from YouTube:

$ youtube-dl -e "https://www.youtube.com/watch?v=Da9GtyfW6Xc"
ERROR: Sign in to confirm you’re not a bot. Use --username and --password or --netrc to provide account credentials.

Recommendation is to use yt-dlp, https://github.com/yt-dlp/yt-dlp


Acceptance criteria:

  • In rVIPER, procedure url:getvideotitle can read video titles again
  • In rOPS, roles/viperserv/software/init.sls doesn't install youtube-dl anymore, and install instead the other solution if needed

Event Timeline

dereckson triaged this task as Normal priority.Sat, Feb 7, 14:20
dereckson created this task.
Shangri-l confirmed the bug and reported a related issue:

19:41:10 <Shangri-l> Hello Dck ! J'espère que tout va bien, je voulais juste rapidement te dire que Daehgrefen est revenu sur #fauve et sur #absolinux ; où on vient juste de > découvrir qu'il plante et ping timeout, avant de respawn, si quelqu'un poste une url Youtube ?v=<…>&list=<…>&start_radio=1 :)
19:41:59 <Shangri-l> sinon il a toujours le bug d'avant son passage hors-ligne : il ne donne plus les titres des vidéos à chaque URL Youtube postée

To give a better overview of the ping timeouts:

19:17:04 -!- Daeghrefn [viperserv@wikimedia/bot/Daeghrefn] has quit [Ping timeout: 265 seconds]
19:28:04 -!- Daeghrefn [viperserv@wikimedia/bot/Daeghrefn] has joined #nasqueron-ops

19:33:04 -!- Daeghrefn [viperserv@wikimedia/bot/Daeghrefn] has quit [Ping timeout: 246 seconds]
19:43:18 -!- Daeghrefn [viperserv@wikimedia/bot/Daeghrefn] has joined #nasqueron-ops

20:09:28 -!- Daeghrefn [viperserv@wikimedia/bot/Daeghrefn] has quit [Ping timeout: 246 seconds]
20:28:09 -!- Daeghrefn [viperserv@wikimedia/bot/Daeghrefn] has joined #nasqueron-ops

20:36:25 -!- Daeghrefn [viperserv@wikimedia/bot/Daeghrefn] has quit [Ping timeout: 246 seconds]
20:46:51 -!- Daeghrefn [viperserv@wikimedia/bot/Daeghrefn] has joined #nasqueron-ops