Youtube-dl library and ERROR 403: Forbidden when using generated direct link by youtube-dl from different locations

后端 未结 3 581
梦谈多话
梦谈多话 2021-02-05 18:02

I have a problem with youtube-dl library (https://rg3.github.io/youtube-dl/). I use youtube-dl not for directly downloading videos by this library, instead I first generate li

相关标签:
3条回答
  • 2021-02-05 18:46
    youtube-dl --rm-cache-dir
    

    it works perfectly :)

    0 讨论(0)
  • 2021-02-05 18:49

    If dstftw's answer doesn't work for you, try with root: su youtube-dl --rm-cache-dir

    0 讨论(0)
  • 2021-02-05 18:51

    Final download URLs are only guaranteed to work on the same machine/IP where extracted. More on this.

    UPD: To get rid of 403 remove the cache by running youtube-dl --rm-cache-dir on behalf of www-data.

    0 讨论(0)
提交回复
热议问题