Commit Graph
665 Commits
Author SHA1 Message Date
Rongrong 763b978c1c docs: fix badges in README (#9405)
Signed-off-by: Rongrong <15956627+Rongronggg9@users.noreply.github.com>
2022-03-29 21:43:59 +08:00
Ethan Shen 5927f28121 fix(route): PubMed Trending articles (#9402) 2022-03-28 20:20:30 +08:00
Tony e5b2676534 docs: fix blank page (#9396) 2022-03-27 19:46:36 +08:00
忧郁的紫色毛衣男孩andTonyRL 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 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
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
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
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
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
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
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
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
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
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
Ethan Shen b808cdb78f feat(route): add 35PHOTO (#9267) 2022-03-08 21:55:40 +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
elxyandTonyRL 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
elxyandTonyRL 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
HolegotsandTonyRL 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
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
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
Rick Lee f1e7c90c3e feat: 为豆瓣想看增加Cookie配置项 (#9110) 2022-02-24 23:50:12 +08:00
HivolandTonyRL 8537de593a feat(route): add NL Times (#8127)
* feat(route): add NL Times

* refactor: migrate to v2

* fix: tryGet cache

Co-authored-by: TonyRL <TonyRL@users.noreply.github.com>
2022-02-24 01:37:09 +08:00
Ethan ShenandTonyRL 7445cee887 feat(route): add KBS news (#8121)
* feat(route): add KBS news

* fix docs

* refactor: migrate to v2

Co-authored-by: TonyRL <TonyRL@users.noreply.github.com>
2022-02-24 00:45:00 +08:00
Ethan ShenandTonyRL 4f0c1cfdb2 fix: add Lofter用户文章分类 & 视频 (#8061)
* fix: add Lofter用户文章分类 & 视频

* add limit

* fix limit

* refactor: migrate to v2

* fix: route path

Co-authored-by: TonyRL <TonyRL@users.noreply.github.com>
2022-02-24 00:23:10 +08:00
Ethan ShenandTonyRL 171ee3b006 fix(route): World Health Organization Newsroom (#8012)
* fix(route): World Health Organization Newsroom

* refactor: migrate to v2

Co-authored-by: TonyRL <TonyRL@users.noreply.github.com>
2022-02-23 21:55:13 +08:00
MisteryMonsterandTonyRL 0c7aaf8a5a feat(route): add vimeo with more (#7604)
* add vimeo with more

* refactor: migrate to v2

Co-authored-by: TonyRL <TonyRL@users.noreply.github.com>
2022-02-22 03:07:02 +08:00
FatpandacandTony 96d7059b7b feat(route): add Oxford Academic - Oxford University Press (#9164)
* feat(route): add Oxford Academic - Oxford University Press

* Update lib/v2/oup/index.js

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

* Update docs/en/journal.md

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

* Update docs/journal.md

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

Co-authored-by: Tony <TonyRL@users.noreply.github.com>
2022-02-21 23:35:06 +08:00
忧郁的紫色毛衣男孩andTonyRL 75cb4f9e22 feat(route): add orcid (#7582)
* 完成issues#7485,在每日一图-国家地理中增加每日精选节点

* 修改文档和router位置

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

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

* 调整pubDate参数

* 删除代码中多余的console

* 调整parse-date引用

* 调整时区

* 修改国家地理每日一图

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

* 删除无用代码

* 调整代码,错删了代码

* 重新提交,之前提交后部署失败。

* feat:add orcid works route

* feat(route):add ORCID 获取Works(前20条)

* 调整代码,使其更加规范

* fix: remove all unnecessary changes

* refactor: migrate to v2

Co-authored-by: TonyRL <TonyRL@users.noreply.github.com>
2022-02-21 01:49:05 +08:00
Ethan ShenandTonyRL 27ad517f0d feat(route): add Bandcamp Weekly (#7480)
* feat(route): add Bandcamp Weekly

* refactor: migrate to v2

* docs: fix route tag

Co-authored-by: TonyRL <TonyRL@users.noreply.github.com>
2022-02-21 00:15:54 +08:00
Ethan ShenandTonyRL cc7ef5edfc feat: add whitehouse briefing room (#7311)
* feat: add whitehouse briefing room

* refactor: migrate to v2

Co-authored-by: TonyRL <TonyRL@users.noreply.github.com>
2022-02-19 20:50:20 +08:00
Ethan ShenandTonyRL 77dd3c130e feat(route): EU Disinfo Lab publications (#7294)
* feat(route): EU Disinfo Lab publications

* fix typo

* fix lazyload images

* refactor: migirate to v2

Co-authored-by: TonyRL <TonyRL@users.noreply.github.com>
2022-02-19 18:52:20 +08:00
Ethan ShenandTonyRL 04fc2aec4d feat(route): add Global Disinformation Index (#7217)
* feat: add Global Disinformation Index

* fix pubDate

* refactor: migirate to v2

* fix(radar): https

Co-authored-by: TonyRL <TonyRL@users.noreply.github.com>
2022-02-19 01:55:30 +08:00
Tony e9a2c3af55 style: remark v13 (#9140) 2022-02-18 23:15:49 +08:00
Tony dae6cb757f docs: fix route en tag (#9124)
* docs: fix route en tag

* docs: fix spaces
2022-02-17 00:27:54 +08:00
Tony 39d3e88424 feat(route): rsshub en routes (#9122)
* feat(route): rsshub en routes

* fix: add radar.js
2022-02-16 22:11:18 +08:00
ZeroCladandTonyRL 0eb8c08a96 fix(route): ff14 修改 pubDate 为原文发布时间 (#7234)
* fix: 修改 pubDate 为原文发布时间

* refactor(route): migrate to v2

Co-authored-by: TonyRL <TonyRL@users.noreply.github.com>
2022-02-16 05:22:05 +08:00
FatpandacandTony 64f26bdda7 feat(route): add wallhaven (#9021)
* Feat(route): add wallhaven

* Fix(route): merge #9022

* Fix(docs): Update docs/en/picture.md

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

* Fix(docs): Update docs/picture.md

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

Co-authored-by: Tony <TonyRL@users.noreply.github.com>
2022-02-08 20:21:15 +08:00
iceqing 2f7c282d3c feat(route): 增加polkaworld的rsshub规则(v2版本scripts) (#9015)
* feat: 增加polkaworld的rsshub规则

* feat: 增加polkaworld的rsshub规则-切换为v2版本

* feat: 增加polkaworld的rsshub规则(修复路径问题)

* refactor: added limit support & improve date and docs for polkworld

* docs: improve docs desc for polkaworld

* refactor: improve docs & clean date code for polkaworld

* docs: improve docs for polkaworld

* fix: 修复日期解析错误

* fix: fix date error from Vercel's output

* feat: 增加时区操作

* style: remove blank line

* fix: fix timezone error
2022-02-08 19:22:26 +08:00
Ethan Shen dbb1c0b02d fix(route): JAVLibrary (#8956)
* fix(route): JAVLibrary

* fix: sort in alphabetical order
2022-02-07 23:45:58 -10:00
Ethan Shen ecbd064dbf feat(route): add BioOne (#8994)
* feat(route): add BioOne

* fix typo

* fix typo
2022-02-06 18:59:07 +08:00
Outvi V 36b4cc5baa feat(route): add spotify (#8966)
* feat: /spotify/playlist/:id

* feat: /spotify/artist

* feat(spotify/artist): add to radar

* feat: /spotify/saved

* feat: /spotify/top/{tracks,artists}

* feat(spotify): add images for artist and playlist

* docs: /spotify/*

* docs/en: /spotify configurations

* chore(spotify): apiKey/Secret -> clientId/Secret

* fix(spotify/utils): genres can be empty
2022-02-04 18:46:53 +08:00
GitHub Action 3c9be07be5 style: auto format 2022-02-03 13:50:41 +00:00