Skip to content

Commit

Permalink
Merge pull request #2253 from DIYgod/master
Browse files Browse the repository at this point in the history
[pull] master from diygod:master
  • Loading branch information
pull[bot] authored Nov 21, 2023
2 parents 311f67a + 129e342 commit 0ab5702
Show file tree
Hide file tree
Showing 5 changed files with 69 additions and 64 deletions.
7 changes: 6 additions & 1 deletion lib/v2/bilibili/video.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,12 @@ module.exports = async (ctx) => {
// Cookie: cookie,
// },
// });
const params = utils.addVerifyInfo(`mid=${uid}&ps=30&tid=0&pn=1&keyword=&order=pubdate&platform=web&web_location=1550101&order_avoided=true`, verifyString);
const params = utils.addVerifyInfo(
`mid=${uid}&ps=30&tid=0&pn=1&keyword=&order=pubdate&platform=web&web_location=1550101&order_avoided=true&dm_img_list=[]&dm_img_str=${Buffer.from('no webgl').toString('base64')}&dm_cover_img_str=${Buffer.from(
'no webgl'
).toString('base64')}`,
verifyString
);
const response = await got(`https://api.bilibili.com/x/space/wbi/arc/search?${params}`, {
headers: {
Referer: `https://space.bilibili.com/${uid}/video?tid=0&page=1&keyword=&order=pubdate`,
Expand Down
12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@
"@koa/router": "12.0.1",
"@notionhq/client": "2.2.13",
"@postlight/parser": "2.2.3",
"@sentry/node": "7.81.0",
"@sentry/node": "7.81.1",
"@tonyrl/rand-user-agent": "2.0.40",
"aes-js": "3.1.2",
"art-template": "4.13.2",
Expand Down Expand Up @@ -160,25 +160,25 @@
"@types/git-rev-sync": "2.0.2",
"@types/html-to-text": "9.0.4",
"@types/imapflow": "1.0.16",
"@types/jsdom": "21.1.5",
"@types/jsdom": "21.1.6",
"@types/json-bigint": "1.0.4",
"@types/koa": "2.13.11",
"@types/koa": "2.13.12",
"@types/koa-basic-auth": "2.0.6",
"@types/koa-favicon": "2.1.3",
"@types/koa-mount": "4.0.5",
"@types/koa-static": "4.0.4",
"@types/koa__router": "12.0.4",
"@types/lint-staged": "13.2.2",
"@types/mailparser": "3.4.4",
"@types/markdown-it": "13.0.6",
"@types/markdown-it": "13.0.7",
"@types/module-alias": "2.0.4",
"@types/nodemon": "1.19.5",
"@types/nodemon": "1.19.6",
"@types/pidusage": "2.0.5",
"@types/plist": "3.0.5",
"@types/request-promise-native": "1.0.21",
"@types/require-all": "3.0.6",
"@types/supertest": "2.0.16",
"@types/tiny-async-pool": "2.0.2",
"@types/tiny-async-pool": "2.0.3",
"@types/tough-cookie": "4.0.5",
"@vercel/nft": "0.24.3",
"cross-env": "7.0.3",
Expand Down
98 changes: 49 additions & 49 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion website/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"markdown-it": "^13.0.2",
"meilisearch-docsearch": "^0.6.0",
"pinyin-pro": "3.18.2",
"prism-react-renderer": "^2.2.0",
"prism-react-renderer": "^2.3.0",
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
Expand Down
14 changes: 7 additions & 7 deletions website/pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 0ab5702

Please sign in to comment.