imputnet / cobalt

best way to save what you love
https://cobalt.tools
GNU Affero General Public License v3.0
14.3k stars 1.13k forks source link

bilibili is not working #676

Open Josscii opened 1 month ago

Josscii commented 1 month ago

bug description

Tried a lot of bilibili video links on cobalt.tools, it report error as follows:

i don't see anything i could download by your link. try a different one!

reproduction steps

  1. open cobalt.tools
  2. fill in the links
  3. tap go button

screenshots

image

links

https://b23.tv/plZiQz4 https://www.bilibili.com/video/BV1ka411H78B/?spm_id_from=333.337.search-card.all.click

platform information

additional context

any bilibili links is not working

ywllyht commented 1 month ago

I meet the same problem.

oslience11 commented 1 month ago

I meet the same problem.

GGtray commented 1 month ago

I meet the same problem, win11, browser Chrome, version: try cobalt.tools

lyh1028 commented 3 weeks ago

same problem

bb3k commented 3 weeks ago

Running test 5: b23.tv shortlink params: { url: 'https://b23.tv/lbMyOI9' }

Received: { status: 400, body: { status: 'error', text: '!!ErrorCouldntFetch!!' } }

❌ Fail. Expected: 200 & stream, received: 400 & error

Running test 6: bilibili.tv link params: { url: 'https://www.bilibili.tv/en/video/4789599404426256' }

Received: { status: 400, body: { status: 'error', text: '!!ErrorEmptyDownload!!' } }

❌ Fail. Expected: 200 & stream, received: 400 & error

wukko commented 3 weeks ago

there’s no need to spam the issue, we see each and every message, including the original one. you can subscribe to updates of this issue and be notified when it’s resolved!

gushenjie commented 3 weeks ago

I meet the same problem. mac m2, os(13.2.1 (22D68))

Dobby233Liu commented 2 weeks ago

I tried to run tests locally, and surprisingly most of them ran successfully. I think I've been banned from .tv.

Running tests for bilibili...

Running test 1: 1080p video
params:
{ url: 'https://www.bilibili.com/video/BV18i4y1m7xV/' }
(node:14568) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)

Received:
{
  status: 200,
  body: {
    status: 'stream',
    url: 'xxx'
  }
}

✅ Success.

Running test 2: 1080p video muted
params:
{
  url: 'https://www.bilibili.com/video/BV18i4y1m7xV/',
  isAudioMuted: true
}

Received:
{
  status: 400,
  body: { status: 'error', text: '!!ErrorCouldntFetch!!' }
}

❌ Fail. Expected: 200 & stream, received: 400 & error

Running test 3: 1080p vertical video
params:
{ url: 'https://www.bilibili.com/video/BV1uu411z7VV/' }

Received:
{
  status: 200,
  body: {
    status: 'stream',
    url: 'xxx'
  }
}

✅ Success.

Running test 4: 1080p vertical video muted
params:
{
  url: 'https://www.bilibili.com/video/BV1uu411z7VV/',
  isAudioMuted: true
}

Received:
{
  status: 200,
  body: {
    status: 'stream',
    url: 'xxx'
  }
}

✅ Success.

Running test 5: b23.tv shortlink
params:
{ url: 'https://b23.tv/lbMyOI9' }

Received:
{
  status: 400,
  body: { status: 'error', text: '!!ErrorCouldntFetch!!' }
}

❌ Fail. Expected: 200 & stream, received: 400 & error

Running test 6: bilibili.tv link
params:
{ url: 'https://www.bilibili.tv/en/video/4789599404426256' }

Received:
{
  status: 400,
  body: { status: 'error', text: '!!ErrorEmptyDownload!!' }
}

❌ Fail. Expected: 200 & stream, received: 400 & error

Note that b23.tv links expire now.