fix(route): /smzdm/article/:uid (#14975)

This commit is contained in:
lyqluis 2024-03-26 12:09:02 +08:00 committed by GitHub
parent 357db65cbf
commit fb17ebaa39
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -9,7 +9,7 @@ export const route: Route = {
path: '/article/:uid',
categories: ['shopping'],
example: '/smzdm/article/6902738986',
parameters: { uid: '用户id网址上直接可以看到' },
parameters: { uid: '用户 id网址上直接可以看到' },
features: {
requireConfig: false,
requirePuppeteer: false,
@ -33,7 +33,7 @@ async function handler(ctx) {
const response = await got(link);
const $ = load(response.data);
const title = $('.info-stuff-nickname').text();
const title = $('.info-stuff-nickname a').text();
const list = $('.pandect-content-stuff')
.toArray()