Skip to content

Commit

Permalink
Merge pull request #33 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 Sep 26, 2023
2 parents 8affa4a + 143a42f commit 15dce93
Show file tree
Hide file tree
Showing 3 changed files with 63 additions and 62 deletions.
3 changes: 2 additions & 1 deletion lib/v2/ft/myft.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@ module.exports = async (ctx) => {

const $ = cheerio.load(response.data);

item.description = ProcessFeed($('div.article__content-body'));
item.description = ProcessFeed($('article.js-article__content-body'));
item.category = JSON.parse($('script[type="application/ld+json"]').eq(1).text()).itemListElement.map((e) => e.name);
item.author = $('a.n-content-tag--author').text();

return item;
Expand Down
16 changes: 8 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@
"@koa/router": "12.0.0",
"@notionhq/client": "2.2.13",
"@postlight/parser": "2.2.3",
"@sentry/node": "7.70.0",
"@sentry/node": "7.71.0",
"aes-js": "3.1.2",
"art-template": "4.13.2",
"bbcodejs": "0.0.4",
Expand Down Expand Up @@ -152,8 +152,8 @@
"@microsoft/eslint-formatter-sarif": "3.0.0",
"@types/aes-js": "3.1.2",
"@types/crypto-js": "4.1.2",
"@types/eslint": "8.44.2",
"@types/eslint-config-prettier": "6.11.0",
"@types/eslint": "8.44.3",
"@types/eslint-config-prettier": "6.11.1",
"@types/etag": "1.8.1",
"@types/fs-extra": "11.0.2",
"@types/git-rev-sync": "2.0.0",
Expand All @@ -170,13 +170,13 @@
"@types/mailparser": "3.4.0",
"@types/markdown-it": "13.0.1",
"@types/module-alias": "2.0.2",
"@types/nodemon": "1.19.2",
"@types/pidusage": "2.0.2",
"@types/plist": "3.0.2",
"@types/nodemon": "1.19.3",
"@types/pidusage": "2.0.3",
"@types/plist": "3.0.3",
"@types/request-promise-native": "1.0.18",
"@types/require-all": "3.0.3",
"@types/showdown": "2.0.1",
"@types/supertest": "2.0.12",
"@types/showdown": "2.0.2",
"@types/supertest": "2.0.13",
"@types/tiny-async-pool": "2.0.0",
"@types/tough-cookie": "4.0.3",
"@vercel/nft": "0.24.1",
Expand Down
106 changes: 53 additions & 53 deletions pnpm-lock.yaml

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

0 comments on commit 15dce93

Please sign in to comment.