how to upload bilibili video

Posted under General

Knowledge_Seeker said in forum #445032:

I'm struggling to get yt-dlp to work for me, are there any other workarounds that are possible? My only good source for this one video is BiliBili, which hates me.

What's wrong with yt-dlp?

There was also BBDown but it's not maintained anymore so dunno if it still works.

Talulah said in forum #445033:

What's wrong with yt-dlp?

There was also BBDown but it's not maintained anymore so dunno if it still works.

Nothing's wrong with it, I'm just tech illiterate lol. It seems a bit more advanced than usual for me, but I might brute force myself against it again if nothing else works.

Knowledge_Seeker said in forum #445034:

Nothing's wrong with it, I'm just tech illiterate lol. It seems a bit more advanced than usual for me, but I might brute force myself against it again if nothing else works.

It should be easy once you get the hang of it, you probably are logged in to your bilibili account on a browser, then what you can do is

yt-dlp --cookies-from-browser <brave, chrome, chromium, edge, firefox, opera, safari, vivaldi, whale> <URL>

That should get you the video file in your directory.

Knowledge_Seeker said in forum #445034:

Nothing's wrong with it, I'm just tech illiterate lol. It seems a bit more advanced than usual for me, but I might brute force myself against it again if nothing else works.

It's not that hard to use. You should just be able to download a .exe file from their GitHub, open up command prompt or powershell, drag the exe onto the command prompt window (to auto-fill the path), then paste the video URL. If you want to download from YouTube you'll also need a JS runtime (they recommend Deno). If you need more help with it you could ask in Discord.

Talulah said in forum #445040:

It's not that hard to use. You should just be able to download a .exe file from their GitHub, open up command prompt or powershell, drag the exe onto the command prompt window (to auto-fill the path), then paste the video URL. If you want to download from YouTube you'll also need a JS runtime (they recommend Deno). If you need more help with it you could ask in Discord.

The above command I had sent in forum #445039 would be updated to be like this if you wanted to use Deno for Youtube videos:

yt-dlp --cookies-from-browser <brave, chrome, chromium, edge, firefox, opera, safari, vivaldi, whale> --js-runtimes deno <URL> 

Though I like to use Node myself, had some troubles when bulk playlist downloading with Deno before.

ggraphy said in forum #445042:

The above command I had sent in forum #445039 would be updated to be like this if you wanted to use Deno for Youtube videos:

yt-dlp --cookies-from-browser <brave, chrome, chromium, edge, firefox, opera, safari, vivaldi, whale> --js-runtimes deno <URL> 

Though I like to use Node myself, had some troubles when bulk playlist downloading with Deno before.

Deno is the default runtime yt-dlp uses; you only have to specify --js-runtimes node for node or bun. It'll detect deno automatically without additional configuration.

Yeah, I was definitely making that way more complicated than it needed to be, as I tend to lol. However, I did run into this error:

[BiliBili] Format(s) 4K 超高清, 1080P 60帧 are missing; you have to become a premium member to download them. Use --cookies-from-browser or --cookies for the authentication. See  https://github.com/yt-dlp/yt-dlp/wiki/FAQ#how-do-i-pass-cookies-to-yt-dlp  for how to manually pass cookies

This is presumably exactly what hd5k was warning of, though I was still able to grab a sizeable mp4 from it (that was audioless..But that's actually the video's fault, not any tech errors on our part). Considering how animations can murder our size limit tho, I'm not too upset actually, as my goal is purely archiveable of very hard to get ahold of in-game (and each individually unique) animations.

Thanks guys. Once again, I make mountains out of molehills lol.

1