debian 13.1, yt-dlp stable@2025.11.12 from yt-dlp/yt-dlp, updated with yt-dlp -U

I also installed deno on the terminal with curl -fsSL https://deno.land/install.sh | sh

however, nothing happens if I execute yt-dlp, like: yt-dlp --all-subs --no-warnings https://www.youtube.com/watch?v=1bhuN9nqEb4 returns nothing.

All my terminal shows after executing a command like the one pasted I get:

>

that’s it, a > and nothing else.

Am I doing something wrong?

  • GooeyGlob@lemmy.world
    link
    fedilink
    English
    arrow-up
    3
    ·
    1 day ago

    Put single quotes around the URL.

    ? and & are special characters, and the shell will think you meant something unintended if you dont protect them.

  • xmanmonk@lemmy.sdf.org
    link
    fedilink
    arrow-up
    14
    ·
    3 days ago

    That prompt typically means the command line is expecting more. Try putting the url in quotes. That may fix it.

    • Strit@lemmy.linuxuserspace.show
      link
      fedilink
      arrow-up
      7
      ·
      2 days ago

      The reason this might work is that some shells, like zsh, interpretes the questionmark in the URL as a function of some sort, making the URL invalid to yt-dlp.

    • gyrfalcon@beehaw.org
      link
      fedilink
      English
      arrow-up
      7
      ·
      3 days ago

      Maybe also add -v for verbose? I just tried it on my admittedly very different EndeavourOS system and the original command started right up downloading a video

  • CoyoteFacts@piefed.ca
    link
    fedilink
    English
    arrow-up
    5
    ·
    3 days ago

    Semi-related for people whose distros don’t package deno, I installed deno in a distrobox and exported it with distrobox-export and yt-dlp picked it up just fine from my $PATH. Before I did so, running yt-dlp gave the following error:

    WARNING: [youtube] No supported JavaScript runtime could be found. YouTube extraction without a JS runtime has been deprecated, and some formats may be missing. See  https://github.com/yt-dlp/yt-dlp/wiki/EJS  for details on installing one. To silence this warning, you can use  --extractor-args "youtube:player_client=default"