←back to thread

798 points bertman | 1 comments | | HN request time: 0s | source
Show context
embedding-shape ◴[] No.45900337[source]
Seems its already in Arch's repositories, and seems to work, just add another flag to the invocation:

    yt-dlp --cookies-from-browser firefox --remote-components ejs:github -f "bestvideo[ext=mp4]+bestaudio[ext=m4a]/best[ext=mp4]/best" 'https://www.youtube.com/watch?v=XXX'
It is downloading a solver at runtime, took maybe half a second in total, downloads are starting way faster than before it seems to me.

    [youtube] [jsc:deno] Solving JS challenges using deno
    [youtube] [jsc:deno] Downloading challenge solver lib script from  https://github.com/yt-dlp/ejs/releases/download/0.3.1/yt.solver.lib.min.js
It would be great if we could download the solver manually with a separate command, before running the download command, as I'm probably not alone in running yt-dlp in a restricted environment, and being able to package it up together with the solver before runtime would let me avoid lessening the restrictions for that environment. Not a huge issue though, happy in general the start of downloads seems much faster now.
replies(8): >>45900780 #>>45901047 #>>45901146 #>>45901292 #>>45902245 #>>45902494 #>>45903312 #>>45906436 #
WD-42 ◴[] No.45901047[source]
Glad to hear it’s faster now!

YouTube barely works in a full-on browser these days, props to the team that keeps it accessible via a Python script!

replies(6): >>45901546 #>>45901717 #>>45901739 #>>45902053 #>>45902158 #>>45903145 #
recursive ◴[] No.45901739[source]
I use YouTube on a daily basis. I haven't seen any of these problems.
replies(8): >>45902304 #>>45902798 #>>45903326 #>>45903405 #>>45903763 #>>45904977 #>>45905212 #>>45908012 #
PuercoPop ◴[] No.45903763[source]
It is likely you use Chrome or a browser that uses Blink for its engine and the OP uses a non-blink browser like Firefox. I use Firefox and I can cofirm since the last few months Youtube usability borders on usable
replies(8): >>45903856 #>>45903878 #>>45904585 #>>45905055 #>>45906105 #>>45907132 #>>45907311 #>>45907992 #
1. TiredOfLife ◴[] No.45904585{3}[source]
I use Chrome and it's not good. They recently removed ability to force AV1 to only low resolution videos and as a result I had to disable HW acceleration in Chrome because accelerated AV1 decoding is broken on Steam Deck.