maxchang3 / hexo-bilibili-card Goto Github PK
View Code? Open in Web Editor NEW一个Hexo插件,在你的文章中插入b站的视频卡片,样式模仿和借鉴自b站。A hexo plugin insert a bilibili card into your page or article.
一个Hexo插件,在你的文章中插入b站的视频卡片,样式模仿和借鉴自b站。A hexo plugin insert a bilibili card into your page or article.
关于不同主题的适配方面,似乎直接生成 SVG 代码是一个不错的选择?有时间试试!
https://hexo.io/zh-cn/api/injector
hexo 新api 可以随时随地插入 css js 到指定区域
近期我尝试使用这个插件,但是我发现网页中的B站卡片的封面都是默认封面。简单分析了一下代码发现封面图片是imageProxy+v_cover的组合,我暂时不清楚v_cover是否正确获取到了封面图片,但是ImageProxy网址应该是失效了。请问这个问题会修复吗
Error: Cannot find module 'request' at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15) at Function.Module._load (internal/modules/cjs/loader.js:562:25) at Module.require (internal/modules/cjs/loader.js:692:17) at require (internal/modules/cjs/helpers.js:25:18) at Object.<anonymous> (/Users/silverlining/hexo/node_modules/hexo-bilibili-card/lib/bili.js:2:17) at Module._compile (internal/modules/cjs/loader.js:778:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10) at Module.load (internal/modules/cjs/loader.js:653:32) at tryModuleLoad (internal/modules/cjs/loader.js:593:12) at Function.Module._load (internal/modules/cjs/loader.js:585:3) at Module.require (internal/modules/cjs/loader.js:692:17) at require (/Users/silverlining/hexo/node_modules/hexo/lib/hexo/index.js:219:21) at /Users/silverlining/hexo/node_modules/hexo-bilibili-card/index.js:5:14 at fs.readFile.then.script (/Users/silverlining/hexo/node_modules/hexo/lib/hexo/index.js:232:12) at tryCatcher (/Users/silverlining/hexo/node_modules/bluebird/js/release/util.js:16:23) at Promise._settlePromiseFromHandler (/Users/silverlining/hexo/node_modules/bluebird/js/release/promise.js:547:31) at Promise._settlePromise (/Users/silverlining/hexo/node_modules/bluebird/js/release/promise.js:604:18) at Promise._settlePromise0 (/Users/silverlining/hexo/node_modules/bluebird/js/release/promise.js:649:10) at Promise._settlePromises (/Users/silverlining/hexo/node_modules/bluebird/js/release/promise.js:729:18) at Promise._fulfill (/Users/silverlining/hexo/node_modules/bluebird/js/release/promise.js:673:18) at Promise._resolveCallback (/Users/silverlining/hexo/node_modules/bluebird/js/release/promise.js:466:57) at Promise._settlePromiseFromHandler (/Users/silverlining/hexo/node_modules/bluebird/js/release/promise.js:559:17) at formatNunjucksError (/Users/silverlining/hexo/node_modules/hexo/lib/extend/tag.js:102:13) at Promise.fromCallback.catch.err (/Users/silverlining/hexo/node_modules/hexo/lib/extend/tag.js:124:34) at tryCatcher (/Users/silverlining/hexo/node_modules/bluebird/js/release/util.js:16:23) at Promise._settlePromiseFromHandler (/Users/silverlining/hexo/node_modules/bluebird/js/release/promise.js:547:31) at Promise._settlePromise (/Users/silverlining/hexo/node_modules/bluebird/js/release/promise.js:604:18) at Promise._settlePromise0 (/Users/silverlining/hexo/node_modules/bluebird/js/release/promise.js:649:10) at Promise._settlePromises (/Users/silverlining/hexo/node_modules/bluebird/js/release/promise.js:725:18) at _drainQueueStep (/Users/silverlining/hexo/node_modules/bluebird/js/release/async.js:93:12) at _drainQueue (/Users/silverlining/hexo/node_modules/bluebird/js/release/async.js:86:9) at Async._drainQueues (/Users/silverlining/hexo/node_modules/bluebird/js/release/async.js:102:5) at Immediate.Async.drainQueues [as _onImmediate] (/Users/silverlining/hexo/node_modules/bluebird/js/release/async.js:15:14) at runCallback (timers.js:705:18) at tryOnImmediate (timers.js:676:5) at processImmediate (timers.js:658:5)
下面这几个备选,或者其它
https://img.noobzone.ru/getimg.php?url=
https://collect34.longsunhd.com/source/plugin/yzs1013_pldr/getimg.php?url=
https://ip.webmasterapi.com/api/imageproxy/
https://images.weserv.nl/?url=
https://pic1.xuehuaimg.com/proxy/
https://search.pstatic.net/common?src=
Hello, nice to meet you, I like this plugin of yours very much, but I have a little problem, can you help me?I
can't download it directly with the command, so I downloaded it directly on GitHub and added it to the package.json file, but it reported an error, the error content is as follows, how to solve it
你好,很高兴认识你,我很喜欢你的这个插件,但我遇到了一点问题,你能帮帮我吗?我无法直接用命令下载,我便直接在GitHub下载下来,并将其添加到了package.json文件中,但它报错了,报错内容如下,请问要怎么解决啊
ERROR Plugin load failed: hexo-bilibili-card
Error: Cannot find module 'node-fetch-native'
Require stack:
- C:\Users\2010HCY\博客\blog\node_modules\hexo-bilibili-card\lib\bili.js
- C:\Users\2010HCY\博客\blog\node_modules\hexo-bilibili-card\index.js
at Module._resolveFilename (node:internal/modules/cjs/loader:1075:15)
at Module._load (node:internal/modules/cjs/loader:920:27)
at Module.require (node:internal/modules/cjs/loader:1141:19)
at require (node:internal/modules/cjs/helpers:110:18)
at Object.<anonymous> (C:\Users\2010HCY\博客\blog\node_modules\hexo-bilibili-card\lib\bili.js:2:19)
at Module._compile (node:internal/modules/cjs/loader:1254:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1308:10)
at Module.load (node:internal/modules/cjs/loader:1117:32)
at Module._load (node:internal/modules/cjs/loader:958:12)
at Module.require (node:internal/modules/cjs/loader:1141:19)
at req (C:\Users\2010HCY\博客\blog\node_modules\hexo\dist\hexo\index.js:247:31)
at C:\Users\2010HCY\博客\blog\node_modules\hexo-bilibili-card\index.js:5:24
at C:\Users\2010HCY\博客\blog\node_modules\hexo\dist\hexo\index.js:255:20
at tryCatcher (C:\Users\2010HCY\博客\blog\node_modules\bluebird\js\release\util.js:16:23)
at Promise._settlePromiseFromHandler (C:\Users\2010HCY\博客\blog\node_modules\bluebird\js\release\promise.js:547:31)
at Promise._settlePromise (C:\Users\2010HCY\博客\blog\node_modules\bluebird\js\release\promise.js:604:18)
at Promise._settlePromise0 (C:\Users\2010HCY\博客\blog\node_modules\bluebird\js\release\promise.js:649:10)
at Promise._settlePromises (C:\Users\2010HCY\博客\blog\node_modules\bluebird\js\release\promise.js:729:18)
at _drainQueueStep (C:\Users\2010HCY\博客\blog\node_modules\bluebird\js\release\async.js:93:12)
at _drainQueue (C:\Users\2010HCY\博客\blog\node_modules\bluebird\js\release\async.js:86:9)
at Async._drainQueues (C:\Users\2010HCY\博客\blog\node_modules\bluebird\js\release\async.js:102:5)
at Async.drainQueues (C:\Users\2010HCY\博客\blog\node_modules\bluebird\js\release\async.js:15:14)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.