Tony
6316ff1a4f
feat(route): freewechat ( #11419 )
2022-12-09 05:25:44 +08:00
Derek
c07c960957
fix: restore /hrbeu/ugs/news.js ( #11224 )
...
* fix: restore /heu/ugs/news.js
* Update lib/v2/heu/ugs/news.js
* Update lib/v2/heu/ugs/news.js
* Update lib/v2/heu/ugs/news.js
* feat(require): update require
* refactor: mise fixes
* rename namespace to hrbeu
- hrbeu.edu.cn is the primary domain name as it's where the contact us mail hosted on
* increase code readability
- use template literals over .concat()
- use .includes() to check the existence of sth
* remove fake publish time
* remove duplicated title in description
* fix: fetch article from wechat mp
* fix: codeql
2022-11-09 22:31:19 +08:00
evnydd0sf
fdc59d2d65
feat: 增加设计学院研创、后浪模块;支持获取微信文章内容;修复重复条目bug ( #10994 )
...
* 南京艺术学院研究生院
* Update lib/v2/nua/gra.js
Co-authored-by: Tony <TonyRL@users.noreply.github.com >
* Update lib/v2/nua/gra.js
Co-authored-by: Tony <TonyRL@users.noreply.github.com >
* Update lib/v2/nua/gra.js
Co-authored-by: Tony <TonyRL@users.noreply.github.com >
* Update lib/v2/nua/radar.js
Co-authored-by: Tony <TonyRL@users.noreply.github.com >
* Update lib/v2/nua/radar.js
Co-authored-by: Tony <TonyRL@users.noreply.github.com >
* Update lib/v2/nua/gra.js
Co-authored-by: Tony <TonyRL@users.noreply.github.com >
* Update lib/v2/nua/gra.js
Co-authored-by: Tony <TonyRL@users.noreply.github.com >
* Update docs/university.md
Co-authored-by: Tony <TonyRL@users.noreply.github.com >
* Update docs/university.md
Co-authored-by: Tony <TonyRL@users.noreply.github.com >
* 优化代码
* 优化
* update
* 补充南京艺术学院
* fix
* fix
* fix
* 更新南京艺术学院数据源。
* 更新南京艺术学院数据源。
* fix
* fix
* update
* fix doc
* fix
* Update lib/v2/nua/radar.js
Co-authored-by: Tony <TonyRL@users.noreply.github.com >
* fix: yarn.lock permission
* style: auto format
* fix double fetch same page
* Update dc.js
* Revert "Merge branch 'master' of https://github.com/evnydd0sf/RSS-Hub "
This reverts commit dd56f9469b , reversing
changes made to d900050eb8 .
* fix
* Revert "fix"
This reverts commit 820ff88120 .
* Revert "Revert "Merge branch 'master' of https://github.com/evnydd0sf/RSS-Hub ""
This reverts commit ce67e0b53c .
* 增加微信公众号解析引导。
* 修正url
* 适配微信公众号内容。
* 适配站内文章、微信公号号文章和未知文章引导。
* Update wechat-mp.js
* fix fetch wechat bug
* 增加设计学院研创、后浪模块
* bugfix
* Revert "Merge branch 'DIYgod:master' into master"
This reverts commit 102cb48db6 , reversing
changes made to ccac4be518 .
* Update university.md
* Revert "Revert "Merge branch 'DIYgod:master' into master""
This reverts commit c8841910b8 .
* fix fetch listname
* fix: switch default case
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2022-10-05 21:32:49 +08:00
Tony
9fa248c324
fix(route): nmpa feed items on 3rd party site ( #10146 )
...
* fix(route): nmpa feed items on 3rd party site
* fix: regex unescaped .
2022-07-06 00:46:05 +08:00
Atlas Quan
bd80574f76
feat(route): add slowmist news ( #10044 )
...
* feat(route): add slowmist news
* feat(utils): remove useless ul for code section
* docs: add slowmist news route docs
* docs(quick-start): new router under /lib/v2
* test(utils): add test fixArticleContent for new wechat-mp code
* feat(router): update radar source of slowmist
2022-07-04 23:44:58 +08:00
MisLink
df6f4caf8b
feat(route): add 北京大学国家发展研究院 - 观点 ( #9804 )
...
* feat(route): add 北京大学国家发展研究院 - 观点
Signed-off-by: MisLink <gjq.uoiai@outlook.com >
* Fix https issue
Signed-off-by: MisLink <gjq.uoiai@outlook.com >
* fetch full text from wechat-mp and pku news
Signed-off-by: MisLink <gjq.uoiai@outlook.com >
* Fix ci
Signed-off-by: MisLink <gjq.uoiai@outlook.com >
* refactor: sort new route
2022-05-27 19:12:04 +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
任平生
f3e069d399
fix(utils): 支持微信公众号单图片文章抓取; 增加输出阅读原文链接 ( #9557 )
...
* fix(utils): 支持微信公众号单图片文章抓取
* fix(utils): 支持输出微信公众号转载文章阅读原文链接
2022-04-19 01:29:45 +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 831830167a )
* 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
任平生
eb467afae1
fix(utils): 支持将微信公众号转载文章的正文抓取回来 ( #9534 )
...
* feat: 修正日期时间匹配规则、移除一些不必要评论元素
* fix(route)(fortunechina): 修正财富中文网1、双语文章中文内容重复问题;2、移除 kol 大头像
* fix(route)(wechat): 支持将微信公众号转载文章的正文抓取回来
2022-04-15 19:23:09 +08:00
Rongrong
74e1f88a32
feat(core)(utils/wechat-mp): normalize URL ( #9497 )
...
Signed-off-by: Rongrong <15956627+Rongronggg9@users.noreply.github.com >
2022-04-08 18:42:52 +08: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