Commit Graph

3172 Commits

Author SHA1 Message Date
CaoMeiYouRen b70e690a5c
feat(route): 新增 米游社 路由 (#9404)
* feat: 优化B站动态转发内容中的图片和视频

* style: 修复格式错误

* fix: 修复 B站动态转发多图的图片缺失

* style: 整理代码格式

* style: 整理代码格式

* fix: 修复B站动态转发视频缺失标题

* fix: 移除了部分不必要的代码

* fix: 修复b站动态中转发直播间动态出现undefined;整理部分代码

* style: 整理代码格式

* fix: 补充b站动态中转发活动的信息

* fix: 修正代码格式

* fix: b站动态转发专题页缺少标题;整理部分代码

* fix: 修复图片错误

* fix: 修复专栏封面缺失的bug;增加B站动态格式总结

* style:修复格式问题

* fix: 修复/robots.txt路由

* fix

* chore: 合并冲突

* fix

* fix

* feat: 优化B站动态url

* fix: 改 \n 为<br>

* chore: 更新 npm registry

* feat: 完成 米游社路由和文档的编写

* fix: 修复 @vuepress/shared-utils 在 yarn.lock 的缺失

* chore: exact match

* fix: parseDate
2022-03-29 20:21:21 +08:00
Fatpandac 21dbeba12f
feat(route): 华硕 固件 (#9403)
* feat(route): 华硕 固件

* fix(route): change radar url and modify the date format
2022-03-28 23:16:17 +08:00
Genghis Yang 33eb860b08
fix(route): mpaypass news (#9367)
* fix(route): mpaypass news

* refactor: migrate to v2

* fix: parseDate
2022-03-28 20:41:20 +08:00
Ethan Shen 5927f28121
fix(route): PubMed Trending articles (#9402) 2022-03-28 20:20:30 +08:00
Tony 668286a58b
fix(route): qweather namespace (#9398) 2022-03-27 23:59:47 +08:00
Tony e5b2676534
docs: fix blank page (#9396) 2022-03-27 19:46:36 +08:00
Rongrong 8c2039902e
feat(route)(weibo): display comments (#9394)
Signed-off-by: Rongrong <15956627+Rongronggg9@users.noreply.github.com>
2022-03-27 01:51:42 +08:00
忧郁的紫色毛衣男孩 e61a90db77
fix(route): geo daily photo (#7555)
* 完成issues#7485,在每日一图-国家地理中增加每日精选节点

* 修改文档和router位置

* 对日期pubDate规范进行了调整

* 优化调整获取内容逻辑,修改pubDate字段的获取方式

* 调整pubDate参数

* 删除代码中多余的console

* 调整parse-date引用

* 调整时区

* issues-#7471,解决国家地理每日一图获取失败问题,因为网站更改,并且网站对图片进行了处理,所以调整获取方式。

* 删除无用代码

* 调整代码,错删了代码

* refactor: migrate to v2

* fix: nat geo photo of the day

* fix: natgeo parseDate

* style: lint

* feat: radar for natgeomedia.com

Co-authored-by: TonyRL <TonyRL@users.noreply.github.com>
2022-03-27 00:09:34 +08:00
Ethan Shen be5dd42e09
feat(route): add 安徽省科技厅 (#9387)
* feat(route): add 安徽省科技厅

* update lib/v2/gov/radar.js

* refactor: sort radar in alphabetical order
2022-03-26 18:12:54 +08:00
github-actions[bot] 329a04d06d style: auto format 2022-03-26 09:57:33 +00:00
Rein-Ou b55e9a3883
fix(route): Weather forcast (#9390)
* weather_forcast

* format

* cache

* Update lib/v2/weather/index.js

* Update lib/v2/weather/util/location.js

* Update docs/forecast.md

* modify

* Update forecast.md

* readme.md

* docs: reorder `HEFENG_KEY`

* fixed cache problem

* dependent fix

* add link

* Update index.js

* fix dependent

* index

* fix md doc
2022-03-26 17:55:04 +08:00
Ethan Shen d5648b37ee
fix(utils): parse relative dates with multiple time units (#9365)
* fix(utils): parse relative dates with multiple time units

* docs: remove warning

* fix: add more characters to match

* fix: rename to parse-date
2022-03-26 16:45:42 +08:00
github-actions[bot] fd439a1807 style: auto format 2022-03-25 15:59:52 +00:00
Rein-Ou 2a728f1e1c
feat(route): add Weather forcast (#9382)
* weather_forcast

* format

* cache

* Update lib/v2/weather/index.js

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

* Update lib/v2/weather/util/location.js

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

* Update docs/forecast.md

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

* modify

* Update forecast.md

* readme.md

* docs: reorder `HEFENG_KEY`
2022-03-25 23:57:33 +08:00
Ethan Shen 8ecad32db2
feat(route): add 澎湃明查 (#9380)
* feat(route): add 澎湃明查

* fix: 839studio routes

* docs: update example url

* fix: parseDate
2022-03-25 22:05:27 +08:00
Humble c91a4cdd1d
feat(route):add 政采云前端小报和博客 (#9379)
* feat(route):add 政采云前端小报和博客

* fix:因为使用了空值合并操作符??,所有node的版本必须大于等于14

* feat(route):add 政采云前端小报和博客

* fix:因为使用了空值合并操作符??,所有node的版本必须大于等于14

* docs:新增英文说明

* docs:调整位置

* feat: Modify Backquotes

* fix:remove duplicate rssbud and add zooTeam

* fix: add a close tag

* docs: fix docs tags and attrs

* fix:add timezone
2022-03-25 20:47:06 +08:00
huangliangshusheng d1cda2a2be
feat(route): add kakuyomu (#9371)
* feat(route): add kakuyomu

* feat(route): add kakuyomu

* add pubDate

* fix radar rule
2022-03-25 20:23:57 +08:00
Qin Ruizhe f3618bb148
feat(route): fix NUAA 教务处/计算机科学与技术学院信息 (#9361)
* feat(route): fix NUAA 教务处/计算机科学与技术学院信息

* refactor: migrate to v2

* fix: deprecated url.resolve
2022-03-25 03:21:32 +08:00
Kevin Schaul 95789aafaa
feat(rotue): add nytimes/author route (#9356)
* Add nytimes/author route

* Removed unnecessary logger and fs usage

* refactor: migrate to v2
2022-03-22 22:52:49 +08:00
Ethan Shen d84ab79163
feat(route): add 中华人民共和国外交部外交动态 (#9348)
* feat(route): add 中华人民共和国外交部外交动态

* fix: wrong pubDate
2022-03-22 04:20:12 +08:00
Rongrong c48ca6bd5b
fix(core): invalid feed fields (#9286)
Signed-off-by: Rongrong <15956627+Rongronggg9@users.noreply.github.com>
2022-03-22 02:13:15 +08:00
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