Skip to content

Symlink from youtube-dl to yt-dlp not working #518

Closed

Description

@hayschan

Info

OS: Ubuntu 20.04.2 LTS
Podsync Version: 2.5.0 ( Podsync_2.5.0_Linux_x86_64.tar.gz )

What I want to do

Podsync stops working two months ago due to issues of youtube-dl.

Error log:

youtube-dl error: /tmp/podsync-3134413176/dd6jm2b7LqY.%(ext)s  "failed to execute youtube-dl: exit status 1"
Downloading webpage
ERROR: Unable to extract uploader id; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output. 

There is suggestion of using yt-dlp instead of youtube-dl #318. Therefore, I tried using symbolic link between yt-dlp and youtube-dl.

Steps I have done

  1. I uninstalled youtube-dl from the machine.
  2. I installed yt-dlp using sudo apt update and then sudo apt get yt-dlp.
  3. Did symbolic link. ln -s /usr/bin/yt-dlp /usr/bin/youtube-dl
  4. Encounter the following error:
[36mINFO[0m[2023-05-03T09:28:22Z] running podsync                               [36mcommit[0m=6c5f602fe19f2c5c076a54afda8a2cd725a7340b [36mdate[0m="2022-11-23T02:04:00Z" [36mversion[0m=2.5.0
[31mFATA[0m[2023-05-03T09:28:22Z] youtube-dl error                              [31merror[0m="youtube-dl binary not found: exec: \"youtube-dl\": executable file not found in $PATH"
[36mINFO[0m[2023-05-03T09:33:06Z] running podsync                               [36mcommit[0m=6c5f602fe19f2c5c076a54afda8a2cd725a7340b [36mdate[0m="2022-11-23T02:04:00Z" [36mversion[0m=2.5.0
[37mDEBU[0m[2023-05-03T09:33:06Z] found youtube-dl binary at "/usr/bin/youtube-dl" 
[37mDEBU[0m[2023-05-03T09:33:06Z] download timeout: 15 min(s)                  
[31mFATA[0m[2023-05-03T09:33:06Z] youtube-dl error                              [31merror[0m="could not find youtube-dl: failed to execute youtube-dl: exit status 1"

Activity

  1. pagdot commented on May 7, 2023

    @pagdot
    Contributor

    can you try if you can execute yourube-dl from the commandline? If not, your youtube-dl/yt-dlp installation has some issues

  2. mxpv commented on May 7, 2023

    @mxpv
    Owner

    Can you try fresh release - 2.6.1, it should include latest youtube-dl

  3. tamoyal commented on Oct 9, 2023

    @tamoyal

    I also had problems with youtube-dl and symlinking to yt-dlp worked fine for me. I would suggest posting the output of you running the symlinked yt-dlp by actually running the command $ youtube-dl from your CLI. Maybe it's a permissions issue

  4. Repository owner locked and limited conversation to collaborators on Oct 9, 2023
  5. converted this issue into a discussion #555 on Oct 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions