youtube-dl: [bilibili] error 466 in downloading

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2017.12.31. If it’s not, read this FAQ entry and update. Issues with outdated version will be rejected.

  • I’ve verified and I assure that I’m running youtube-dl 2017.12.31

What is the purpose of your issue?

  • Bug report (encountered problems with youtube-dl)
  • Site support request (request for adding support for a new site)
  • Feature request (request for a new functionality)
  • Question
  • Other

Hello,i try to use youtube-dl ver12.31 to download a bilibili video but i get a 403 error

youtube-dl -F http://www.bilibili.com/video/av17843872/ [BiliBili] 17843872: Downloading webpage [BiliBili] 17843872: Downloading video info page ERROR: Unable to download JSON metadata: HTTP Error 403: Forbidden (caused by HT TPError()); please report this issue on https://yt-dl.org/bug . Make sure you ar e using the latest version; type youtube-dl -U to update. Be sure to call yout ube-dl with the --verbose flag and include its complete output.

About this issue

  • Original URL
  • State: open
  • Created 6 years ago
  • Reactions: 6
  • Comments: 21

Commits related to this issue

Most upvoted comments

Could you try to include --referer and see if that works?
So the command becomes:
youtube-dl -F http://www.bilibili.com/video/av17843872/ --referer http://www.bilibili.com/video/av17843872/

For me, this fixes the issue, see log: https://ghostbin.com/paste/byuk2