Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
249 commits
Select commit Hold shift + click to select a range
5012e71
docs: 格式化文档 (#9450)
chazeon Apr 4, 2022
cf8cb29
docs: 修正冗余表述 (#9456)
myuanz Apr 4, 2022
19608ab
docs: invalid `<p>` for route params (#9455)
Rongronggg9 Apr 4, 2022
b17eaf9
feat(route): 增加了六个美国博物馆的展讯 (#9451)
chazeon Apr 4, 2022
62c3329
style: auto format
github-actions[bot] Apr 4, 2022
7399d17
fix(route)(weibo): misc icons break some readers (#9458)
Rongronggg9 Apr 4, 2022
32fe3ae
feat(route)(kyodonews): icon, main pic, updated date (#9459)
Rongronggg9 Apr 4, 2022
6835353
fix(route)(fortunechina): 修正财富中文网日期时间匹配规则、移除一些不必要评论元素 (#9464)
rpsh Apr 4, 2022
f11b575
fix(route): gamer gnn news (#9465)
TonyRL Apr 4, 2022
5be4828
chore(deps): bump winston from 3.6.0 to 3.7.1 (#9467)
dependabot[bot] Apr 4, 2022
ae5c8b3
chore(deps-dev): bump prettier from 2.6.1 to 2.6.2 (#9468)
dependabot[bot] Apr 4, 2022
d887fd7
fix(route)(weibo): icon replacement regex (#9470)
Rongronggg9 Apr 5, 2022
26fbfbf
feat(route): add 公众号 360 (#9457)
Rongronggg9 Apr 5, 2022
79d9192
fix(route)(twitter): outdated web API (#9471)
Rongronggg9 Apr 5, 2022
5218627
feat(route)!: remove wechat/csm wechat/wjdn (#9472)
TonyRL Apr 5, 2022
5ee1645
fix(route): github recent issues (#9473)
TonyRL Apr 5, 2022
ee8ad5b
feat(route)(twitter): API fallback (#9475)
Rongronggg9 Apr 5, 2022
e9a51c0
fix(route)(weibo/timeline): improper caching usage (#9474)
Rongronggg9 Apr 6, 2022
ca5af86
chore(deps): bump codecov/codecov-action from 2.1.0 to 3 (#9478)
dependabot[bot] Apr 6, 2022
1336159
chore(deps): remove @types/got, @types/cheerio (#9479)
Rongronggg9 Apr 6, 2022
49ad44c
chore(deps): bump @sentry/node from 6.19.3 to 6.19.4 (#9476)
dependabot[bot] Apr 6, 2022
77776d6
chore(deps): bump winston from 3.7.1 to 3.7.2 (#9477)
dependabot[bot] Apr 6, 2022
d7b7a01
feat(route): add gaze.run update notify (#9482)
zytomorrow Apr 6, 2022
1261a74
style: auto format
github-actions[bot] Apr 6, 2022
e7558e8
fix(route): sichuan/deyang 政府公开信息 (#9480)
zytomorrow Apr 7, 2022
e0b7ca6
fix(route)(twitter)(web API): retweet un-extracted (#9488)
Rongronggg9 Apr 7, 2022
a79cc20
feat(utils): add utils for WeChat MP (#9487)
Rongronggg9 Apr 7, 2022
f97cdb2
fix: lack of config error url (#9490)
TonyRL Apr 7, 2022
aade7a8
chore(deps): bump lru-cache from 7.7.3 to 7.8.0 (#9491)
dependabot[bot] Apr 7, 2022
2d5a4e0
chore(deps): bump @sentry/node from 6.19.4 to 6.19.6 (#9493)
dependabot[bot] Apr 7, 2022
8ec1046
docs: add sponsor
DIYgod Apr 8, 2022
c49b558
fix(route): RSSHub sponsors title and description (#9500)
TonyRL Apr 8, 2022
eb9026e
fix(route)(wechat/ershicimi): outdated URL (#9494)
Rongronggg9 Apr 8, 2022
74e1f88
feat(core)(utils/wechat-mp): normalize URL (#9497)
Rongronggg9 Apr 8, 2022
d09693c
docs: wechat-feeds warning
TonyRL Apr 8, 2022
6996efd
fix(route):雪球 基金净值数据来源调整为蛋卷基金 (#9489)
NathanDai Apr 8, 2022
ef94bcd
feat(route): add two blogs: Stratechery & Miris Whispers (#9496)
chazeon Apr 8, 2022
2dab2ad
fix(route)(wechat/ce): anti-crawler and pubDate (#9495)
Rongronggg9 Apr 8, 2022
be8b5d1
docs: fix H3 heading
TonyRL Apr 8, 2022
928b089
feat(route): add 逛丢 (#9503)
Apr 9, 2022
69210f7
fix(route)(twreporter): title,author,pubDate (#9502)
j1g5awi Apr 9, 2022
ef8e2e1
fix(radar): fix docs URL (#9504)
Apr 9, 2022
3b00a07
chore: skip docker build on maintainer / radar update
TonyRL Apr 9, 2022
c574165
feat(route): add bookfere (#9501)
AustinZhang1024 Apr 9, 2022
0c38887
feat(route): add 大连理工大学 (#8580)
Apr 10, 2022
a25fd4b
fix(utils): wrong date with same weekday in parse-date (#9506)
Apr 10, 2022
97fe868
docs: fix missing route tag
TonyRL Apr 10, 2022
4c9b820
feat(route): add 大连理工大学盘锦校区教学事务办公室 (#9509)
Apr 10, 2022
12760ca
feat(route): add 大连理工大学盘锦校区 (#9515)
Apr 11, 2022
35cdecc
chore(deps): bump actions/setup-node from 3.1.0 to 3.1.1 (#9518)
dependabot[bot] Apr 11, 2022
c6abcc5
chore(deps): bump ioredis from 5.0.3 to 5.0.4 (#9519)
dependabot[bot] Apr 11, 2022
aec4077
chore(deps-dev): bump eslint from 8.12.0 to 8.13.0 (#9520)
dependabot[bot] Apr 11, 2022
cc51a3f
chore(deps): bump lru-cache from 7.8.0 to 7.8.1 (#9521)
dependabot[bot] Apr 11, 2022
84f282b
chore(deps-dev): bump @vercel/nft from 0.18.0 to 0.18.1 (#9523)
dependabot[bot] Apr 11, 2022
fb2a407
feat(route): qbittorrent news (#9524)
TonyRL Apr 11, 2022
6c7988c
chore: rebuild yarn.lock
TonyRL Apr 11, 2022
55ecc71
feat(route): add 科学网用户博客 (#9525)
Apr 12, 2022
3526170
chore: add eslint along with reviewdong
TonyRL Apr 12, 2022
bafb353
feat(utils): random user agent (#9449)
TonyRL Apr 12, 2022
ae66123
fix(route)(fortunechina): 修正财富中文网双语文章中文内容重复的问题 (#9526)
rpsh Apr 12, 2022
d63ece2
fix(route): yystv change selector path, add radar and refactor to V2 …
Apr 13, 2022
6f98d3c
fix(route): 果壳网科学人 (#9531)
Apr 13, 2022
56ccda8
fix(route): add the title to the first article and refactor to V2 (#9…
Apr 13, 2022
472e0d8
style: auto format
github-actions[bot] Apr 13, 2022
4f6873f
chore: rename to .eslintrc.json
TonyRL Apr 13, 2022
996b66f
fix(core): issue #8162 (#9533)
stanly0726 Apr 13, 2022
334f4b2
chore(deps-dev): bump @vercel/nft from 0.18.1 to 0.18.2 (#9535)
dependabot[bot] Apr 13, 2022
48c0faa
chore(deps): bump https-proxy-agent from 5.0.0 to 5.0.1 (#9538)
dependabot[bot] Apr 14, 2022
edb6e5d
fix(route): add debug json output and cookie support (#9539)
TonyRL Apr 14, 2022
4771504
docs: Translate documentation of shopping craigslist from Chinese to …
henryclw Apr 15, 2022
eb467af
fix(utils): 支持将微信公众号转载文章的正文抓取回来 (#9534)
rpsh Apr 15, 2022
a0f067c
feat(route): 首席经济学家 (#9543)
FledgeXu Apr 15, 2022
c6a8efb
docs: update cache expiry time (#9545)
Rongronggg9 Apr 15, 2022
658570b
fix(route): taptap topic review (#9540)
TonyRL Apr 15, 2022
7b9c0f3
chore(deps): bump async from 2.6.3 to 2.6.4
TonyRL Apr 15, 2022
e35940b
chore(deps): bump cirrus-actions/rebase from 1.5 to 1.6 (#9548)
dependabot[bot] Apr 15, 2022
61da6e9
chore(deps): bump dayjs from 1.11.0 to 1.11.1 (#9547)
dependabot[bot] Apr 15, 2022
08c1a03
docs: fix typo in english docs (#9549)
New-dev0 Apr 16, 2022
5622641
feat(route): 首席经济学家论坛 (#9550)
kdanfly Apr 16, 2022
958be62
feat(route): 山东大学(威海)新闻网 (#9537)
kxxt Apr 16, 2022
d7d6dc3
docs: fix Route's path and example of chinacef (#9552)
kdanfly Apr 16, 2022
cff988a
feat(route): add Eagle's blog and refactor to V2 (#9546)
Apr 17, 2022
331405d
feat(route): 黄健宏博客 (#9553)
stormbuf Apr 17, 2022
fafb2d2
fix(route): chinacerf (#9554)
FledgeXu Apr 17, 2022
1e11388
fix(route): update zju/grs (#9551)
yinaoxiong Apr 17, 2022
455594a
chore: switch back from `pull_request_target` to `pull_request`
TonyRL Apr 17, 2022
6b7381e
feat(core): add custom fields to atom feed (#9355)
wb14123 Apr 17, 2022
3edf239
fix(route): 观察网源支持获取Author字段 (#9561)
yuxinliu-alex Apr 18, 2022
864016c
fix(route): dongqiudi/top_news cannot convert undefined or null to ob…
Apr 18, 2022
f3e069d
fix(utils): 支持微信公众号单图片文章抓取; 增加输出阅读原文链接 (#9557)
rpsh Apr 18, 2022
8d2d835
fix(route): 新华社新闻_新华网获取Pubdate字段 (#9570)
yuxinliu-alex Apr 18, 2022
a56a51e
chore(deps-dev): bump fs-extra from 10.0.1 to 10.1.0 (#9574)
dependabot[bot] Apr 18, 2022
615c81d
chore(deps): bump rand-user-agent from 1.0.58 to 1.0.59 (#9573)
dependabot[bot] Apr 18, 2022
9b459f0
fix(route): npm/package fix route params (#9578)
Apr 19, 2022
103a14b
fix(route): cnbeta去除广告并添加Author字段 (#9562)
yuxinliu-alex Apr 19, 2022
5f4cf8a
feat(route): 参考消息 (#9564)
yuxinliu-alex Apr 19, 2022
80aab00
feat(route): 国家广播电视总局 (#9566)
yuxinliu-alex Apr 19, 2022
c1af2de
style: auto format
github-actions[bot] Apr 19, 2022
0664fea
fix(docs): steam/search change example in docs (#9583)
Apr 20, 2022
fccb918
fix(route): 央视新闻-专题 支持获取Author字段 (#9568)
yuxinliu-alex Apr 20, 2022
a43542e
feat(route): `/sdu/wh/jwc/:column?` for 山东大学(威海)教务处 (#9585)
kxxt Apr 20, 2022
cc48b48
feat(route): add wechat/data258 (#9571)
Rongronggg9 Apr 20, 2022
7e9af67
feat(route): 环球网 (#9580)
yuxinliu-alex Apr 20, 2022
645e532
style: auto format
github-actions[bot] Apr 20, 2022
0522c63
fix(core/utils): invalid request header `Server` (#9582)
Rongronggg9 Apr 20, 2022
dd4a216
chore(deps): bump socks-proxy-agent from 6.1.1 to 6.2.0 (#9572)
dependabot[bot] Apr 20, 2022
78e3fdb
chore(deps): bump puppeteer from 13.5.2 to 13.6.0 (#9586)
dependabot[bot] Apr 20, 2022
35347a9
feat(route): 中国新闻网 (#9584)
yuxinliu-alex Apr 21, 2022
04206ca
feat(route): 封面新闻 (#9587)
yuxinliu-alex Apr 21, 2022
a8f8ce4
style: auto format
github-actions[bot] Apr 21, 2022
9d9926d
fix(utils): 修复抓取微信已删除文章时遇到的报错 (#9589)
rpsh Apr 21, 2022
67d87e2
feat(route): E站增加封面图嵌入RSS和封面图替换为代理网址的功能 (#9344)
yindaheng98 Apr 21, 2022
0e91efe
style: auto format
github-actions[bot] Apr 21, 2022
42dfd5c
feat(route): 增加微语简报源 (#9577)
x2009again Apr 21, 2022
f81bbc9
style: auto format
github-actions[bot] Apr 21, 2022
bafea74
docs: update anticrawler policy for /douban/group/:groupid
TonyRL Apr 21, 2022
7914311
Merge branch 'master' of https://github.com/DIYgod/RSSHub into DIYgod
TonyRL Apr 21, 2022
17658b3
chore(deps): bump showdown from 2.0.3 to 2.1.0 (#9591)
dependabot[bot] Apr 21, 2022
fa3428f
fix(route): dx2025/category policy-achievement is failure and refacto…
Apr 22, 2022
bf156eb
feat(route): 投中网 (#9593)
yuxinliu-alex Apr 22, 2022
912fef7
style: auto format
github-actions[bot] Apr 22, 2022
4dbd8f0
fix(route): CCTV - The link to detail page got blanks which cause the…
yuxinliu-alex Apr 22, 2022
159da90
fix(route): 教育部路由新增教育要闻分类,修复部分文章标题取值;优化雪球路由,对于讨论帖直接获取完整内容 (#9556)
coderlaoma Apr 22, 2022
a9799e4
style: auto format
github-actions[bot] Apr 22, 2022
2eebabd
chore(deps-dev): bump eslint from 8.13.0 to 8.14.0 (#9603)
dependabot[bot] Apr 22, 2022
ef8aeab
fix(route): 解决bilibili专栏多张图片时无法获取问题 (#9601)
shinonomeow Apr 23, 2022
312fd16
style: auto format
github-actions[bot] Apr 23, 2022
ac11c9e
feat(route): add A姐分享NSFW (#9596)
zhenhappy Apr 23, 2022
c7aa447
feat(route): 北极星光伏 (#9542)
1065464173 Apr 23, 2022
c9bb12f
feat(route): add 抖音 (#9604)
Max-Tortoise Apr 24, 2022
10acacf
feat(route): add 北京大学学生就业指导服务中心 (#7904)
DylanXie123 Apr 24, 2022
29c0485
feat(route): add arknights announce (#9607)
swwind Apr 24, 2022
7be82cc
chore(deps): bump markdown-it from 12.3.2 to 13.0.0 (#9602)
dependabot[bot] Apr 24, 2022
c9e423b
feat(route): add Coomer (#9610)
nczitzk Apr 25, 2022
377c2c4
feat(route): add chinafactcheck (#9611)
kdanfly Apr 25, 2022
6585702
feat(route): add syosetu (#9612)
Apr 25, 2022
133a960
fix(route): sichuan/deyang 政府公开信息 (#9613)
zytomorrow Apr 25, 2022
68b2499
feat(route): optimize the display title of jasa, ieee and elsevier jo…
Derekmini Apr 25, 2022
bc92dbc
feat(route): add 中南财经政法大学通知公告 (#9616)
nczitzk Apr 25, 2022
6510892
feat(route)(douyin/user): major rewrite (#9618)
Rongronggg9 Apr 25, 2022
44eb849
fix: typo in comment
TonyRL Apr 25, 2022
9013eb7
chore(deps): bump github/codeql-action from 1 to 2 (#9621)
dependabot[bot] Apr 25, 2022
3073ef2
chore(deps): bump rand-user-agent from 1.0.59 to 1.0.60 (#9623)
dependabot[bot] Apr 25, 2022
3b73533
feat(route): add 京东商品价格 (#9629)
nczitzk Apr 26, 2022
a82e905
feat(route): add 中南大学计算机学院通知 (#9631)
j1g5awi Apr 26, 2022
a03d51a
chore(deps-dev): bump jest from 27.5.1 to 28.0.0 (#9622)
dependabot[bot] Apr 26, 2022
ff97759
fix(route): bilibili video page ordering, accept common limit params …
TonyRL Apr 26, 2022
04e851b
chore(deps): bump @sentry/node from 6.19.6 to 6.19.7 (#9636)
dependabot[bot] Apr 27, 2022
3d98cf6
fix(route): 京东商品价格标题 (#9638)
nczitzk Apr 27, 2022
5adab5e
chore(deps-dev): bump jest from 28.0.0 to 28.0.1 (#9635)
dependabot[bot] Apr 27, 2022
bba6a46
feat(route): add 人人影视-今日播出 (#9619)
bao1991213 Apr 27, 2022
969df26
fix(route): 联合早报图片重定向 (#9645)
nczitzk Apr 28, 2022
34b58eb
fix(utils): request without hostname (#9649)
TonyRL Apr 28, 2022
d8c00ec
build(docker): optimize; add Chromium bundled ver (#9626)
Rongronggg9 Apr 28, 2022
ba496a6
chore: Set permissions for GitHub actions (#9644)
neilnaveen Apr 28, 2022
4411dd2
chore(deps-dev): bump supertest from 6.2.2 to 6.2.3 (#9643)
dependabot[bot] Apr 28, 2022
f76d042
chore(deps-dev): bump jest from 28.0.1 to 28.0.2 (#9642)
dependabot[bot] Apr 28, 2022
4f5699b
feat(route): add Zotero (#9650)
jasongzy Apr 28, 2022
e063633
refactor: switch to `twitter-api-v2` from `twit` (#9652)
TonyRL Apr 28, 2022
15717f3
chore(deps): bump mailparser from 3.4.0 to 3.5.0 (#9654)
dependabot[bot] Apr 28, 2022
ff3fa74
chore(deps): bump puppeteer from 13.6.0 to 13.7.0 (#9655)
dependabot[bot] Apr 28, 2022
4e65978
feat(route): add C114通信网滚动新闻 (#9651)
nczitzk Apr 29, 2022
5d36923
docs: add carbon ads
DIYgod Apr 29, 2022
9b17621
docs: Update documentation for IMAP config to reflect #8212 (#9657)
zoenglinghou Apr 29, 2022
1130372
chore(deps-dev): bump jest from 28.0.2 to 28.0.3 (#9663)
dependabot[bot] Apr 29, 2022
78a5ce1
chore(deps-dev): bump nodemon from 2.0.15 to 2.0.16 (#9662)
dependabot[bot] Apr 29, 2022
72070d4
chore(*): fix code coverage not uploaded (#9661)
Rongronggg9 Apr 29, 2022
6bdb57c
chore(CI): re-enable codecov token to fix error (#9664)
Rongronggg9 Apr 30, 2022
22bbc76
fix(route): 深圳证券交易所问询函件 (#9658)
nczitzk Apr 30, 2022
d9dd7af
fix(radar): szse docs url
TonyRL Apr 30, 2022
c4ca3e4
feat(route): add ally/rail (#9660)
Rongronggg9 Apr 30, 2022
d5e1217
fix: 修复懂球帝部分路由图片加载的bug
HenryQW Apr 30, 2022
616ad78
fix(core/utils/anti-hotlink): invalid HTML output (#9669)
Rongronggg9 Apr 30, 2022
e5484a7
feat(route): add 云听 (#9665)
nczitzk Apr 30, 2022
70e20be
fix(route): 有知有行有知文章 (#9668)
nczitzk Apr 30, 2022
a306f8e
docs: add example to curiouscat that works (#9672)
dvikan May 1, 2022
1a547ca
feat(route): 更新少数派全文支持 (#9653)
HenryQW May 1, 2022
f88e58b
feat(route): 中国科学技术大学-研究生院/信息科学技术学院/电子工程与信息科学系 (#9666)
jasongzy May 1, 2022
05fd12e
chore(coverage): exclude lib/router.js; link fix (#9671)
Rongronggg9 May 1, 2022
7a6be9a
feat(core): customizable Chromium executable path (#9670)
Rongronggg9 May 1, 2022
a428c4c
fix(route): broken link embassy/us (#9673)
mcao2 May 1, 2022
e21f091
feat(route): 爱果果-最新H5 (#9648)
yuxinliu-alex May 1, 2022
2dce008
style: auto format
github-actions[bot] May 1, 2022
24e435d
feat(route)!: remove dwnews (#9675)
TonyRL May 1, 2022
0b544e1
feat(utils): puppeteer-extra-plugin-stealth (#9676)
TonyRL May 2, 2022
d676247
docs(parameter): URL encode warning (#9678)
Rongronggg9 May 2, 2022
569b7d8
chore(deps): bump lru-cache from 7.8.1 to 7.9.0 (#9679)
dependabot[bot] May 2, 2022
7b6589c
chore(*): migrate to GHA-based PR route test (#9683)
Rongronggg9 May 3, 2022
ac7b366
fix(route): 南京理工大学 (#9659)
jasongzy May 3, 2022
1dfc101
chore: bump gha node to v16 (#9685)
TonyRL May 3, 2022
78b43b1
chore: add pr title lint (#9686)
TonyRL May 3, 2022
e0a809f
chore: set test image artifact to 1 day
TonyRL May 3, 2022
225d922
fix(route): javdb new layout (#9687)
TonyRL May 3, 2022
a5d74e5
feat(core/middleware/anti-hotlink): route matching (#9681)
Rongronggg9 May 3, 2022
dcc3c80
chore(deps): bump markdown-it from 13.0.0 to 13.0.1 (#9688)
dependabot[bot] May 3, 2022
c1fbc64
chore(*): detailed info for PR route test (#9689)
Rongronggg9 May 3, 2022
23fcb6b
feat(core/utils/request-wrapper): request logging (#9691)
Rongronggg9 May 4, 2022
ff3fcdd
chore(CI): remove setup-QEMU from docker-test (#9690)
Rongronggg9 May 4, 2022
be1a1b3
fix(route): uraaka-joshi (#7908)
Halcao May 4, 2022
2bcc6f6
test: puppeteer wait until test finish
TonyRL May 4, 2022
63ccc94
fix(route/jike): image URL; outdated usage (#9693)
Rongronggg9 May 5, 2022
a6b2f65
feat(route): add njit (#9696)
zefengdaguo May 5, 2022
f3741e8
style: auto format
github-actions[bot] May 5, 2022
955de7d
refactor(route/jike): extract repeated logic; fix await (#9698)
Rongronggg9 May 5, 2022
3d21235
chore(*): PR route test result auto-split (#9699)
Rongronggg9 May 5, 2022
8ea47d6
chore(deps): bump docker/setup-qemu-action from 1 to 2 (#9708)
dependabot[bot] May 5, 2022
e881149
chore(deps): bump docker/setup-buildx-action from 1 to 2 (#9706)
dependabot[bot] May 5, 2022
c4e6059
chore(deps): bump docker/login-action from 1 to 2 (#9709)
dependabot[bot] May 5, 2022
0659260
chore(deps): bump docker/metadata-action from 3 to 4 (#9707)
dependabot[bot] May 5, 2022
4b3cb4a
chore(deps): bump docker/build-push-action from 2 to 3 (#9705)
dependabot[bot] May 5, 2022
4432bb0
chore(*): fix improper @pull[bot] config (#9710)
Rongronggg9 May 6, 2022
a37cf18
refactor (route/mastodon): quick fix on empty reposted toots (#9700)
notofoe May 6, 2022
3323398
fix(route): Epic Games Store (#9712)
nczitzk May 6, 2022
8081475
fix(route): bug fix and perf improve for moe (#9703)
coderlaoma May 6, 2022
115bf93
style: auto format
github-actions[bot] May 6, 2022
19e3833
fix: 懂球帝缓存错误
HenryQW May 6, 2022
c6d2667
chore(deps): bump dayjs from 1.11.1 to 1.11.2 (#9717)
dependabot[bot] May 6, 2022
33cb200
chore(deps-dev): bump jest from 28.0.3 to 28.1.0 (#9718)
dependabot[bot] May 6, 2022
2441ef9
chore(deps): bump rand-user-agent from 1.0.60 to 1.0.61 (#9680)
dependabot[bot] May 6, 2022
eb79456
docs: support parameter suffix `*` (#7946)
Hagb May 7, 2022
145ad51
feat: add immiau (#9722)
Liu233w May 8, 2022
0c3ca1b
fix(route): fix pianyuan, add pianyuan/search (#9721)
jerry1119 May 8, 2022
efd646d
feat(route): add 中国智库网-观点与实践 (#8779)
AEliu May 9, 2022
22c480a
style: auto format
github-actions[bot] May 9, 2022
d1cf0b5
chore(deps-dev): bump eslint from 8.14.0 to 8.15.0 (#9726)
dependabot[bot] May 9, 2022
408284c
chore(deps): bump rand-user-agent from 1.0.61 to 1.0.62 (#9727)
dependabot[bot] May 10, 2022
3e81ed0
chore(deps): bump cirrus-actions/rebase from 1.6 to 1.7 (#9733)
dependabot[bot] May 10, 2022
f02b5b4
chore(deps): bump dotenv from 16.0.0 to 16.0.1 (#9730)
dependabot[bot] May 10, 2022
c0edc6b
chore(deps): bump tiny-async-pool from 2.0.1 to 2.1.0 (#9731)
dependabot[bot] May 10, 2022
4e407d7
ci(test): ignore push event on `dependabot/**` (#9736)
Rongronggg9 May 11, 2022
042ecc6
chore(deps): bump lru-cache from 7.9.0 to 7.10.0 (#9738)
dependabot[bot] May 11, 2022
6ec2ba9
chore(deps): bump lru-cache from 7.10.0 to 7.10.1 (#9743)
dependabot[bot] May 12, 2022
659997e
fix: wrong cache key
HenryQW May 13, 2022
3205a1d
fix(route): Epic Games Store (#9746)
KotaHv May 13, 2022
98ccf86
docs: scihub badge in en docs (#9747)
TonyRL May 13, 2022
08602c7
fix(route): 修复/zhihu/question无法获取,需要设置非登录状态下cookie (#9729)
hacklu May 13, 2022
039e8eb
fix(route): nature (#9748)
TonyRL May 13, 2022
c29bd1e
style: disable eslint on g_encrypt
TonyRL May 13, 2022
6c12c76
feat(route): 旅法师营地 显示内嵌b站视频地址 (#9749)
auto-bot-ty May 13, 2022
bd7e5e7
style: auto format
github-actions[bot] May 13, 2022
a4d0e8c
chore(deps): remove unused dep `ip` and `ci-info` (#9750)
TonyRL May 13, 2022
07af764
style: fix lint
TonyRL May 13, 2022
6b9e46b
style: disable eslint on g_encrypt
TonyRL May 13, 2022
84f5430
fix(route): nature research null description (#9752)
TonyRL May 13, 2022
2c41038
chore(workflow): ping maintainer on matched routes; [skip ci] (#9758)
NeverBehave May 15, 2022
49c0265
feat(radar): build JSON-versioned radar rules (#9756)
Rongronggg9 May 15, 2022
d080c6c
fix(workflow): eslint and NOROUTE [skip ci]
NeverBehave May 15, 2022
d727406
fix(workflow): rebuild assets on script changes
NeverBehave May 15, 2022
9e32a79
fix(route): 优化知乎问题获取方式,不必设置环境变量 (#9754)
hacklu May 15, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
9 changes: 9 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,18 @@ test
process.json
app.json
.travis.yml
app-minimal
.idea
.env
.editorconfig
Procfile
now.json
jsconfig.json
package-lock.json

#git but keep the git commit hash
.git/logs
.git/objects
.git/index
.git/info
.git/hooks
File renamed without changes.
14 changes: 8 additions & 6 deletions .github/ISSUE_TEMPLATE/bug_report_en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,21 +9,23 @@ body:
Please ensure you have read [documentation](https://docs.rsshub.app/en), and provide all the information required by this template, otherwise the issue will be closed immediately.
Due to the anti-crawling policy implemented by certain websites, some RSS routes provided by the demo will return status code 403. This is not an issue caused by RSSHub and please do not report it.

- type: input
- type: textarea
id: routes
attributes:
label: Routes
description: The involved route, without any parameters
placeholder: /rsshub/routes
description: The involved route, without any parameters, copied directly from the docs "route" field, one link per line. Use `NOROUTE` if it is not route related.
placeholder: /rsshub/someroute/:type?
render: routes
validations:
required: true

- type: input
- type: textarea
id: fullroutes
attributes:
label: Full routes
description: The involved route, with all required and optional parameters
placeholder: /rsshub/routes
description: The involved route, with all required and optional parameters, and could be duplicate if necessary (different parameters)
placeholder: /rsshub/routes/1234?some_extension=mode
render: fullroutes
validations:
required: true

Expand Down
14 changes: 8 additions & 6 deletions .github/ISSUE_TEMPLATE/bug_report_zh.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,21 +9,23 @@ body:
请确保已阅读 [文档](https://docs.rsshub.app) 内相关部分,并按照模版提供信息,否则 issue 将被立即关闭。
由于部分源网站反爬缘故,演示地址一些 RSS 会返回 status code 403,该问题不是 RSSHub 所致,请勿提交 issue。

- type: input
- type: textarea
id: routes
attributes:
label: 路由地址
description: 不包含参数
placeholder: /rsshub/routes
description: 不包含参数,复制文档路由参数,一行一个,不要重复。如果和路由没有关系,请写`NOROUTE`
placeholder: /rsshub/someroute/:type?
render: routes
validations:
required: true

- type: input
- type: textarea
id: fullroutes
attributes:
label: 完整路由地址
description: 包含所有必选与可选参数
placeholder: /rsshub/routes
description: 包含所有必选与可选参数,一行一个,可以有重复路由不同参数(如果需要)
placeholder: /rsshub/routes/1234?some_extension=mode
render: fullroutes
validations:
required: true

Expand Down
2 changes: 1 addition & 1 deletion .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Please include route starts with /, with all required and optional parameters. F
/some/route
/some/other/route
```
如果你的 PR 与路由无关, 请在 route 区域 填写 `NOROUTE`,而不是直接删除 `routes` 区域。否则你的 PR 将会被无条件关闭。
如果你的 PR 与路由无关, 请在 `routes` 区域 填写 `NOROUTE`,而不是直接删除 `routes` 区域。否则你的 PR 将会被无条件关闭。
If your changes are not related to route, please fill in `routes` with `NOROUTE`. Fail to comply will result in your PR being closed.
-->

Expand Down
7 changes: 7 additions & 0 deletions .github/pull.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
version: '1'
rules:
- base: master
upstream: diygod:master
# default value if this file does not exist is `hardreset`, effectively overwriting any downstream changes!
# previously it was the misconfigured PR route test workflow that rescued downstream changes from being overwritten
mergeMethod: merge
7 changes: 4 additions & 3 deletions .github/workflows/build-assets.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ on:
- master
paths:
- 'lib/**'
- 'scripts/workflow/*.js'

jobs:
build:
Expand All @@ -14,10 +15,10 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Use Node.js v14
uses: actions/setup-node@v3.1.0
- name: Use Node.js v16
uses: actions/setup-node@v3
with:
node-version: '14'
node-version: 16
cache: 'yarn'
- name: Build file
run: yarn && npm run build:all
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v1
uses: github/codeql-action/init@v2
with:
languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file.
Expand All @@ -53,7 +53,7 @@ jobs:
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@v1
uses: github/codeql-action/autobuild@v2

# ℹ️ Command-line programs to run using the OS shell.
# 📚 https://git.io/JvXDl
Expand All @@ -67,4 +67,4 @@ jobs:
# make release

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v1
uses: github/codeql-action/analyze@v2
20 changes: 15 additions & 5 deletions .github/workflows/comment-on-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,21 @@ on:
types: [opened]

jobs:
comment:
testRoute:
name: Route test
runs-on: ubuntu-latest
steps:
- name: Comment
uses: ben-z/actions-comment-on-issue@1.0.2
- uses: actions/checkout@v3
- uses: actions/setup-node@v3 # just need its cache
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
message: '👍 感谢提交该 Issue,请确保仔细阅读 [Issue 模板](https://github.com/DIYgod/RSSHub/blob/master/.github/ISSUE_TEMPLATE/bug_report_zh.yml),[RSS 提案模板](https://github.com/DIYgod/RSSHub/blob/master/.github/ISSUE_TEMPLATE/rss_request_zh.yml) 或 [Feature 提案模板](https://github.com/DIYgod/RSSHub/blob/master/.github/ISSUE_TEMPLATE/feature_request_zh.yml) 以便于测试。不符合模板将导致 Issue 被直接关闭。<br /><br />👍 Thanks for the issue, please follow the [Issue template](https://github.com/DIYgod/RSSHub/blob/master/.github/ISSUE_TEMPLATE/bug_report_en.yml), [RSS proposal template](https://github.com/DIYgod/RSSHub/blob/master/.github/ISSUE_TEMPLATE/rss_request_en.yml) or [Feature proposal template](https://github.com/DIYgod/RSSHub/blob/master/.github/ISSUE_TEMPLATE/feature_request_en.yml). Otherwise the issue will be closed.'
node-version: 16
cache: 'yarn'
- name: Install dependencies (yarn) # needed since we need to parse markdown, so we also use got instead
run: yarn
- name: Generate feedback
uses: actions/github-script@v6
with:
github-token: ${{secrets.GITHUB_TOKEN}}
script: |
const script = require(`${process.env.GITHUB_WORKSPACE}/scripts/workflow/test-issue/find-maintainer.js`)
return await script({ github, context, core })
69 changes: 51 additions & 18 deletions .github/workflows/docker-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,20 @@ on:
branches:
- master
paths:
- 'lib/**'
- '.github/workflows/docker-release.yml'
- 'lib/**'
- '!**/maintainer.js'
- '!**/radar.js'
- '!**/radar-rules.js'
- 'Dockerfile'
- 'package.json'
- 'yarn.lock'
workflow_dispatch: ~

jobs:
check-env:
permissions:
contents: none
runs-on: ubuntu-latest
outputs:
check-docker: ${{ steps.check-docker.outputs.defined }}
Expand All @@ -32,47 +37,75 @@ jobs:
uses: actions/checkout@v3

- name: Set up QEMU
uses: docker/setup-qemu-action@v1
uses: docker/setup-qemu-action@v2

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
uses: docker/setup-buildx-action@v2

- name: Login to DockerHub
uses: docker/login-action@v1
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}

- name: Extract Docker metadata
id: meta
uses: docker/metadata-action@v3
- name: Extract Docker metadata (ordinary version)
id: meta-ordinary
uses: docker/metadata-action@v4
with:
images: ${{ secrets.DOCKER_USERNAME }}/rsshub
tags: |
type=raw,value=latest,enable=true
type=raw,value={{date 'YYYY-MM-DD'}},enable=true
flavor: latest=false

- name: Build and push Docker image
uses: docker/build-push-action@v2
- name: Build and push Docker image (ordinary version)
uses: docker/build-push-action@v3
with:
context: .
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
tags: ${{ steps.meta-ordinary.outputs.tags }}
labels: ${{ steps.meta-ordinary.outputs.labels }}
platforms: linux/amd64,linux/arm/v7,linux/arm64
cache-from: type=gha,scope=docker-release
cache-to: type=gha,mode=max,scope=docker-release
# cache-from: type=registry,ref=${{ secrets.DOCKER_USERNAME }}/rsshub:buildcache
# cache-to: type=registry,ref=${{ secrets.DOCKER_USERNAME }}/rsshub:buildcache,mode=max

- name: Extract Docker metadata (Chromium-bundled version)
id: meta-chromium-bundled
uses: docker/metadata-action@v4
with:
images: ${{ secrets.DOCKER_USERNAME }}/rsshub
tags: |
type=raw,value=chromium-bundled,enable=true
type=raw,value=chromium-bundled-{{date 'YYYY-MM-DD'}},enable=true
flavor: latest=false

- name: Build and push Docker image (Chromium-bundled version)
uses: docker/build-push-action@v3
with:
context: .
build-args: PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=0
push: true
tags: ${{ steps.meta-chromium-bundled.outputs.tags }}
labels: ${{ steps.meta-chromium-bundled.outputs.labels }}
platforms: linux/amd64,linux/arm/v7,linux/arm64
cache-from: |
type=registry,ref=${{ secrets.DOCKER_USERNAME }}/rsshub:chromium-bundled
# type=gha,scope=docker-release # not needed, Docker automatically uses local cache from the builder
# type=registry,ref=${{ secrets.DOCKER_USERNAME }}/rsshub:buildcache
cache-to: type=inline,ref=${{ secrets.DOCKER_USERNAME }}/rsshub:chromium-bundled # inline cache is enough

description:
runs-on: ubuntu-latest
needs: check-env
if: needs.check-env.outputs.check-docker == 'true'
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v3

- name: Docker Hub Description
uses: peter-evans/dockerhub-description@v3
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
repository: ${{ secrets.DOCKER_USERNAME }}/rsshub
- name: Docker Hub Description
uses: peter-evans/dockerhub-description@v3
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
repository: ${{ secrets.DOCKER_USERNAME }}/rsshub
45 changes: 31 additions & 14 deletions .github/workflows/docker-test.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
name: '[docker] CI for build tests'
# name: '[docker] CI for build tests'
# https://github.community/t/215358
name: PR - Docker build test

on:
pull_request:
Expand All @@ -9,8 +11,12 @@ on:
- 'Dockerfile'
- 'package.json'
- 'yarn.lock'
- '.github/workflows/docker-test.yml'
# Please, always create a pull request instead of push to master.

permissions:
contents: read

jobs:
test:
name: Docker build & tests
Expand All @@ -19,32 +25,43 @@ jobs:
- name: Checkout
uses: actions/checkout@v3

- name: Set up QEMU
uses: docker/setup-qemu-action@v1

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
- name: Set up Docker Buildx # needed by `cache-from`
uses: docker/setup-buildx-action@v2

- name: Extract Docker metadata
id: meta
uses: docker/metadata-action@v3
uses: docker/metadata-action@v4
with:
images: rsshub
flavor: latest=true

- name: Build Docker image
uses: docker/build-push-action@v2
uses: docker/build-push-action@v3
with:
context: .
build-args: PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=0 # also test bundling Chromium
load: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
platforms: linux/amd64 # explicit
cache-from: |
type=gha,scope=docker-test
type=registry,ref=${{ secrets.DOCKER_USERNAME }}/rsshub:chromium-bundled
type=gha,scope=docker-release
cache-to: type=gha,mode=max,scope=docker-test
# ! build on amd64 is fast enough, and cache between PRs never hit, so never waste the 10GB cache limit !
# cache-from: |
# type=gha,scope=docker-test
# type=gha,scope=docker-release
# cache-to: type=gha,mode=max,scope=docker-test

- name: Test Docker image
run: bash scripts/docker/test-docker.sh

- name: Run dockerfile
run: |
chmod +x scripts/docker/test-docker.sh
scripts/docker/test-docker.sh
- name: Export Docker image
run: docker save rsshub:latest | gzip -1cf > rsshub.tar.gz

- name: Upload Docker image
uses: actions/upload-artifact@v3
with:
name: docker-image
path: rsshub.tar.gz
retention-days: 1
9 changes: 7 additions & 2 deletions .github/workflows/format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,21 @@ on:
branches:
- master

permissions:
contents: read

jobs:
format:
permissions:
contents: write # for Git to git push
name: Auto format
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3.1.0
- uses: actions/setup-node@v3
with:
node-version: '14'
node-version: 16
cache: 'yarn'
- run: yarn install
- run: npm run format
Expand Down
Loading