Commit Graph

209 Commits

Author SHA1 Message Date
Nisekoi5
de26213b58 fix: Fantia请求部分内容时因无cookie导致出错 (#10892)
* 为fantia增加cookie配置

* 为fantia的另一个路由增加cookies

* 增加文档教程,另外增加容错,就算Cookie也不抛出异常,而是返回小的缩略图

* refactor: migrate to v2
2022-09-27 23:20:06 +08:00
github-actions[bot]
25e34f6f35 style: auto format 2022-09-26 12:55:35 +00:00
Axojhf
67fe3a0cfa fix(route): Fix saraba1st thread cannot get image (#10906)
* add saraba1st Cookie Environment.
fix thread img issue

* add Saraba1st config to Install Doc

* fix imgHtml

* fix timezone

* refactor: migrate to v2
2022-09-26 20:52:50 +08:00
FeCCC
f27821d424 feat(route): add ZodGame (#10778)
* feat(route): add ZodGame

* style: auto format

* Update docs/bbs.md

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

* Update docs/en/bbs.md

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

Co-authored-by: FeCCC <964575805@qq.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2022-09-14 02:50:09 +08:00
Tony
878266c535 feat(core): true ua (#10761)
* feat(core): true ua

* test: skip mercury parser temporary
2022-09-12 01:13:38 +08:00
dependabot[bot]
ff57adb089 chore(deps-dev): bump @vercel/nft from 0.21.0 to 0.22.1 (#10675)
* chore(deps-dev): bump @vercel/nft from 0.21.0 to 0.22.1

Bumps [@vercel/nft](https://github.com/vercel/nft) from 0.21.0 to 0.22.1.
- [Release notes](https://github.com/vercel/nft/releases)
- [Commits](https://github.com/vercel/nft/compare/0.21.0...0.22.1)

---
updated-dependencies:
- dependency-name: "@vercel/nft"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* Revert "docs: vercel workaround (#10665)"

This reverts commit f57e6230ac.

* fix: scrape settings

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-03 01:54:37 +08:00
Tony
f57e6230ac docs: vercel workaround (#10665)
* docs: vercel workaround

* docs: weekly scrape
2022-09-01 03:47:18 +08:00
Tony
45cd224e18 docs: update deploy guide
https://github.com/DIYgod/RSSHub/discussions/10615
2022-08-25 19:28:14 +00:00
syrinka
d38dbe644a feat(route): 为 E 站增加 star cookie (#10607) 2022-08-25 19:30:28 +08:00
FeCCC
1a9fc89ff7 feat(route): iwara用户订阅列表 (#10517)
* feat(route): iwara用户订阅列表

* Update Error message in iwara subscription

Co-authored-by: FeCCC <964575805@qq.com>
2022-08-18 04:43:27 +04:00
NeverBehave
dc64debaf7 feat(core): regex engine naming and test suit (#10014)
* feat(core): regex engine config

* fix(docs): config naming

* filter-engine test naming
2022-06-23 04:38:52 +08:00
NeverBehave
e4478a366c feat(core): regex engine config (#10013) 2022-06-22 12:25:30 -07:00
NeverBehave
d979310c1a fix(docs): align cn and en docs for experimental params 2022-06-21 13:33:25 -07:00
NeverBehave
5db837d6dc feat(core): anti-hotlink experimental parameters (#9997)
Co-authored-by: Rongrong <i@rong.moe>
2022-06-20 18:41:16 -07:00
Tony
b9bc6831a4 feat(route): gitee (#9886) 2022-06-03 12:48:06 +08:00
Tony
e953f9f456 feat(route): youtube subscriptions (#9824) 2022-05-26 20:37:12 +08:00
Yue
9e32a7971e fix(route): 优化知乎问题获取方式,不必设置环境变量 (#9754)
* improve:优化知乎问题获取方式,不必设置环境变量

* Update lib/v2/zhihu/question.js

Co-authored-by: Rongrong <Rongronggg9@outlook.com>

* Update lib/v2/zhihu/question.js

Co-authored-by: Rongrong <Rongronggg9@outlook.com>

* Update lib/v2/zhihu/question.js

Co-authored-by: Rongrong <Rongronggg9@outlook.com>

* add cache support for dc_0(by Rongrong <i@rong.moe>)

Co-authored-by: Rongrong <Rongronggg9@outlook.com>
2022-05-15 18:13:29 +08:00
github-actions[bot]
bd7e5e768e style: auto format 2022-05-13 16:51:25 +00:00
Yue
08602c778c fix(route): 修复/zhihu/question无法获取,需要设置非登录状态下cookie (#9729)
* 修复/zhihu/question,需要设置非登录状态下cookie

* Update lib/routes/zhihu/execlib/g_encrypt.js

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

* 根据TonyRL review建议进行了修改

* Update lib/routes/zhihu/question.js

Co-authored-by: Rongrong <Rongronggg9@outlook.com>

* Update lib/routes/zhihu/question.js

Co-authored-by: Rongrong <Rongronggg9@outlook.com>

* Update lib/routes/zhihu/question.js

Co-authored-by: Rongrong <Rongronggg9@outlook.com>

* Update lib/routes/zhihu/question.js

Co-authored-by: Rongrong <Rongronggg9@outlook.com>

* Update lib/routes/zhihu/question.js

Co-authored-by: Rongrong <Rongronggg9@outlook.com>

* Update lib/routes/zhihu/question.js

Co-authored-by: Rongrong <Rongronggg9@outlook.com>

* 增加cookie中dc_0字段检验

* Update lib/routes/zhihu/question.js

Co-authored-by: Rongrong <Rongronggg9@outlook.com>

* Update lib/routes/zhihu/question.js

Co-authored-by: Rongrong <Rongronggg9@outlook.com>

* refactor: migrate to v2

* fix: Incomplete URL substring sanitization

Co-authored-by: Rongrong <Rongronggg9@outlook.com>
2022-05-14 00:21:11 +08:00
jerry1119
0c3ca1bb11 fix(route): fix pianyuan, add pianyuan/search (#9721)
* fix route pianyuan, add route pianyuan/search

* update doc

* changes for reviews

* Update lib/routes/pianyuan/utils.js

Co-authored-by: Rongrong <Rongronggg9@outlook.com>

* changes for reviews

* refactor: migrate to v2

Co-authored-by: Rongrong <Rongronggg9@outlook.com>
2022-05-09 01:00:29 +08:00
Rongrong
a5d74e521c feat(core/middleware/anti-hotlink): route matching (#9681)
* feat(core/middleware/anti-hotlink): route matching

Signed-off-by: Rongrong <i@rong.moe>

* fix(test): coverage

Signed-off-by: Rongrong <i@rong.moe>

* docs(install): fix mistaken config key

Signed-off-by: Rongrong <i@rong.moe>
2022-05-04 03:29:23 +08:00
Rongrong
7a6be9a229 feat(core): customizable Chromium executable path (#9670)
* feat(core): customizable Chromium executable path

also build Chromium-bundled Docker image for arm/arm64

Signed-off-by: Rongrong <i@rong.moe>

* chore: fix typo

Signed-off-by: Rongrong <i@rong.moe>

* chore(CI/test): using build matrix

Signed-off-by: Rongrong <i@rong.moe>

* docs(install): fix punctuation

Signed-off-by: Rongrong <i@rong.moe>
2022-05-01 21:00:29 +08:00
zoenglinghou
9b176217f3 docs: Update documentation for IMAP config to reflect #8212 (#9657) 2022-04-29 10:00:56 +00:00
Rongrong
d8c00ec238 build(docker): optimize; add Chromium bundled ver (#9626)
* build(docker): optimize; add Chromium bundled ver

Signed-off-by: Rongrong <i@rong.moe>

* build(Dockerfile): fix redundant command and label

Signed-off-by: Rongrong <i@rong.moe>

* build(docker): only install prod deps to speed up

Signed-off-by: Rongrong <i@rong.moe>

* docs(install): minor fixes

Signed-off-by: Rongrong <i@rong.moe>

* build(Dockerfile): bump to `node:16-bullseye-slim`

Signed-off-by: Rongrong <i@rong.moe>

* build(Dockerfile): fix yarn registry mirror

Signed-off-by: Rongrong <i@rong.moe>

* build(Dockerfile): minimize dependencies

for Chromium-bundled version

Signed-off-by: Rongrong <i@rong.moe>
2022-04-28 20:40:21 +08:00
github-actions[bot]
0e91efee0b style: auto format 2022-04-21 15:05:40 +00:00
Howard Yin
67d87e2eea feat(route): E站增加封面图嵌入RSS和封面图替换为代理网址的功能 (#9344)
* 增加封面图嵌入RSS的功能

* 增加EH封面图代理的功能

* 改用URLSearchParams代替querystring
增加对"Minimal", "Minimal+" and "Extended"页面模式的支持

* fix: matching logic

* refactor: migrate to v2

* docs: add missing description of EH_IMG_PROXY

* docs: remove ignoring EH_SK

Co-authored-by: TonyRL <TonyRL@users.noreply.github.com>
2022-04-21 23:03:55 +08:00
Rongrong
79d9192469 fix(route)(twitter): outdated web API (#9471)
Signed-off-by: Rongrong <15956627+Rongronggg9@users.noreply.github.com>
2022-04-05 20:22:18 +08: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
Tony
fe775f5198 fix(route): github comments use api (#9358)
fix(route): github comments use api
2022-03-21 17:17:59 +00: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
c2895a915a docs: fix URL typo 2022-03-16 04:29:12 +06: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
233f1c8152 refactor: config.js (#9305)
* refactor: reorder lib/config.js

* docs: reorder config
2022-03-11 22:12:42 +08:00
github-actions[bot]
0204325b14 style: auto format 2022-02-24 16:45:08 +00:00
Howard Yin
136d462f09 feat(route): ExHentai (#9190)
* 添加里站

* lint
2022-02-25 00:43:18 +08:00
Rick Lee
f1e7c90c3e feat: 为豆瓣想看增加Cookie配置项 (#9110) 2022-02-24 23:50:12 +08:00
github-actions[bot]
ea4bddb4ec style: auto format 2022-02-18 15:18:31 +00: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
Fatpandac
c144a1864b feat(route): add Google Fonts and refactor /google/** to V2 (#8927)
* Add(route): add Google Fonts and change to V2

* Fix(route): added throw error when API key is underfined

* Fix(docs): add warning container

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

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

* Fix(route): sort routes

* Fix(route): Update lib/v2/google/fonts.js

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

Co-authored-by: Tony <TonyRL@users.noreply.github.com>
2022-02-03 01:18:17 +08:00
Tony
64f4c304d5 docs: fix typo (#8948) 2022-01-31 23:57:05 +08:00
AgFlore
37a2152723 fix: 网易云音乐提供Cookie,抓取需要登陆才可见的歌单 && 中纪委、外交部网站小变动 (#8674) 2022-01-22 15:32:05 +00:00
Fatpandac
5bba997285 Add(route): add 轻小说文库首页类别 and change to v2 (#8894) 2022-01-22 14:37:54 +00:00
DIYgod
6e10cb59ba chore: npm ci -> yarn 2021-11-28 00:36:24 +00:00
Peng Guanwen
0230a94673 Support fulltext acquirement in infzm (#8590) 2021-11-27 09:16:08 +00:00
Tony
6de540a311 docs(core): sync en docs and minor cn docs fixes (#8356)
Co-authored-by: DIYgod <diy.d.god@gmail.com>
2021-11-27 08:53:44 +00:00
DIYgod
53f6347189 feat: pixiv PIXIV_IMG_PROXY 2021-11-02 17:40:24 +00:00
Xiang Li
2fa51b5c2d fix(route): 修复IMAP邮箱环境变量命名 (#8212) 2021-09-22 21:38:46 -07:00
小虎故洞
b6771202de fix(docs): update configuration document for bilibili (#8071) 2021-09-09 01:29:06 -07:00
Howard Yin
6b8a40794e feat(route): add e-hentai (#7741) 2021-08-25 22:46:16 +08:00
D
b3a8e067b7 docs(install): remove vercel timeout notice (#8060) (#8059) 2021-08-21 23:26:35 +08:00