Coder Social home page Coder Social logo

Comments (9)

catright avatar catright commented on August 10, 2024 4

This is my temporal solution to download videos only, may not work for bangumi. Thanks to youtube-dl. lol.

Change

var url = yield playUrl(cid, { quality, season_type });

in function fetchPlayInfo in extractor.js to

var payload = `appkey=iVGUTjsxvpLeuDCf&cid=${cid}&otype=json&qn=${quality}&quality=${quality}&type=`;
var sign = require('crypto').createHash('md5').update(payload+'aHRmhWMLkdeMuILqORnYZocwMBpMEOdt').digest('hex');
var url = `https://interface.bilibili.com/v2/playurl?${payload}&sign=${sign}`;

or please wait until bilibili-playurl would be updated for new appkey.

This solution may not work if you don't have crypto module. But i guess this module is defaultly installed with node.js.

from bilibili-get.

AvrilL161 avatar AvrilL161 commented on August 10, 2024 1

This is my temporal solution to download videos only, may not work for bangumi. Thanks to youtube-dl. lol.

Change

var url = yield playUrl(cid, { quality, season_type });

in function fetchPlayInfo in extractor.js to

var payload = `appkey=iVGUTjsxvpLeuDCf&cid=${cid}&otype=json&qn=${quality}&quality=${quality}&type=`;
var sign = require('crypto').createHash('md5').update(payload+'aHRmhWMLkdeMuILqORnYZocwMBpMEOdt').digest('hex');
var url = `https://interface.bilibili.com/v2/playurl?${payload}&sign=${sign}`;

or please wait until bilibili-playurl would be updated for new appkey.

This solution may not work if you don't have crypto module. But i guess this module is defaultly installed with node.js.

Thanks bro!!!
It's working!!!

from bilibili-get.

jialanxin avatar jialanxin commented on August 10, 2024 1

This Error appears again on May 2 2019. Is "bilibili-playurl" outdated?

from bilibili-get.

liseen315 avatar liseen315 commented on August 10, 2024

how to get appkey and "aHRmhWMLkdeMuILqORnYZocwMBpMEOdt" token?

from bilibili-get.

nehuenpereyra avatar nehuenpereyra commented on August 10, 2024

The error has returned:

from bilibili-get.

kamikat avatar kamikat commented on August 10, 2024

bilibili have switched most of its video play service to DASH streaming. DASH play is supported by latest release of bilibili-playurl while there's some extra work to merge a dash stream with bilibili-get.

from bilibili-get.

ElegantLin avatar ElegantLin commented on August 10, 2024

So is there any method to fix this problem?

from bilibili-get.

kmahyyg avatar kmahyyg commented on August 10, 2024

Get the same error, please reopen this issue to let us get tracked.

from bilibili-get.

kamikat avatar kamikat commented on August 10, 2024

Opened #20 for DASH support.

from bilibili-get.

Related Issues (19)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.