Commit Graph
10342 Commits
Author SHA1 Message Date
Ethan Shen b2137fc283 fix(route): JavBus alternative domain related links (#9336)
* fix(route): JavBus alternative domain related links

* fix: add magnets and previews in cache

* fix: remove redundant cache
2022-03-19 20:35:00 +08:00
dependabot[bot] 3c8a9a3043 chore(deps-dev): bump @vercel/nft from 0.17.5 to 0.18.0 (#9343)
chore(deps-dev): bump @vercel/nft from 0.17.5 to 0.18.0
2022-03-19 05:21:42 +08:00
Tony 96d392fec9 fix(route): github pull requests (#9341)
* fix(route): github pull

* fix: typo
2022-03-19 03:14:53 +08:00
Rongrong 41910802f2 feat(core): caching enhancements (#9227)
* fix(core): redis cache ignore `maxAge` when refreshing

memory cache do not have such a problem

Signed-off-by: Rongrong <15956627+Rongronggg9@users.noreply.github.com>

* feat(core): make `cache.tryGet()` refreshing selectable

Signed-off-by: Rongrong <15956627+Rongronggg9@users.noreply.github.com>

* docs: `ctx.cache.tryGet()` update

Signed-off-by: Rongrong <15956627+Rongronggg9@users.noreply.github.com>
2022-03-19 02:13:15 +08:00
Rongrong 933080a1f5 fix(route)(nikkei-cn): imprudent slice; selector lack; duplicated article (#9337)
Signed-off-by: Rongrong <15956627+Rongronggg9@users.noreply.github.com>
2022-03-18 21:32:09 +08:00
Tony 2ed9fd5c5f chore: bump lru-cache from 6.0.0 to 7.7.1 (#9339)
* feat(core): lru-cache v7

* chore: bump lru-cache to 7.7.1

* feat: configurable max
2022-03-18 21:08:04 +08:00
github-actions[bot] ae9042859f style: auto format 2022-03-17 12:55:09 +00:00
Jigsaw fc42431869 docs: update modian zhongchou categories (#9333)
docs: update modian zhongchou categories
2022-03-17 20:52:55 +08:00
Weixiang Zheng 0e315fb0b0 docs: 修改网易云音乐环境变量大小写,参考lib/config.js (#9330)
feat:fix the typo that cause NCM not pulling private playlist
2022-03-17 19:39:28 +08:00
dependabot[bot] 9aac55f990 chore(deps-dev): bump prettier from 2.5.1 to 2.6.0 (#9329)
Bumps [prettier](https://github.com/prettier/prettier) from 2.5.1 to 2.6.0.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/prettier/compare/2.5.1...2.6.0)

---
updated-dependencies:
- dependency-name: prettier
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-17 05:18:44 +08:00
dependabot[bot] 6abf35b2e0 chore(deps): bump markdown-it from 12.2.0 to 12.3.2 (#9047)
Bumps [markdown-it](https://github.com/markdown-it/markdown-it) from 12.2.0 to 12.3.2.
- [Release notes](https://github.com/markdown-it/markdown-it/releases)
- [Changelog](https://github.com/markdown-it/markdown-it/blob/master/CHANGELOG.md)
- [Commits](https://github.com/markdown-it/markdown-it/compare/12.2.0...12.3.2)

---
updated-dependencies:
- dependency-name: markdown-it
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-16 19:24:21 +08:00
Tony c2895a915a docs: fix URL typo 2022-03-16 04:29:12 +06:00
dependabot[bot] 8c55aa696f chore(deps): bump googleapis from 96.0.0 to 97.0.0 (#9325)
Bumps [googleapis](https://github.com/googleapis/google-api-nodejs-client) from 96.0.0 to 97.0.0.
- [Release notes](https://github.com/googleapis/google-api-nodejs-client/releases)
- [Changelog](https://github.com/googleapis/google-api-nodejs-client/blob/main/CHANGELOG.md)
- [Commits](https://github.com/googleapis/google-api-nodejs-client/compare/googleapis-v96.0.0...googleapis-v97.0.0)

---
updated-dependencies:
- dependency-name: googleapis
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-16 05:15:06 +08:00
Tony ba198d09c4 fix(route): rfa missing url property (#9326)
* fix(route): rfa missing url property

* docs: add missing en h3 title

* fix: use nullish coalescing operator
2022-03-16 05:14:49 +08:00
Fatpandac 0ec2b01ec2 feat(route): add 政策研究, 工作论文 and refactor to V2 (#9324)
* feat(route): add 政策研究, 工作论文 and refactor to V2

* fix: depreciated url.resolve pubDate
2022-03-16 04:13:45 +08:00
TonyRL b93f6fe856 fix: error page bug report url 2022-03-15 15:30:25 +00:00
Ethan ShenandTonyRL a1a62813e2 feat(route): add 中国工人出版社新闻中心 (#7303)
* feat(route): add 中国工人出版社新闻中心

* refactor: migrate to v2

* fix: parseDate typo in router.js

Co-authored-by: TonyRL <TonyRL@users.noreply.github.com>
2022-03-15 23:10:32 +08:00
Rongrong 96e803fba6 fix(route): node.js 14 has no replaceAll (#9323)
Signed-off-by: Rongrong <15956627+Rongronggg9@users.noreply.github.com>
2022-03-15 17:09:01 +08:00
dependabot[bot] b766eb4bcc chore(deps): bump dayjs from 1.10.8 to 1.11.0 (#9322)
Bumps [dayjs](https://github.com/iamkun/dayjs) from 1.10.8 to 1.11.0.
- [Release notes](https://github.com/iamkun/dayjs/releases)
- [Changelog](https://github.com/iamkun/dayjs/blob/v1.11.0/CHANGELOG.md)
- [Commits](https://github.com/iamkun/dayjs/compare/v1.10.8...v1.11.0)

---
updated-dependencies:
- dependency-name: dayjs
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-15 01:22:21 +04:00
dependabot[bot] 1cfbc740e5 chore(deps-dev): bump eslint from 8.10.0 to 8.11.0 (#9321)
Bumps [eslint](https://github.com/eslint/eslint) from 8.10.0 to 8.11.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v8.10.0...v8.11.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-15 01:22:09 +04:00
Fatpandac 194a522fc8 fix(route): ixigua_user anti-crawler policy upgrade and refactor to V2 (#9314)
* fix(route): ixigua_user anti-crawler policy upgrade and refactor to V2

* fix(route): replaces '/' with itself and fix item's link
2022-03-15 03:08:14 +08:00
Fatpandac ea0022cbcf feat(route): add 差评快讯 and refactor to V2 (#9319)
* feat(route): add 差评快讯 and refactor to V2

* fix: parseDate
2022-03-15 02:30:06 +08:00
heunghingwan 9dc20280e8 fix(route): gov/fmprc/fyrbt 修复发布日期提取 (#9317)
* 修复发布日期提取

* fix: depreciated url.resolve Invalid Date
2022-03-14 21:08:20 +08:00
github-actions[bot] 06f3964aaf style: auto format 2022-03-14 13:00:01 +00:00
Zhen Zhong 3baeb0aa8c feat(route): add bitbucket commits and tags (#9316)
* add bitbucket commits and tags

* add english doc

* fix bitbucket radar.js

* fix bitbucket docs

* docs: add bitbucket cn docs

* fix: use parseDate utils
2022-03-14 20:57:54 +08:00
Fatpandac fddd2719a4 fix(route): flyert_preferential get fulltext (#9315)
* fix(route): flyert_preferential get fulltext

* fix(route): add timezone
2022-03-14 20:39:37 +08:00
Shao yeandTonyRL ee1eab23d8 fix njupt posts with url redirections (#8961)
* fix njupt posts with url redirections

skip posts that are redirected to error pages due to access control

* fix: migrate to v2

* fix: pubDate depreciated url.resolve

Co-authored-by: TonyRL <TonyRL@users.noreply.github.com>
2022-03-13 22:24:06 +08:00
Tony 713415093f fix(route): eprice hk (#9312) 2022-03-13 21:36:00 +08:00
FatpandacandTonyRL 43f1d1813d fix(route): sohu_mp can not get author's link and refactor to V2 (#9311)
* fix(route): sohu_mp can not get author's link and refactor to V2

* fix: pubDate

* fix: remove unused timezone

Co-authored-by: TonyRL <TonyRL@users.noreply.github.com>
2022-03-13 21:11:12 +08:00
Ethan Shen 5b5e8ce1fa fix(route): add JavBus alternative domain (#9310) 2022-03-13 20:51:26 +08:00
junfengP 4d6cd98fc9 fix(route): reverse is not a function (#9309)
很久以前这个路由是正常的,现在报错 $().reverse is not a function
推测是cheerio包的返回类型变了
2022-03-12 17:52:44 +08:00
Jigsaw 01146e3e6f feat(route): add bilibili online list (#9308)
* feat(route): add bilibili online list

* fix(route): bilibili online list

* fix(route): bilibili online list

* refactor: migrate to v2
2022-03-12 17:09:28 +08:00
Tony bf9be2fa3d feat(route): add gitpod (#9306)
feat(route): gitpod
2022-03-12 04:52:04 +08:00
Fatpandac e50dc7058e fix(route): sina responsed 403 (#9304)
* fix(route): sina responsed 403

* fix: use parseDate

fix: promise overhead
2022-03-11 22:32:06 +08:00
swwind 727f17a15f fix(route): 哈尔滨工业大学(威海)通知公告 (#9303)
* fix(route): 哈尔滨工业大学(威海)通知公告

* fix css selector

* fix: use parseDate
2022-03-11 22:23:56 +08:00
Tony 233f1c8152 refactor: config.js (#9305)
* refactor: reorder lib/config.js

* docs: reorder config
2022-03-11 22:12:42 +08:00
Fatpandac c61bfa04b1 feat(route): add 木木博客 (#9302) 2022-03-11 22:09:27 +08:00
jiechusandgithub-actions[bot] 1121f8c0a0 fix(route): 添加若干路由的图标 (#9301)
* cover

* add bilibili dynamic image

* fix bilibili dynamic

* fix bilibili dynamic x2

* style: auto format

* add afdian image

* style: auto format

* fix git

* style: auto format

* add zhihu activities image

* optimize zhihu activities title

* optimize TG channel title

* style: auto format

* optimized reg

* optimized reg

* optimized reg

* optimized reg

* optimized reg

* optimized reg

* optimized reg

* FIX betterTitle

* FIX betterTitle x2

* FIX betterTitle x3

* FIX betterTitle x4

* FIX betterTitle x5

* Optimize betterTitle preprocessed HTML tags

* FIX regular

* add IThome image

* Update channel.js

* Excluded Content

* Excluded Content

* 解决 DeepScan

* 解决 DeepScan

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2022-03-11 19:39:23 +08:00
vcupandvcup 65f6086bc8 fix(route): touhougarakuta (#9297)
* Fixes DIYgod/RSSHub#9271

* Sovel DeepScan reported issues

* fix logic issue

Co-authored-by: vcup <vcup@gmail.com>
2022-03-11 19:21:55 +08:00
Ethan Shen b7df26724e feat(route): add Foresight News article (#9295) 2022-03-11 00:50:57 +08:00
Ethan Shen 3965da8765 feat(route): add Sputnik News (#9294) 2022-03-11 00:17:13 +08:00
Rongrong 3364b7eb1d fix(route): migrate invalid enclosure_length usages to itunes_duration (#9291)
Close #9287

Signed-off-by: Rongrong <15956627+Rongronggg9@users.noreply.github.com>
2022-03-10 20:54:29 +08:00
FatpandacandTony b86fd05d5a feat(route): add 新唐人電視台 (#9292)
* feat(route): add 新唐人電視台

* Update docs/traditional-media.md

Co-authored-by: Tony <TonyRL@users.noreply.github.com>

* Update lib/v2/ntdtv/channel.js

Co-authored-by: Tony <TonyRL@users.noreply.github.com>

Co-authored-by: Tony <TonyRL@users.noreply.github.com>
2022-03-10 20:02:09 +08:00
Ethan Shen 0a53418b93 feat: add google sites recent changes (#7246)
* feat: add google sites recent changes

* fix pubDate

* fix: wrong date format
2022-03-10 19:46:56 +08:00
dependabot[bot] db33c79ad2 chore(deps): bump puppeteer from 13.5.0 to 13.5.1 (#9288)
Bumps [puppeteer](https://github.com/puppeteer/puppeteer) from 13.5.0 to 13.5.1.
- [Release notes](https://github.com/puppeteer/puppeteer/releases)
- [Changelog](https://github.com/puppeteer/puppeteer/blob/main/CHANGELOG.md)
- [Commits](https://github.com/puppeteer/puppeteer/compare/v13.5.0...v13.5.1)

---
updated-dependencies:
- dependency-name: puppeteer
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-10 16:42:54 +06:00
dependabot[bot] c2e6b61168 chore(deps): bump googleapis from 95.0.0 to 96.0.0 (#9290)
chore(deps): bump googleapis from 95.0.0 to 96.0.0
2022-03-10 17:15:27 +07:00
Fatpandac 073df65935 feat(route): add 希望之声 (#9285)
* feat(route): add 希望之声

* fix(route): change timezone
2022-03-10 02:26:54 +08:00
Ethan Shen ce511b5b17 feat(route): add 俄罗斯卫星通讯社 (#9272)
* feat(route): add 俄罗斯卫星通讯社

* fix: add radar
2022-03-09 19:59:40 +11:00
dependabot[bot] 666d2bcc59 chore(deps): bump @sentry/node from 6.18.1 to 6.18.2 (#9275)
Bumps [@sentry/node](https://github.com/getsentry/sentry-javascript) from 6.18.1 to 6.18.2.
- [Release notes](https://github.com/getsentry/sentry-javascript/releases)
- [Changelog](https://github.com/getsentry/sentry-javascript/blob/master/CHANGELOG.md)
- [Commits](https://github.com/getsentry/sentry-javascript/compare/6.18.1...6.18.2)

---
updated-dependencies:
- dependency-name: "@sentry/node"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-08 19:58:38 -02:00
dependabot[bot] 6d4ba9c242 chore(deps): bump showdown from 2.0.2 to 2.0.3 (#9276)
Bumps [showdown](https://github.com/showdownjs/showdown) from 2.0.2 to 2.0.3.
- [Release notes](https://github.com/showdownjs/showdown/releases)
- [Changelog](https://github.com/showdownjs/showdown/blob/2.0.3/CHANGELOG.md)
- [Commits](https://github.com/showdownjs/showdown/compare/2.0.2...2.0.3)

---
updated-dependencies:
- dependency-name: showdown
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-08 19:57:42 -02:00