Commit Graph

3151 Commits

Author SHA1 Message Date
Tony fe775f5198
fix(route): github comments use api (#9358)
fix(route): github comments use api
2022-03-21 17:17:59 +00:00
Ethan Shen 6477e6b8e4
feat(route): 观察者网输出全文 (#9338)
* feature(route): 观察者网输出全文

* fix: add radar

* fix typo

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

* fix: add timezone

Co-authored-by: Tony <TonyRL@users.noreply.github.com>
2022-03-19 21:01:03 +08:00
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
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
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
Tony c2895a915a
docs: fix URL typo 2022-03-16 04:29:12 +06: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
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
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
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
Ethan Shen 5b5e8ce1fa
fix(route): add JavBus alternative domain (#9310) 2022-03-13 20:51:26 +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
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
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
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
StevenRCE0 6a4b939509
feat(route): 机核网添加分类标签和标签路由 (#9239)
* Gcores tagging

* Gcore tags

* Comfort v2

* Update router

* Update router.js

* refactor: use cache.tryGet
2022-03-06 20:06:37 +08:00
elxy c30a4d56fc
feat(route): add Bitmovin blogs (#8935)
* Add(route): add Bitmovin blogs

* refactor: migrate to v2

Co-authored-by: TonyRL <TonyRL@users.noreply.github.com>
2022-03-06 01:21:58 +08:00
elxy 0ac081aad0
feat(route): add BBC News Labs (#8934)
* Add(route): add BBC News Labs

* refactor: migrate to v2

Co-authored-by: TonyRL <TonyRL@users.noreply.github.com>
2022-03-06 00:22:59 +08:00
Fatpandac 3b53c4430e
feat(route): add 工业和信息化部 (#9221)
* feat(route): add 工业和信息化部

* fix(route): change route path, docs and refactor to V2
2022-03-05 23:22:46 +08:00
mokevip8 e4c6dabf70
feat(route): 增加HelloGithub的RSS订阅 (#8879)
* 增加HelloGithub的RSS订阅

* refactor: migrate to v2

Co-authored-by: TonyRL <TonyRL@users.noreply.github.com>
2022-03-04 13:21:50 +08:00
YangLe 7e6db0d1d9
feat(route): 华尔街见闻-只看重要的 (#9237)
* Update live.js

* Update router.js

* Update traditional-media.md
2022-03-03 23:07:48 +08:00
Yuri Kiriyama fee75c662e
feat(route): add 杭州电子科技大学 计算机学院 通知 (#8780)
* add hdu cs route

* add hdu cs route document

* add hdu cs radar rules

* add rssbud support

* trun to V2

* trun to V2

* (fix) hdu route cs spell check

* (add) hdu cs route add maintainer

* (fix) hdu cs route remove UA

* (fix) hdu cs route link concatenated approve

* (fix) hdu cs route add cache

* (fix) hdu cs route title fix

* (fix) hdu cs remove request header params

* fix: cached results

* fix: radar.js

Co-authored-by: TonyRL <TonyRL@users.noreply.github.com>
2022-03-03 22:46:39 +08:00
Holegots 99b50faa40
feat(route): add tokeninsight (#8725)
* feat: add tokeninsight's bulletin

* feat: add tokeninsight's report and blog

* 🔧 Add Limit for tokeninsight

* refactor: migrate to v2

* fix: maintainer path

Co-authored-by: TonyRL <TonyRL@users.noreply.github.com>
2022-03-03 22:16:14 +08:00
Fatpandac 25ea6fe393
feat(route): add 白话区块链 (#9234)
* feat(route): add 白话区块链

* Update lib/v2/hellobtc/information.js

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

* Update lib/v2/hellobtc/news.js

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

* Update lib/v2/hellobtc/information.js

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

* Update lib/v2/hellobtc/kepu.js

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

* Update lib/v2/hellobtc/topic.js

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

* Update lib/v2/hellobtc/topic.js

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

* fix(route): add timezone

Co-authored-by: Tony <TonyRL@users.noreply.github.com>
2022-03-03 19:50:28 +08:00
Fatpandac 07c5bfee23
feat(route): add 通信人家园 (#9215)
* feat(route): add 通信人家园

* Update lib/v2/txrjy/fornumtopic.js

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

* Update docs/bbs.md

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

* Update lib/v2/txrjy/fornumtopic.js

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

* fix(route): add timezone

Co-authored-by: Tony <TonyRL@users.noreply.github.com>
2022-03-03 19:47:58 +08:00
github-actions[bot] 116e27a2ce style: auto format 2022-03-02 14:28:14 +00:00
Rongrong 44f1ea3718
feat(route)(picuki/profile): migrate to v2, fetch stories (#9216)
* refactor(route)(picuki/profile): migrate to v2

other changes:
fix linebreak
fix header
add location
`displayVideo` param defaults to enable

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

* refactor(route)(picuki/profile): use template

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

* feat(route)(picuki/profile): fetch stories

Signed-off-by: Rongrong <15956627+Rongronggg9@users.noreply.github.com>
2022-03-02 22:26:21 +08:00
github-actions[bot] 1eb748b3c1 style: auto format 2022-03-02 11:26:41 +00:00
Rongrong 2ef844425b
feat(route)(telegram/channel): major rewrite (#9213)
feed title changed to English
route path changed
exclude 'no posts found' messages (always)

custom route params:
exclude forwarded/reply/service messages (selectable)
exclude unsupported messages (selectable, default)
remove link preview (selectable)
remove metadata (via bot / forwarded from / reply to) (selectable)
add forwarded message author (selectable, default)
add inline buttons (selectable)
remove media tags in title (selectable)
non-emoji media tags (selectable)
search query (selectable, retain backward compatibility)

message types newly supported / enhanced:
reply (previous not in media tags, lacks of via bot)
forwarded (previously not in media tags, lacks of via bot)
service (previous not in media tags, img not extracted)
via bot (previous unrecognized, treated as normal messages)
video (previous use another emoji as media tag)
GIF (previous unrecognized, treated as video)
poll (previous only poll title)
voice (previous use another emoji as media tag, no title/content)
music (previous unrecognized, treated as document)
document (previous no content, broken if multiple exist)
location (previous only media tag)
contact (previous totally unsupported)
sticker (previous only media tag)
animated sticker (previous totally unsupported)
unsupported (previous totally unsupported)

misc:
fix emoji in posts: weird format (Italic and Bold)
fix title: lacks of spaces
fix title: use pubDate even if media tags exist
fix broken documents message if multiple documents exist
fix mistaken exception description
fix media sequence: video always at last, #4777
fix: autofilled title (pubDate) not in UTC
use cache
minor refactor

Signed-off-by: Rongrong <15956627+Rongronggg9@users.noreply.github.com>
2022-03-02 19:25:03 +08:00