x2009again
42dfd5cc81
feat(route): 增加微语简报源 ( #9577 )
...
* 添加微语简报源
* 精简列表描述
* 优化微语简报排版,增加文档说明
* 修复部分序号错误问题
* 增加v2版微语简报源
* 时区修改
* 删除微语简报旧路由
* 按建议修改
* 修改微语简报网址
2022-04-21 23:18:35 +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
任平生
9d9926d0bf
fix(utils): 修复抓取微信已删除文章时遇到的报错 ( #9589 )
...
* fix(utils): 支持微信公众号单图片文章抓取
* fix(utils): 支持输出微信公众号转载文章阅读原文链接
* fix(utils): 修复抓取微信已删除文章时遇到的报错
* refactor: migrate to v2
Co-authored-by: blankyu(于海洋) <blankyu@tencent.com>
2022-04-21 21:40:16 +08:00
github-actions[bot]
a8f8ce443d
style: auto format
2022-04-21 11:01:38 +00:00
yuxinliu-alex
04206ca5b1
feat(route): 封面新闻 ( #9587 )
...
* feat(route): 封面
* Update docs/new-media.md
Co-authored-by: Tony <TonyRL@users.noreply.github.com>
* Update lib/v2/thecover/radar.js
Co-authored-by: Tony <TonyRL@users.noreply.github.com>
* Update lib/v2/thecover/radar.js
Co-authored-by: Tony <TonyRL@users.noreply.github.com>
Co-authored-by: yuxinliu <yuxin2@mgtv.com>
Co-authored-by: Tony <TonyRL@users.noreply.github.com>
2022-04-21 18:59:58 +08:00
yuxinliu-alex
35347a921d
feat(route): 中国新闻网 ( #9584 )
...
* feat(route): 中国新闻网
* Update docs/traditional-media.md
* Update lib/v2/chinanews/index.js
Co-authored-by: yuxinliu <yuxin2@mgtv.com>
2022-04-21 03:32:13 -02:00
github-actions[bot]
645e532092
style: auto format
2022-04-20 14:32:11 +00:00
yuxinliu-alex
7e9af67274
feat(route): 环球网 ( #9580 )
...
* feat(route): 环球网
* feat(route): 环球网 加入通用参数limit限制条数及格式调整
Co-authored-by: alex <yuxin2@mgtv.com>
2022-04-20 22:30:11 +08:00
Rongrong
cc48b48bc8
feat(route): add wechat/data258 ( #9571 )
...
Signed-off-by: Rongrong <15956627+Rongronggg9@users.noreply.github.com>
2022-04-20 21:43:34 +08:00
Levi Zim
a43542ee2d
feat(route): `/sdu/wh/jwc/:column?` for 山东大学(威海)教务处 ( #9585 )
...
* feat: extractor for https://jwc.wh.sdu.edu.cn/
* feat(route): /sdu/wh/jwc for 山东大学(威海)教务处
* feat(radar): 山东大学(威海)教务处
* fix(radar): match wildcard path for 山东大学(威海)新闻网
* docs: for route /sdu/wh/jwc
* fix: update maintainer.js
2022-04-20 21:13:12 +08:00
yuxinliu-alex
fccb91838d
fix(route): 央视新闻-专题 支持获取Author字段 ( #9568 )
...
* fix(route): 央视新闻-专题 支持获取Author字段
* refactor: migrate to v2
* fix: date parsing in /cctv/photo/jx
* fix: special date parsing
fix: xwlb not working
fix: mzzlbg item description
fix: news use https
fix: xinwen1j1 not working
* feat: add radar
Co-authored-by: Alex Liu <yuxinliu.alex@gmail.com>
2022-04-20 20:11:58 +08:00
Fatpandac
0664feadb1
fix(docs): steam/search change example in docs ( #9583 )
2022-04-20 15:14:43 +06:00
github-actions[bot]
c1af2de268
style: auto format
2022-04-19 11:53:27 +00:00
yuxinliu-alex
80aab00fdb
feat(route): 国家广播电视总局 ( #9566 )
...
* feat(route): 国家广播电视总局
* move the nrta to lib\v2\gov
* fix: feed link
* fix: radar
* fix: radar
Co-authored-by: alex <yuxin2@mgtv.com>
2022-04-19 19:51:52 +08:00
yuxinliu-alex
5f4cf8a2f0
feat(route): 参考消息 ( #9564 )
...
* feat(route): 参考消息
* fixed the router's & ref bugs
* docs: fix example
* fix: prefer https
* fix: radar
Co-authored-by: alex <yuxin2@mgtv.com>
2022-04-19 19:17:42 +08:00
Bin Wang
6b7381e1e3
feat(core): add custom fields to atom feed ( #9355 )
...
* Add custom fields to atom feed
Atom allows to extend the xml with custom namespaces. This commit is
a first commit that tries to add some custom RSSHub fields to atom feed.
In this commit, I added three very common fields: upvotes, downvotes
and comments. Lots of websites has these common fields, like Youtube,
Twitter, Reddit, HackerNews and so on. Within these fields, RSS readers
can have more information to sort the contents, and can display these
information to user in a better format.
The document has been updated to reflect these new fields. I also changed
Bilibili video route as an example to show how to add number of comments
to the generated feed.
* docs: interactions
2022-04-18 02:54:32 +08:00
尹傲雄
1e11388c90
fix(route): update zju/grs ( #9551 )
...
* update zju/grs in university
* refactor: migrate to v2
* fix: add radar
* fix: not working routes
* fix: add migration note
* docs: remove N/A types from physics table
* fix(radar): migrate old rules
2022-04-18 02:04:53 +08:00
FledgeShiu
fafb2d2ed4
fix(route): chinacerf ( #9554 )
...
* fix(route): chinacerf
* Remove redundant `await`.
2022-04-17 21:42:03 +08:00
stormbuf
331405d69e
feat(route): 黄健宏博客 ( #9553 )
...
* ✨ feat(route): add blog: huangz
* 🐞 fix(route): huangz url missing
* 📃 docs(radar): update docs url
* 📃 docs(radar): fix url
* ✨ feat(route): add maintainer.js
* 🐞 fix(radar): fix huangz blog radar source
* Update lib/v2/huangz/index.js
Co-authored-by: Tony <TonyRL@users.noreply.github.com>
* Update lib/v2/huangz/radar.js
Co-authored-by: Tony <TonyRL@users.noreply.github.com>
* Update lib/v2/huangz/radar.js
Co-authored-by: Tony <TonyRL@users.noreply.github.com>
* Update index.js
* style: auto format
* docs: fix link break
Co-authored-by: Tony <TonyRL@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2022-04-17 21:33:27 +08:00
Fatpandac
cff988ad9f
feat(route): add Eagle's blog and refactor to V2 ( #9546 )
...
* feat(route): add Eagle's blog and refactor to V2
* fix: remove deprecated eagle radar rules
* fix: changelog date and guid
* fix(route): add language option
2022-04-17 21:24:17 +08:00
kdan
d7d6dc3022
docs: fix Route's path and example of chinacef ( #9552 )
...
* add(route): 首席经济学家论坛
* fix(route) : merge from FledgeXu
* fix(route) : merge from FledgeXu
* (fix) typo
* feat(route): remove radar from radar-rules.js
* Update lib/v2/chinacef/hot.js
Co-authored-by: Tony <TonyRL@users.noreply.github.com>
* Update lib/v2/chinacef/router.js
Co-authored-by: Tony <TonyRL@users.noreply.github.com>
* Update lib/v2/chinacef/maintainer.js
Co-authored-by: Tony <TonyRL@users.noreply.github.com>
* Update lib/v2/chinacef/experts.js
Co-authored-by: Tony <TonyRL@users.noreply.github.com>
* Update lib/v2/chinacef/experts.js
Co-authored-by: Tony <TonyRL@users.noreply.github.com>
* Update hot.js
* Update experts.js
* docs: fix Route's path and example of chinacef
* Revert "docs: fix Route's path and example of chinacef"
This reverts commit 0ec9e7d9d6d1eff201482e38a26b255478861a5c.
* docs: fix Route's path and example of chinacef
Co-authored-by: linkai <linkai@mochasoft.com.cn>
Co-authored-by: Tony <TonyRL@users.noreply.github.com>
2022-04-17 00:09:01 +08:00
Levi Zim
958be6266e
feat(route): 山东大学(威海)新闻网 ( #9537 )
...
* feat(sduwh): add extractors.
* feat(route): add route for 山东大学(威海)新闻网
* docs: for route sduwh/news
* docs: for route sduwh/news
(cherry picked from commit 831830167a39a658520dd9a46b375fdbbcb5d611)
* feat(radar): for route 山东大学(威海)新闻网
* refactor: change `got.get` to `got`.
* refactor: prefer `parseDate()` to `new Date()`
Co-authored-by: Tony <TonyRL@users.noreply.github.com>
* fix: incomplete URL substring sanitization.
Make CodeQL happy.
* fix(radar): fix target field.
* fix: change route /sduwh to /sdu/wh
* fix: remove superfluous slash character in url.
* feat: look for exact date first.
* feat: extract exact date from news extractor.
* feat: extract exact date from view extractor.
* feat: extractor for www.sdrj.sdu.edu.cn
* refactor: semantic separation of sduwh with sdu
* feat(radar): more accurate name
* docs: update documentation
* refactor: migrate to v2
* refactor: fix deprecated url.resolve
* fix: update docs url
Co-authored-by: Tony <TonyRL@users.noreply.github.com>
* fix: sdu not working routes
* fix: accurate `ctx.state.data.url`
Co-authored-by: Tony <TonyRL@users.noreply.github.com>
* fix: better error handling for extractors.
* fix: timezone
Co-authored-by: Tony <TonyRL@users.noreply.github.com>
* fix: better error handling.
Co-authored-by: Tony <TonyRL@users.noreply.github.com>
2022-04-17 00:01:39 +08:00
kdan
5622641efa
feat(route): 首席经济学家论坛 ( #9550 )
...
* add(route): 首席经济学家论坛
* fix(route) : merge from FledgeXu
* fix(route) : merge from FledgeXu
* (fix) typo
* feat(route): remove radar from radar-rules.js
* Update lib/v2/chinacef/hot.js
Co-authored-by: Tony <TonyRL@users.noreply.github.com>
* Update lib/v2/chinacef/router.js
Co-authored-by: Tony <TonyRL@users.noreply.github.com>
* Update lib/v2/chinacef/maintainer.js
Co-authored-by: Tony <TonyRL@users.noreply.github.com>
* Update lib/v2/chinacef/experts.js
Co-authored-by: Tony <TonyRL@users.noreply.github.com>
* Update lib/v2/chinacef/experts.js
Co-authored-by: Tony <TonyRL@users.noreply.github.com>
* Update hot.js
* Update experts.js
Co-authored-by: linkai <linkai@mochasoft.com.cn>
Co-authored-by: Tony <TonyRL@users.noreply.github.com>
2022-04-16 23:30:10 +08:00
Devesh Pal
08c1a032aa
docs: fix typo in english docs ( #9549 )
2022-04-16 12:49:59 +08:00
Tony
658570be69
fix(route): taptap topic review ( #9540 )
...
* fix(route): taptap topic review
* fix: review url
* refactor: use utility
* docs: add back warning
2022-04-15 22:04:49 +08:00
Rongrong
c6a8efbb1d
docs: update cache expiry time ( #9545 )
...
Signed-off-by: Rongrong <15956627+Rongronggg9@users.noreply.github.com>
2022-04-15 22:02:30 +08:00
FledgeShiu
a0f067ca71
feat(route): 首席经济学家 ( #9543 )
...
* Add chinacef router.
* Update the document.
* Move to V2.
* Fix document errors and improve the code.
2022-04-15 21:07:21 +08:00
Henry
47715045ba
docs: Translate documentation of shopping craigslist from Chinese to English. ( #9536 )
...
* Translate documentation of shopping craigslist from Chinese to English.
From docs/shopping.md to docs/en/shopping.md
* Update docs/en/shopping.md, route descrption of Craigslist
Co-authored-by: Tony <TonyRL@users.noreply.github.com>
Co-authored-by: Tony <TonyRL@users.noreply.github.com>
2022-04-14 15:13:23 -09:00
Ethan Shen
6f98d3cee6
fix(route): 果壳网科学人 ( #9531 )
...
* fix(route): 果壳网科学人
* ref: use got instead of got.get
* ref: rename channel.js
2022-04-13 17:50:11 +08:00
Ethan Shen
55ecc71784
feat(route): add 科学网用户博客 ( #9525 )
...
* feat(route): add 科学网用户博客
* update lib/v2/sciencenet/user.js
Co-authored-by: Tony <TonyRL@users.noreply.github.com>
Co-authored-by: Tony <TonyRL@users.noreply.github.com>
2022-04-12 04:56:50 +01:00
Tony
fb2a407b02
feat(route): qbittorrent news ( #9524 )
2022-04-11 23:17:09 +01:00
Ethan Shen
12760cad1d
feat(route): add 大连理工大学盘锦校区 ( #9515 )
...
* feat(route): add 大连理工大学盘锦校区
* fix typo
2022-04-11 20:33:11 +08:00
Ethan Shen
4c9b820f2e
feat(route): add 大连理工大学盘锦校区教学事务办公室 ( #9509 )
2022-04-11 07:33:46 +08:00
TonyRL
97fe868407
docs: fix missing route tag
2022-04-10 16:25:31 +00:00
Ethan Shen
0c3888787a
feat(route): add 大连理工大学 ( #8580 )
...
* feat(route): add 大连理工大学
* add radar
* fix: add maintainer
* fix typo
* docs: fix url
* fix: incomplete multi-character sanitization
2022-04-10 23:39:24 +08:00
Odin Zhang
c5741650d2
feat(route): add bookfere ( #9501 )
...
* feat(route): add bookfere
* style: auto format
* fix(route): change bookfere to v2
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2022-04-09 23:43:08 +08:00
Fatpandac
928b089cc8
feat(route): add 逛丢 ( #9503 )
...
* feat(route): add 逛丢
* fix(route): fix path
2022-04-09 14:18:49 +08:00
TonyRL
be8b5d143f
docs: fix H3 heading
2022-04-08 16:27:39 +00:00
Chenxing Luo
ef94bcde8e
feat(route): add two blogs: Stratechery & Miris Whispers ( #9496 )
...
* Add two blogs
* fix(utils): add parseDate timezone common-config
* Update lib/v2/stratechery/index.js
Co-authored-by: Tony <TonyRL@users.noreply.github.com>
* Update docs/blog.md
Co-authored-by: Tony <TonyRL@users.noreply.github.com>
* Update docs/en/blog.md
Co-authored-by: Tony <TonyRL@users.noreply.github.com>
* Update lib/v2/miris/blog.js
2022-04-08 23:48:28 +08:00
NathanDai
6996efd070
fix(route):雪球 基金净值数据来源调整为蛋卷基金 ( #9489 )
...
* 雪球基金净值更新调整为蛋卷基金
* Update docs/finance.md
Co-authored-by: Tony <TonyRL@users.noreply.github.com>
* Update docs/finance.md
Co-authored-by: Tony <TonyRL@users.noreply.github.com>
* refactor: migrate to v2
* fix: parseDate
* fix: fund unnecessary String()
* feat: add radar
* fix: stock comments template
* style: add a linebreak
* docs: fund example path
2022-04-08 23:38:33 +08:00
TonyRL
d09693c9b7
docs: wechat-feeds warning
2022-04-08 11:32:34 +00:00
DIYgod
8ec1046343
docs: add sponsor
2022-04-08 08:10:11 +01:00
Rongrong
a79cc20ec1
feat(utils): add utils for WeChat MP ( #9487 )
...
Motivation:
There are multiple routes that need to fetch articles from WeChat MP.
However, letting them fetch articles by themselves could potentially
lead to cache key collisions. Even if cache key collisions do not occur,
un-normalized URL could potentially lead to duplicated requests.
What's more, articles from WeChat MP have weird formats and need to be
fixed. Creating a universal function to do this work can create some
ease for new route contributors.
Note:
In order to make this PR atomic as much as possible, I did not touch
those broken routes. Once this PR is merged, I will try to fix them.
Signed-off-by: Rongrong <15956627+Rongronggg9@users.noreply.github.com>
2022-04-07 21:46:15 +08:00
github-actions[bot]
1261a74eec
style: auto format
2022-04-06 15:32:46 +00:00
zytomorrow
d7b7a01ca1
feat(route): add gaze.run update notify ( #9482 )
...
* feat(route): add gaze.run update notify
* feat(route): add gaze.run update notify
* Update docs/multimedia.md
Co-authored-by: Tony <TonyRL@users.noreply.github.com>
* Update lib/v2/gaze/radar.js
Co-authored-by: Tony <TonyRL@users.noreply.github.com>
* Update lib/v2/gaze/templates/update.art
Co-authored-by: Tony <TonyRL@users.noreply.github.com>
* Update lib/v2/gaze/update.js
Co-authored-by: Tony <TonyRL@users.noreply.github.com>
* Update lib/v2/gaze/update.js
Co-authored-by: Tony <TonyRL@users.noreply.github.com>
Co-authored-by: Tony <TonyRL@users.noreply.github.com>
2022-04-06 23:30:58 +08:00
Tony
521862793e
feat(route)!: remove wechat/csm wechat/wjdn ( #9472 )
2022-04-05 22:13:24 +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
Rongrong
26fbfbfa8e
feat(route): add 公众号 360 ( #9457 )
...
Signed-off-by: Rongrong <15956627+Rongronggg9@users.noreply.github.com>
2022-04-05 20:05:45 +08:00
Rongrong
7399d17591
fix(route)(weibo): misc icons break some readers ( #9458 )
...
Signed-off-by: Rongrong <15956627+Rongronggg9@users.noreply.github.com>
2022-04-04 22:38:52 +08:00