Commit Graph

3537 Commits

Author SHA1 Message Date
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
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 Shen 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
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
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 ye 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
Fatpandac 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
jiechus 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
vcup 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
Fatpandac 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
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
Ethan Shen e6549c9011
feat(route): add Foresight News (#9274) 2022-03-08 17:29:14 -02:00
Fatpandac 7e3bdc45fc
fix(route): segmentfault return empty and refactor to V2 (#9270)
* fix(route): return empty and refactor to V2

* docs: update segmentfault user example
2022-03-08 22:01:44 +08:00
Ethan Shen b808cdb78f
feat(route): add 35PHOTO (#9267) 2022-03-08 21:55:40 +08:00
Ethan Shen 2f01aa6819
feat(route): add BigQuant专题报告 (#9253) 2022-03-08 21:52:16 +08:00
liuxsdev 007948efcd
feat(route): 生态环境部-要闻动态 (#9248)
* feat(route): 生态环境部-要闻动态
2022-03-08 21:49:30 +08:00
Nite07 f5960cc285
feat(route): add dayanzai (#8950)
* Add(route): add dayanzai

* 添加获取全文参数

* Update docs/bbs.md

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

* fix: string literals

Co-authored-by: Nite07 <nmy1207@outlook.com>
Co-authored-by: Tony <TonyRL@users.noreply.github.com>
2022-03-08 21:36:20 +08:00
Fatpandac 840494ab63
fix(route): wechat/tgchannel content text format error (#9095)
* fix(route): wechat/tgchannel content text format error

* fix(route): remove mess code

* fix(route): fix css style
2022-03-07 19:21:16 +08:00
railzy d1173f34ac
fix(route): 最终幻想 14 国际服 Lodestone 内容api调用格式更新 (#9260)
* fix(route): 最终幻想 14 国际服 Lodestone 内容api调用格式更新

* ff14 国际服 lodestone api 使用 https

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

Co-authored-by: Tony <TonyRL@users.noreply.github.com>
2022-03-07 18:19:14 +08:00
Rongrong 991a6a1f24
fix(route)(fdroid/apprelease): invalid feed title (#9259)
Signed-off-by: Rongrong <15956627+Rongronggg9@users.noreply.github.com>
2022-03-07 16:10:31 +08:00
Black_Yuzia ed5ceb6f6e
fix(route): nhentai Images host (#9257)
fix(route): nhentai Images host
2022-03-07 15:51:55 +08:00
Tony 2c2bf4ed09
fix: typo in puppeteer options 2022-03-06 23:42:32 +08:00
Tony 0afddfaaac
revert: "fix(route): ielts window.$ is not a function (#9255)" (#9256)
This reverts commit 0b4ea2ee67.
2022-03-06 23:29:53 +08:00
Tony 0b4ea2ee67
fix(route): ielts window.$ is not a function (#9255) 2022-03-06 22:31:52 +08:00
Black_Yuzia fbcba24a9f
fix(route): hentaimama Image Parsing (#9252) 2022-03-06 20:52:48 +08:00
Rongrong 7edb450ca9
fix(route)(app-center/release): improper linebreak (#9250)
Signed-off-by: Rongrong <15956627+Rongronggg9@users.noreply.github.com>
2022-03-06 20:48:56 +08:00
LyleLee ba9891f578
feat(route): 美国白宫科学技术政策办公室 US Whitehouse Office Of Science And… (#9246)
* Add whitehouse/ostp 美国白宫科学技术政策办公室 US Whitehouse Office Of Science And Technology Policy

* Add whitehouse OSTP, update english docs
2022-03-06 20:11:34 +08:00