Comments (9)
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.
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 tovar 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.
This Error appears again on May 2 2019. Is "bilibili-playurl" outdated?
from bilibili-get.
how to get appkey and "aHRmhWMLkdeMuILqORnYZocwMBpMEOdt" token?
from bilibili-get.
from bilibili-get.
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.
So is there any method to fix this problem?
from bilibili-get.
Get the same error, please reopen this issue to let us get tracked.
from bilibili-get.
Opened #20 for DASH support.
from bilibili-get.
Related Issues (19)
- Version 0.0.1 may not work with user-uploaded videos HOT 1
- Can not get format list HOT 1
- Solved HOT 1
- 如何下载playlist里其中几个视频 HOT 1
- 下载到本机的视频可以自定义保存路径么? HOT 1
- issue with installing HOT 4
- empty taskList: fixed HOT 2
- error downloading HOT 2
- Feature request: request through a socks proxy HOT 2
- add DASH streaming support HOT 4
- support login for accessing high quality video? HOT 1
- Please support the new BV tags HOT 2
- Unexpected token HOT 6
- ERROR: Unexpected token
- lib/download.js 建議可以增加相容 windows 的用法 HOT 4
- ERROR: cannot extract part info. HOT 2
- Doesn't work for me. HOT 2
- Can't download on Windows: ERROR: ENOENT: no such file or directory HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bilibili-get.