Skip to content

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

@hayschan

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"

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