Commit Graph

3011 Commits

Author SHA1 Message Date
NeverBehave 0792f7ba25
feat(core): first attempt to init script standard (#8224)
- lazy load
- rate limit per path
- init .debug.json support
- docs
- maintainer
- radar
2021-09-22 05:41:00 -07:00
Daniel Li (李丹阳) d77a039f05
style(eslint): add no-implicit-coercion rule (#8175)
* refactor: add no-implicit-coercion rule for ESLint

* fix: errors from deepscan

* fix: errors from deepscan

* fix: errors from deepscan

* fix: errors from deepscan

* fix: errors from deepscan

* Update docs/en/joinus/quick-start.md

Co-authored-by: Sukka <isukkaw@gmail.com>

* Update docs/joinus/quick-start.md

Co-authored-by: Sukka <isukkaw@gmail.com>

* Update lib/routes/av01/tag.js

Co-authored-by: Sukka <isukkaw@gmail.com>

* Update lib/routes/gov/taiwan/mnd.js

Co-authored-by: Sukka <isukkaw@gmail.com>

* Update lib/routes/ps/product.js

Co-authored-by: Sukka <isukkaw@gmail.com>

* refactor: minify html string

Co-authored-by: Sukka <isukkaw@gmail.com>
2021-09-15 21:22:11 +08:00
SettingDust a7635464d2
fix(route): netease (#8083)
Co-authored-by: MA Junyi <mjysci@live.com>
2021-09-09 01:56:52 -07:00
Ethan Shen 080282fc01
fix(route): 全现在首页 (#8142) 2021-09-09 01:51:06 -07:00
FledgeShiu 362a90b020
chore(route): remove a broken and undocumented endpoint. (#8058) 2021-09-09 01:46:36 -07:00
FledgeShiu 10bc69d3fe
fix(route): matters pubDate and API
add pubDate to /matters/* and move /matters/tags to graphql api. (#8056)
Co-authored-by: GitHub Action <action@github.com>
2021-09-09 01:45:22 -07:00
Toby Tso d94894be87
fix(route): `pubDate` for `fontstory` (#8069) 2021-09-09 01:44:28 -07:00
SettingDust 8d46760850
chore(route): refactor the usage of pixiv token (#8103)
* refactor(route): refactor the usage of pixiv token

之前的 token 使用有些奇怪,不等拿到第一个 token 就直接返回了,造成垃圾报错

Signed-off-by: SettingDust <settingdust@gmail.com>

* fix(route): pixiv token shouldn't refresh is package

Signed-off-by: SettingDust <settingdust@gmail.com>
2021-09-09 01:41:50 -07:00
Ethan Shen fa4c220444
fix(route): typo in JavDB (#8114) 2021-09-09 01:39:47 -07:00
Tony 00162ddaf0
fix(route): dapenti/tugua pubDate and author (#8141) 2021-09-09 01:39:02 -07:00
Toby Tso e24906fdeb
feat(middleware): `brief` parameter (#8074)
Co-authored-by: SettingDust <settingdust@gmail.com>
Co-authored-by: ギャラ <me@gyara.moe>
2021-09-09 01:37:41 -07:00
Daniel Li (李丹阳) 6282a30d0b
feat(route): add tid for vsearch of bilibili (#8041)
fix pubdate and clean up desc
Co-authored-by: NeverBehave <gayhub@never.pet>
2021-09-09 01:25:31 -07:00
GitHub Action 52b1326b29 style: auto format 2021-09-08 06:01:15 +00:00
tgly307 62a01c8ea1
fix(route): 修复掘金文章详情获取 (#8160)
Co-authored-by: SettingDust <settingdust@gmail.com>
2021-09-07 22:58:35 -07:00
Tony d98cc18725
fix(route): greasyfork link (#8145) 2021-09-06 13:25:21 +08:00
Ethan Shen 611d9dd548
feat(route): add s-hentai (#8146) 2021-09-06 13:24:47 +08:00
GitHub Action d6ec05d8d6 style: auto format 2021-09-03 09:30:40 +00:00
蒋晨辉 88514fa259
feat(route): add 厦门大学航院 (#8137)
* feat(route): add 厦门大学航院

* Simplify the code

* Fix the problem of tryGet
2021-09-03 17:28:33 +08:00
Sukka ea21cfdd28
perf: lazyload sentry sdk for faster cold start speed (#8125) 2021-09-01 15:53:04 +08:00
Simon Shi c96c3ef215
fix(route): shmtu jwc routes (#8119)
* fix(route): shmtu jwc routes

* fix(doc): refine docs

* fix(route): add limit for shmtu jwc route
2021-09-01 14:09:08 +08:00
SettingDust de2cfed36f
fix(route): change weibo user api (#8095)
There isn't container id in old one with some user

Signed-off-by: SettingDust <settingdust@gmail.com>
2021-08-27 12:33:15 +08:00
Ethan Shen 09dffad27b
fix(route): javdb alternative domain (#7536) 2021-08-26 23:03:48 +08:00
Howard Yin 6b8a40794e
feat(route): add e-hentai (#7741) 2021-08-25 22:46:16 +08:00
Toby Tso 404b861d52
feat(route): add Font Story (DynaC TW) (#7565) 2021-08-21 00:44:37 -07:00
Tony 0c38ac9b5e
fix(route): hket Missing `url` property (#8052) 2021-08-20 20:58:04 -07:00
GitHub Action 7605ffc5f8 style: auto format 2021-08-20 06:08:36 +00:00
Sukka 31720bbb1b
perf: lazy require dependencies (#8025) 2021-08-20 14:05:57 +08:00
Tony 72dd0193c1
feat(route): add hket (#8050) 2021-08-20 14:05:25 +08:00
Trim21 036ba8c06a
fix(zimuxia-portfollo): `$.reverse` is removed (#8047) 2021-08-20 14:04:53 +08:00
Ethan Shen a9ca8844d4
fix(route): 站酷发现有视频条目 (#8044) 2021-08-20 14:02:52 +08:00
Sukka d82847f541
style/chore(eslint): enforce new rules (#8040)
* style: prefer object shorthand syntax
* refactor: prefer Array#map over Array#forEach
* style: prefer arrow callback
* chore(eslint): update rules
* style: auto fix by eslint
2021-08-17 22:23:23 +08:00
Sukka 6e3b58ed1d
refactor: avoid promise overhead (#8028) 2021-08-16 11:45:53 -07:00
Sukka 8053b33b03
feat(route): load route handler on the first request (#8021) 2021-08-15 12:39:33 -07:00
zsh2517 78eea945c4
fix(route): 修复 bilibili 动态无法获取问题 (#7961) 2021-08-15 01:12:14 -07:00
GitHub Action e2a11a2003 style: auto format 2021-08-12 09:28:28 +00:00
Ethan Shen 7c00f4b190
feat(route): add yuzu emulator blog (#7947)
Co-authored-by: NeverBehave <gayhub@never.pet>
2021-08-12 02:15:19 -07:00
yesRabbit fea5824dfe
feat(route): add 温州大学新闻 (#7952)
Co-authored-by: NeverBehave <gayhub@never.pet>
2021-08-12 02:10:28 -07:00
250c1add7f
feat(route): add 掘金专栏 (#7889)
* feat(route): add 掘金专栏

* fix: 时间处理
2021-08-12 02:06:18 -07:00
Hagb (Guo Junyu 郭俊余) b965e54298
fix(route): 重庆大学本科教学信息网 (原重庆大学教务网) (#7944) 2021-08-12 02:05:09 -07:00
Ethan Shen e71baee961
feat(route): add The Partnership on AI Resources (#7265)
Co-authored-by: NeverBehave <gayhub@never.pet>
2021-08-12 02:04:55 -07:00
Ethan Shen a589d2feb5
feat(route): add 游迅网资讯 (#7235) 2021-08-12 01:57:33 -07:00
Ethan Shen e571294da9
feat(route): add 财新数据通专享资讯 (#7250) 2021-08-12 01:55:48 -07:00
tuzi3040 c43346b522
feat(route): japanpost improve timezone parse (#7682) 2021-08-12 01:55:19 -07:00
Ethan Shen b3d40863d5
feat(route): add Common App blog (#7287)
Co-authored-by: NeverBehave <gayhub@never.pet>
2021-08-12 01:54:34 -07:00
Ethan Shen 20cce29d0c
feat(route): add Sky Sports News (#7968)
Co-authored-by: Sukka <isukkaw@gmail.com>
Co-authored-by: NeverBehave <gayhub@never.pet>
2021-08-12 01:47:28 -07:00
Ding Yuxiao d0beccbf43
feat(route): add 西北农林科技大学 (#7966) 2021-08-12 01:33:28 -07:00
Chih-Hsuan Yen 1c9c4ccfc8
fix(core): make sure timeout error messages include URLs (#7981)
Before this fix, timeout messages are not quite useful

> error: Request undefined fail, retry attempt #1: TimeoutError: Timeout awaiting 'request' for 5000ms
2021-08-12 01:27:07 -07:00
BugWriter2 47d1305f95
fix(route): 修复 soul 请求链接 (#7955) 2021-08-12 01:17:51 -07:00
Ethan Shen 37877a93fe
feat(route): add Europa Press (#7943)
Co-authored-by: NeverBehave <gayhub@never.pet>
2021-08-12 01:15:44 -07:00
Ethan Shen 9bc0401962
feat(route): add World Happiness Report (#7223)
Co-authored-by: NeverBehave <gayhub@never.pet>
2021-08-12 01:14:44 -07:00