Merge branch 'master' into feature/cgtn-most

This commit is contained in:
Henry Wang
2020-09-20 21:16:06 +01:00
committed by GitHub
41 changed files with 790 additions and 211 deletions
+2 -2
View File
@@ -32,12 +32,12 @@ RSSHub 是一个开源、简单易用、易于扩展的 RSS 生成器,可以
### Special Sponsors
<div>
<a href="https://rixcloud.app/rsshub" target="_blank"><img height="60px" src="https://i.imgur.com/TrgP3S1.png"></a>&nbsp;&nbsp;&nbsp;<a href="https://angelia.codeeer.com" target="_blank"><img height="60px" src="https://i.imgur.com/oQf2WJl.png"></a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="http://authing.cn" target="_blank"><img height="55px" src="https://i.imgur.com/n4RieVC.png"></a>
<a href="https://rixcloud.app/rsshub" target="_blank"><img height="60px" src="https://i.imgur.com/TrgP3S1.png"></a>
</div>
### Sponsors
[Sayori Studio](https://t.me/SayoriStudio) . [Sion Kazama](https://blog.sion.moe) . [琚致远](https://www.shaoyaoju.org/) . [Rolly RSS 阅读器](https://www.coolapk.com/apk/239500) . [mokeyjay](https://www.mokeyjay.com/) . [tkaray](https://rayray.moe/) . [NeverBehave](https://never.pet/) . [萌开源联盟](https://www.moeunion.com) . [hooke007](https://github.com/hooke007/MPV_lazy) . [feeds.pub](https://feeds.pub)
[Sayori Studio](https://t.me/SayoriStudio) . [Sion Kazama](https://blog.sion.moe) . [琚致远](https://www.shaoyaoju.org/) . [Rolly RSS 阅读器](https://www.coolapk.com/apk/239500) . [mokeyjay](https://www.mokeyjay.com/) . [tkaray](https://rayray.moe/) . [萌开源联盟](https://www.moeunion.com) . [hooke007](https://github.com/hooke007/MPV_lazy) . [feeds.pub](https://feeds.pub)
[![](https://opencollective.com/static/images/become_sponsor.svg)](https://docs.rsshub.app/en/support/)
+31 -2
View File
@@ -1829,6 +1829,12 @@
source: '/mp/homepage',
target: (params, url) => `/wechat/mp/homepage/${new URL(url).searchParams.get('__biz')}/${new URL(url).searchParams.get('hid')}/${new URL(url).searchParams.get('cid') ? new URL(url).searchParams.get('cid') : ''}`,
},
{
title: '微信公众号话题',
docs: 'https://docs.rsshub.app/new-media.html#wei-xin-gong-zhong-hao-wen-zhang-hua-ti-tag',
source: '/mp/appmsgalbum',
target: (params, url) => `/wechat/mp/msgalbum/${new URL(url).searchParams.get('__biz')}/${new URL(url).searchParams.get('album_id')}`,
},
],
egame: [
{
@@ -2251,9 +2257,9 @@
},
],
},
'manxiaosi.com': {
'pknbc.com': {
_name: '漫小肆',
'.': [
www: [
{
title: '漫画更新',
docs: 'https://docs.rsshub.app/anime.html#man-xiao-si',
@@ -2278,6 +2284,29 @@
target: '/wenxuecity/blog/:id',
},
],
bbs: [
{
title: '最新主题',
docs: 'https://docs.rsshub.app/bbs.html#wen-xue-cheng-zui-xin-zhu-ti',
source: '/:cat',
target: '/wenxuecity/bbs/:cat',
},
{
title: '最新主题 - 精华区',
docs: 'https://docs.rsshub.app/bbs.html#wen-xue-cheng-zui-xin-zhu-ti',
source: '/:cat',
target: '/wenxuecity/bbs/:cat/1',
},
{
title: '最热主题',
docs: 'https://docs.rsshub.app/bbs.html#wen-xue-cheng-zui-re-zhu-ti',
source: '/?cid=*',
target: (params, url, document) => {
const cid = document && new URL(document.location).searchParams.get('cid');
return `/wenxuecity/hot/${cid}`;
},
},
],
},
'buaq.net': {
_name: '不安全资讯',
+1 -3
View File
@@ -26,12 +26,10 @@ RSSHub 是一个开源、简单易用、易于扩展的 RSS 生成器,可以
### Special Sponsors
<a style="margin-right: 10px;" href="https://rixcloud.app/rsshub" target="_blank"><img alt="rixCloud" height="60px" src="https://cn-south-17-rsshub-16857749.oss.dogecdn.com/rixcloud.png"></a>
<a style="margin-right: 10px;" href="https://angelia.codeeer.com" target="_blank"><img alt="期待" height="60px" src="https://cn-south-17-rsshub-16857749.oss.dogecdn.com/angelia.png"></a>
<a style="margin-right: 10px;margin-left: 10px;" href="http://authing.cn" target="_blank"><img alt="Authing" height="55px" src="https://cn-south-17-rsshub-16857749.oss.dogecdn.com/authing.png"></a>
### Sponsors
[Sayori Studio](https://t.me/SayoriStudio) . [Sion Kazama](https://blog.sion.moe) . [琚致远](https://www.shaoyaoju.org/) . [Rolly RSS 阅读器](https://www.coolapk.com/apk/239500) . [mokeyjay](https://www.mokeyjay.com/) . [tkaray](https://rayray.moe/) . [NeverBehave](https://never.pet/) . [萌开源联盟](https://www.moeunion.com) . [hooke007](https://github.com/hooke007/MPV_lazy) . [feeds.pub](https://feeds.pub)
[Sayori Studio](https://t.me/SayoriStudio) . [Sion Kazama](https://blog.sion.moe) . [琚致远](https://www.shaoyaoju.org/) . [Rolly RSS 阅读器](https://www.coolapk.com/apk/239500) . [mokeyjay](https://www.mokeyjay.com/) . [tkaray](https://rayray.moe/) . [萌开源联盟](https://www.moeunion.com) . [hooke007](https://github.com/hooke007/MPV_lazy) . [feeds.pub](https://feeds.pub)
[![](https://opencollective.com/static/images/become_sponsor.svg)](/support/)
+18
View File
@@ -357,6 +357,16 @@ pageClass: routes
## 水木社区
### 分区文章
<Route author="nczitzk" example="/newsmth/section/university" path="/newsmth/section/:section" :paramsDesc="['分区名,见下表']">
| 社区管理 | 国内院校 | 休闲娱乐 | 五湖四海 | 游戏运动 | 社会信息 | 知性感性 | 文化人文 | 学术科学 | 电脑技术 |
| --------- | ---------- | ------------- | -------- | -------- | -------- | -------- | -------- | -------- | ---------- |
| community | university | entertainment | location | game | society | romance | culture | science | technology |
</Route>
### 用户文章
<Route author="nczitzk" example="/newsmth/account/fef705ec94819a5a87941759e33c0982" path="/newsmth/account/:id" :paramsDesc="['用户 id,可在用户页的 URL 中找到']"/>
@@ -405,6 +415,14 @@ pageClass: routes
<Route author="changlan" example="/wenxuecity/blog/43626" path="/wenxuecity/blog/:id" :paramsDesc="['博客 ID, 可在 URL 中找到']" radar="1" />
### 最热主题
<Route author="changlan" example="/wenxuecity/hot/9" path="/wenxuecity/hot/:cid" :paramsDesc="['版面 ID, 可在 URL 中找到']" radar="1" />
### 最新主题
<Route author="changlan" example="/wenxuecity/bbs/tzlc" path="/wenxuecity/bbs/:cat/:elite?" :paramsDesc="['版面名, 可在 URL 中找到', '是否精华区, 1 为精华区']" radar="1" />
## 小米社区
### 圈子
+1 -3
View File
@@ -24,12 +24,10 @@ RSSHub delivers millions of contents aggregated from all kinds of sources, our v
### Special Sponsors
<a style="margin-right: 10px;" href="https://rixcloud.app/rsshub" target="_blank"><img height="60px" src="https://i.imgur.com/TrgP3S1.png"></a>
<a style="margin-right: 10px;" href="https://angelia.codeeer.com" target="_blank"><img height="60px" src="https://i.imgur.com/oQf2WJl.png"></a>
<a style="margin-right: 10px;margin-left: 10px;" href="http://authing.cn" target="_blank"><img height="55px" src="https://i.imgur.com/n4RieVC.png"></a>
### Sponsors
[Sayori Studio](https://t.me/SayoriStudio) . [Sion Kazama](https://blog.sion.moe) . [琚致远](https://www.shaoyaoju.org/) . [Rolly RSS 阅读器](https://www.coolapk.com/apk/239500) . [mokeyjay](https://www.mokeyjay.com/) . [tkaray](https://rayray.moe/) . [NeverBehave](https://never.pet/) . [萌开源联盟](https://www.moeunion.com) . [hooke007](https://github.com/hooke007/MPV_lazy) . [feeds.pub](https://feeds.pub)
[Sayori Studio](https://t.me/SayoriStudio) . [Sion Kazama](https://blog.sion.moe) . [琚致远](https://www.shaoyaoju.org/) . [Rolly RSS 阅读器](https://www.coolapk.com/apk/239500) . [mokeyjay](https://www.mokeyjay.com/) . [tkaray](https://rayray.moe/) . [萌开源联盟](https://www.moeunion.com) . [hooke007](https://github.com/hooke007/MPV_lazy) . [feeds.pub](https://feeds.pub)
[![](https://opencollective.com/static/images/become_sponsor.svg)](/en/support/)
+4
View File
@@ -76,6 +76,10 @@ Official RSS: https://eztv.io/ezrss.xml
<RouteEn author="nczitzk" example="/pornhub/search/stepsister" path="/pornhub/search/:keyword" :paramsDesc="['keyword']"/>
### Users
<RouteEn author="I2IMk" example="/pornhub/users/0maru0" path="/pornhub/users/:username" :paramsDesc="['username, part of the url e.g. `pornhub.com/users/0maru0`']" />
### Verified amateur / Model
<RouteEn author="I2IMk" example="/pornhub/model/stacy-starando" path="/pornhub/model/:username/:sort?" :paramsDesc="['username, part of the url e.g. `pornhub.com/model/stacy-starando`', 'sorting method, see below']" />
+26
View File
@@ -10,6 +10,32 @@ pageClass: routes
<RouteEn author="luyuhuang" example="/alter-cn/news" path="/alter-cn/news"/>
## AppSales
### Apps
<RouteEn author="nczitzk" example="/appsales/highlights" path="/appsales/:caty?/:time?" :paramsDesc="['Category, `highlights` by default', 'Time, `24h` by default']">
Category
| Highlights | Active Sales | Now Free | Watchlist Charts |
| ---------- | ------------ | -------- | ---------------- |
| highlights | activesales | nowfree | mostwanted |
Time
| the latest 24 hours | the latest week | all the time |
| ------------------- | --------------- | ------------ |
| 24h | week | alltime |
::: tip Tip
Parameter `time` only works when `mostwanted` is chosen as the category.
:::
</RouteEn>
## Guiltfree.pl
### Onsale
+21 -17
View File
@@ -15,7 +15,7 @@ pageClass: routes
<Route author="sinchang jacky2001114 HenryQW" example="/3dm/detroitbecomehuman/news" path="/3dm/:name/:type" :paramsDesc="['游戏的名字, 可以在专题页的 url 中找到', '资讯类型']">
| 新闻 | 攻略 | 下载资源 | 区块链快讯 |
| ---- | ---- | -------- | ---------- |
|------|------|----------|------------|
| news | gl | resource | blockchain |
</Route>
@@ -30,6 +30,10 @@ pageClass: routes
<Route author="hoilc" example="/4gamers/tag/英雄聯盟" path="/4gamers/tag/:tag" :paramsDesc="['标签名, 可在标签 URL 中找到']"/>
### 主題
<Route author="bestpika" example="/4gamers/topic/gentlemen-topic" path="/4gamers/topic/:topic" :paramsDesc="['主题, 可在首页上方页面内找到']" />
## a9vgNews 游戏新闻
### a9vgNews 游戏新闻
@@ -81,19 +85,19 @@ pageClass: routes
支持的主机平台:
| PS 4 | Xbox One | Switch | PC | Wii U | 3DS | PS Vita | iOS |
| ---- | -------- | ------ | -- | ----- | --- | ------- | --- |
|------|----------|--------|----|-------|-----|---------|-----|
| ps4 | xboxone | switch | pc | wii-u | 3ds | vita | ios |
发行类型,默认为 `new`:
| 新游发行 | 即将发行 | 全部 |
| -------- | -------- | ---- |
|----------|----------|------|
| new | coming | all |
排序类型,默认为`date`:
| 日期 | Metacritic 评分 | 用户评分 |
| ---- | --------------- | --------- |
|------|-----------------|-----------|
| date | metascore | userscore |
</Route>
@@ -186,7 +190,7 @@ pageClass: routes
<Route author="kookxiang" example="/socialclub/events/GTAV" path="/socialclub/events/:game?" :paramsDesc="['游戏代码(默认所有)']">
| 游戏代码 | 游戏名称 |
| -------- | ------------ |
|----------|----------|
| GTAV | 侠盗猎车手 5 |
| RDR2 | 荒野大镖客 2 |
@@ -233,7 +237,7 @@ Example: `https://store.steampowered.com/search/?specials=1&term=atelier` 中的
<Route author="hoilc" example="/taptap/topic/142793/official" path="/taptap/topic/:id/:label?" :paramsDesc="['游戏ID, 游戏主页URL中获取', '论坛版块ID, 默认显示所有帖子, 论坛版块URL中`group_label_id`参数,特别的有']"/>
| 全部 | 精华 | 官方 |
| ---- | ----- | -------- |
|------|-------|----------|
| all | elite | official |
### 游戏更新
@@ -245,7 +249,7 @@ Example: `https://store.steampowered.com/search/?specials=1&term=atelier` 中的
<Route author="hoilc" example="/taptap/review/142793/hot" path="/taptap/review/:id/:order?" :paramsDesc="['游戏ID, 游戏主页URL中获取', '排序方式, 空为默认排序, 可选如下']"/>
| 最新 | 最热 | 游戏时长 |
| ------ | ---- | -------- |
|--------|------|----------|
| update | hot | spent |
## 二柄 APP
@@ -275,7 +279,7 @@ Example: `https://store.steampowered.com/search/?specials=1&term=atelier` 中的
<Route author="sintak" example="/gouhuo/news/switch" path="/gouhuo/news/:category" :paramsDesc="['资讯类型']">
| 精选 | 海外 | 原创 | PS4 | Xboxone | PC | Switch | 掌机 | 手游 | 新闻 | 评测 | 文化 | 视频 | 音频 | 折扣 |
| ---------- | -------- | ------- | --- | ------- | -- | ------ | -------- | ---------- | ---- | ------ | ------- | ----- | ----- | -------- |
|------------|----------|---------|-----|---------|----|--------|----------|------------|------|--------|---------|-------|-------|----------|
| choiceness | overseas | orignal | ps4 | xboxone | pc | switch | handheld | mobilegame | news | review | culture | video | audio | discount |
</Route>
@@ -301,11 +305,11 @@ Example: `https://store.steampowered.com/search/?specials=1&term=atelier` 中的
<Route author="qwertyuiop6" example="/lfsyd/1" path="/lfsyd/:typecode" :paramsDesc="['订阅分区类型']">
| 主页资讯 | 炉石传说 | 万智牌 | 昆特牌 | 游戏王 | 电子游戏 | 手机游戏 | 桌面游戏 |
| -------- | -------- | ------ | ------ | ------ | -------- | -------- | -------- |
|----------|----------|--------|--------|--------|----------|----------|----------|
| 1 | 2 | 3 | 14 | 16 | 4 | 22 | 9 |
| 影之诗 | Artifact | 玩家杂谈 | 营地电台 | 2047 | 魂武 |
| ------ | -------- | -------- | -------- | ---- | ---- |
|--------|----------|----------|----------|------|------|
| 17 | 67 | 21 | 5 | 62 | 68 |
</Route>
@@ -317,7 +321,7 @@ Example: `https://store.steampowered.com/search/?specials=1&term=atelier` 中的
<Route author="deepred5" example="/mihoyo/bh2/gach" path="/mihoyo/bh2/:type" :paramsDesc="['公告种类']">
| 最新公告 | 版本信息 | 祈愿信息 | 活动介绍 |
| -------- | -------- | -------- | -------- |
|----------|----------|----------|----------|
| new | version | gach | event |
</Route>
@@ -327,7 +331,7 @@ Example: `https://store.steampowered.com/search/?specials=1&term=atelier` 中的
<Route author="deepred5 nczitzk" example="/mihoyo/bh3/latest" path="/mihoyo/bh3/:type" :paramsDesc="['公告种类']">
| 最新 | 动态 | 公告 | 活动 | 补给 |
| ------ | ---- | ------ | -------- | -------- |
|--------|------|--------|----------|----------|
| latest | news | notice | activity | strategy |
</Route>
@@ -371,7 +375,7 @@ Example: `https://store.steampowered.com/search/?specials=1&term=atelier` 中的
<Route author="MyFaith" example="/xiaoheihe/discount/pc" path="xiaoheihe/discount/:platform?" :paramsDesc="['平台, 默认为Steam']">
| Steam | PlatStation4 | Switch |
| ----- | ------------ | ------ |
|-------|--------------|--------|
| pc | ps4 | switch |
</Route>
@@ -393,7 +397,7 @@ Example: `https://store.steampowered.com/search/?specials=1&term=atelier` 中的
<Route author="LogicJake" example="/gamersky/ent/ymfl" path="/gamersky/ent/:category" :paramsDesc="['分类类型']">
| 趣囧时间 | 游民影院 | 游观天下 | 壁纸图库 | 游民盘点 | 游民福利 |
| -------- | -------- | -------- | -------- | -------- | -------- |
|----------|----------|----------|----------|----------|----------|
| qysj | ymyy | ygtx | bztk | ympd | ymfl |
</Route>
@@ -405,7 +409,7 @@ Example: `https://store.steampowered.com/search/?specials=1&term=atelier` 中的
<Route author="LogicJake" example="/yxdzqb/hot_chinese" path="/yxdzqb/:type" :paramsDesc="['折扣类型']">
| Steam 最新折扣 | Steam 热门游戏折扣 | Steam 热门中文游戏折扣 | Steam 历史低价 | Steam 中文游戏历史低价 |
| -------------- | ------------------ | ---------------------- | -------------- | ---------------------- |
|----------------|--------------------|------------------------|----------------|------------------------|
| new | hot | hot_chinese | low | low_chinese |
</Route>
@@ -431,7 +435,7 @@ Example: `https://store.steampowered.com/search/?specials=1&term=atelier` 中的
<Route author="LightStrawberry" example="/yystv/category/recommend" path="/yystv/category/:category" :paramsDesc="['专栏类型']">
| 推游 | 游戏史 | 大事件 | 文化 | 趣闻 | 经典回顾 |
| --------- | ------- | ------ | ------- | ---- | -------- |
|-----------|---------|--------|---------|------|----------|
| recommend | history | big | culture | news | retro |
</Route>
@@ -449,7 +453,7 @@ Example: `https://store.steampowered.com/search/?specials=1&term=atelier` 中的
<Route author="Kiotlin" example="/ff14/ff14_zh/news" path="/ff14/ff14_zh/:type" :paramsDesc="['分类名']"/>
| 新闻 | 公告 | 活动 | 广告 | 所有 |
| ---- | -------- | ------ | --------- | ---- |
|------|----------|--------|-----------|------|
| news | announce | events | advertise | all |
## きららファンタジア|奇拉拉幻想曲
+4
View File
@@ -279,6 +279,10 @@ pageClass: routes
<Route author="nczitzk" example="/pornhub/search/stepsister" path="/pornhub/search/:keyword" :paramsDesc="['关键字']"/>
### 用户
<Route author="I2IMk" example="/pornhub/users/0maru0" path="/pornhub/users/:username" :paramsDesc="['用户名, 对应其专页地址的后面部分, 如 `pornhub.com/users/0maru0`']" />
### 素人(Verified amateur /model)
<Route author="I2IMk" example="/pornhub/model/stacy-starando" path="/pornhub/model/:username/:sort?" :paramsDesc="['用户名, 对应其专页地址的后面部分, 如 `pornhub.com/model/stacy-starando`', '排序方式, 下文会提到']" />
+8
View File
@@ -1277,6 +1277,14 @@ area 分区选项
</Route>
### 公众号文章话题 Tag
<Route author="MisteryMonster" example="/wechat/mp/msgalbum/MzA3MDM3NjE5NQ==/1375870284640911361" path="/wechat/mp/msgalbum/:biz/:aid" :paramsDesc="['公众号id', 'Tag id', ]" radar="1" anticrawler="1">
一些公众号(如看理想)会在微信文章里添加 Tag ,点入 Tag 的链接如 <https://mp.weixin.qq.com/mp/appmsgalbum?__biz=MzA3MDM3NjE5NQ==&action=getalbum&album_id=1375870284640911361>,其中`biz` 为 `MzA3MDM3NjE5NQ==`,`aid` 为 `1375870284640911361`。
</Route>
### 公众平台系统公告栏目
<Route author="xyqfer" example="/wechat/announce" path="/wechat/announce" />
+1 -1
View File
@@ -247,7 +247,7 @@ type 为 all 时,category 参数不支持 cost 和 free
### 最近更新
<Route author="nczitzk" example="/iqshw/latest" path="/iqshw/latest"/>
<Route author="nczitzk" example="/3k8/latest" path="/3k8/latest"/>
## 爱发电
+26
View File
@@ -10,6 +10,32 @@ pageClass: routes
<Route author="luyuhuang" example="/alter-cn/news" path="/alter-cn/news"/>
## AppSales
### Apps
<Route author="nczitzk" example="/appsales/highlights" path="/appsales/:caty?/:time?" :paramsDesc="['分类,默认为 `highlights`', '时间,默认为 `24h`']">
分类
| Highlights | Active Sales | Now Free | Watchlist Charts |
| ---------- | ------------ | -------- | ---------------- |
| highlights | activesales | nowfree | mostwanted |
时间
| 最近一天 | 最近一周 | 所有时间 |
| -------- | -------- | -------- |
| 24h | week | alltime |
::: tip 提示
参数 `time` 仅在选择 `mostwanted` 作为分类的时候有效。
:::
</Route>
## Furstar
### 最新售卖角色列表
+4 -4
View File
@@ -1766,11 +1766,11 @@ type 列表:
### 设计与建筑学院
<Route author="yikZero" example="/zjut/design/5" path="/zjut/design/:type" :paramsDesc="['板块id']">
<Route author="yikZero" example="/zjut/design/16" path="/zjut/design/:type" :paramsDesc="['板块id']">
| 学术科研 | 学院新闻 | 公告通知 | 学术交流 |
| -------- | -------- | -------- | -------- |
| 5 | 16 | 18 | 20 |
| 学院新闻 | 公告通知 | 学术交流 |
| -------- | -------- | -------- |
| 16 | 18 | 20 |
</Route>
+12 -2
View File
@@ -306,6 +306,7 @@ router.get('/konachan.net/post/popular_recent/:period', require('./routes/konach
router.get('/pornhub/category/:caty', require('./routes/pornhub/category'));
router.get('/pornhub/search/:keyword', require('./routes/pornhub/search'));
router.get('/pornhub/category_url/:url?', require('./routes/pornhub/category_url'));
router.get('/pornhub/users/:username', require('./routes/pornhub/users'));
router.get('/pornhub/model/:username/:sort?', require('./routes/pornhub/model'));
router.get('/pornhub/pornstar/:username/:sort?', require('./routes/pornhub/pornstar'));
@@ -501,6 +502,7 @@ router.get('/wechat/uread/:userid', require('./routes/tencent/wechat/uread'));
router.get('/wechat/ershicimi/:id', require('./routes/tencent/wechat/ershcimi'));
router.get('/wechat/wjdn/:id', require('./routes/tencent/wechat/wjdn'));
router.get('/wechat/mp/homepage/:biz/:hid/:cid?', require('./routes/tencent/wechat/mp'));
router.get('/wechat/mp/msgalbum/:biz/:aid', require('./routes/tencent/wechat/msgalbum'));
// All the Flight Deals
router.get('/atfd/:locations/:nearby?', require('./routes/atfd/index'));
@@ -2173,6 +2175,7 @@ router.get('/dengekionline/:type?', require('./routes/dengekionline/new'));
// 4Gamers
router.get('/4gamers/category/:category', require('./routes/4gamers/category'));
router.get('/4gamers/tag/:tag', require('./routes/4gamers/tag'));
router.get('/4gamers/topic/:topic', require('./routes/4gamers/topic'));
// 大麦网
router.get('/damai/activity/:city/:category/:subcategory/:keyword?', require('./routes/damai/activity'));
@@ -3095,6 +3098,7 @@ router.get('/telecompaper/news/:caty/:year?/:country?/:type?/:keyword?', require
// 水木社区
router.get('/newsmth/account/:id', require('./routes/newsmth/account'));
router.get('/newsmth/section/:section', require('./routes/newsmth/section'));
// Kotaku
router.get('/kotaku/story/:type', require('./routes/kotaku/story'));
@@ -3126,7 +3130,8 @@ router.get('/nasa/apod-ncku', require('./routes/nasa/apod-ncku'));
router.get('/nasa/apod-cn', require('./routes/nasa/apod-cn'));
// 爱Q生活网
router.get('/iqshw/latest', require('./routes/iqshw/latest'));
router.get('/iqshw/latest', require('./routes/3k8/latest'));
router.get('/3k8/latest', require('./routes/3k8/latest'));
// JustRun
router.get('/justrun', require('./routes/justrun/index'));
@@ -3163,8 +3168,10 @@ router.get('/mingjian', require('./routes/mingjian/index'));
// hentaimama
router.get('/hentaimama/videos', require('./routes/hentaimama/videos'));
// 文学城博客
// 文学城
router.get('/wenxuecity/blog/:id', require('./routes/wenxuecity/blog'));
router.get('/wenxuecity/bbs/:cat/:elite?', require('./routes/wenxuecity/bbs'));
router.get('/wenxuecity/hot/:cid', require('./routes/wenxuecity/hot'));
// 不安全
router.get('/buaq', require('./routes/buaq/index'));
@@ -3209,4 +3216,7 @@ router.get('/1x/:type?/:caty?', require('./routes/1x/index'));
// CGTN
router.get('/cgtn/most/:type?/:time?', require('./routes/cgtn/most'));
// AppSales
router.get('/appsales/:caty?/:time?', require('./routes/appsales/index'));
module.exports = router;
@@ -3,7 +3,7 @@ const cheerio = require('cheerio');
const iconv = require('iconv-lite');
module.exports = async (ctx) => {
const rootUrl = 'https://www.iqshw.com';
const rootUrl = 'https://www.3k8.com';
const currentUrl = `${rootUrl}/post/new_100/`;
const response = await got({
method: 'get',
@@ -13,7 +13,7 @@ module.exports = async (ctx) => {
const $ = cheerio.load(iconv.decode(response.data, 'gb2312'));
const list = $('ul.list-item li')
.slice(0, 15)
.slice(0, 10)
.map((_, item) => {
item = $(item);
const a = item.find('a');
+1 -1
View File
@@ -7,7 +7,7 @@ module.exports = async (ctx) => {
const list = response.data.data.results;
ctx.state.data = {
title: `4Gamers- #${tag}`,
title: `4Gamers - #${tag}`,
link: `https://www.4gamers.com.tw/news/tag/${encodeURIComponent(tag)}`,
item: list.map((item) => ({
title: item.title,
+20
View File
@@ -0,0 +1,20 @@
const got = require('@/utils/got');
module.exports = async (ctx) => {
const topic = ctx.params.topic;
const response = await got.get(`https://www.4gamers.com.tw/site/api/news/option-cfg/${topic}?pageSize=25`);
const list = response.data.data.results;
ctx.state.data = {
title: `4Gamers - ${topic}`,
link: `https://www.4gamers.com.tw/news/option-cfg/${topic}`,
item: list.map((item) => ({
title: item.title,
author: item.author.nickname,
description: `<img src="${item.smallBannerUrl}" /><p>${item.intro}</p>`,
pubDate: new Date(item.createPublishedAt * 1),
link: item.canonicalUrl,
})),
};
};
+66
View File
@@ -0,0 +1,66 @@
const got = require('@/utils/got');
const cheerio = require('cheerio');
module.exports = async (ctx) => {
ctx.params.caty = ctx.params.caty || 'highlights';
ctx.params.time = ctx.params.time || '24h';
const times = ['24h', 'week', 'alltime'];
const rootUrl = `https://www.app-sales.net/${ctx.params.caty}/#!`;
const response = await got({
method: 'get',
url: rootUrl,
});
const $ = cheerio.load(response.data);
if (ctx.params.caty === 'mostwanted') {
times.forEach((i) => {
if (i !== ctx.params.time) {
$(`#charts-${i}`).remove();
}
});
}
$('i,img.play-icon-small').remove();
const items = $('div.sale-list-item')
.map((_, item) => {
item = $(item);
const icon = item.find('div.app-icon').html();
const name = item.find('p.app-name').text();
const developer = item.find('p.app-dev').text();
const oldPrice = item.find('div.price-old').text();
const newPrice = item.find('div.price-new').text();
const discount = item.find('div.price-disco').text();
const rating = item.find('p.rating').text();
const downloads = item.find('p.downloads').text();
const bookmarks = item.find('p.bookmarks').text();
const description =
`${icon}<p>${name}</p><table cellspacing="5">` +
`<tr><td> Developer </td><td> ${developer} </td></tr>` +
`<tr><td> Bookmarks </td><td> ${bookmarks} </td></tr>` +
(rating ? `<tr><td> Rating </td><td> ${rating} </td></tr>` : '') +
(downloads ? `<tr><td> Downloads </td><td> ${downloads} </td></tr>` : '') +
(discount ? `<tr><td> Discount </td><td> ${discount} </td></tr>` : '') +
(oldPrice ? `<tr><td> Old Price </td><td> ${oldPrice} </td></tr>` : '') +
(newPrice ? `<tr><td> New Price </td><td> ${newPrice} </td></tr>` : '') +
'</table>';
return {
title: `${name} ${newPrice ? '[' + newPrice + ']' : ''}`,
link: item.find('a.waves-effect').attr('href'),
description,
author: developer,
};
})
.get();
ctx.state.data = {
title: $('title').text(),
link: rootUrl,
item: items,
};
};
+1 -2
View File
@@ -27,8 +27,7 @@ module.exports = async (ctx) => {
if (item.type === 12) {
// 图文内容
return utils.parseTuwen(item, ctx);
} else if (item.type === 0) {
// 动态
} else if (String(item.type) in utils.dynamicTpye) {
return utils.parseDongtai(item, ctx);
} else {
return null;
+1 -2
View File
@@ -16,8 +16,7 @@ module.exports = async (ctx) => {
if (item.type === 12) {
// 图文内容
return utils.parseTuwen(item, ctx);
} else if (item.type === 0 || item.type === 20) {
// 0:动态内容,20:交易动态
} else if (String(item.type) in utils.dynamicTpye) {
return utils.parseDongtai(item, ctx);
} else {
return null;
+1 -2
View File
@@ -23,8 +23,7 @@ module.exports = async (ctx) => {
if (item.type === 12) {
// 图文内容
return utils.parseTuwen(item, ctx);
} else if (item.type === 0) {
// 动态
} else if (String(item.type) in utils.dynamicTpye) {
return utils.parseDongtai(item, ctx);
} else {
return null;
+5 -2
View File
@@ -2,6 +2,8 @@ const md5 = require('@/utils/md5');
const cheerio = require('cheerio');
const got = require('@/utils/got');
const dynamicTpye = { 0: '基本动态', 9: '评论', 20: '交易动态' };
const getRandomDEVICE_ID = () => {
let id = [8, 4, 4, 4, 12];
id = id.map((i) => Math.random().toString(36).substr(2, i));
@@ -66,7 +68,7 @@ const parseDongtai = async (item, ctx) => {
});
} else {
const picArr = item.picArr.filter((i) => i).map((i) => `<img src="${i}">`);
description = item.message + picArr.join('');
description = `<p>` + item.message + `</p>` + picArr.join('');
}
const $ = cheerio.load('<div class="title-filter">' + description + '</div>');
const title = $('.title-filter').text().slice(0, 30).trim() + '...';
@@ -96,7 +98,7 @@ const parseTuwen = async (item, ctx) => {
const tags = parseTuwenFromRaw(raw);
return tags.join('');
return `<img src="${result.data.data.pic}"><hr>` + tags.join('');
});
return {
@@ -114,4 +116,5 @@ module.exports = {
getHeaders,
parseTuwen,
parseDongtai,
dynamicTpye,
};
+10 -1
View File
@@ -26,9 +26,10 @@ function getContentByActivity(status) {
break;
default:
description = `${status.text ? `${status.text}<br><br>` : ''}`;
title = `${status.author.name}${status.activity}: ${description}`;
if (status.card) {
let image;
description = `${status.text ? `${status.text}<br><br>` : ''}`;
if (status.card.image && (status.card.image.large || status.card.image.normal)) {
image = (status.card.image.large || status.card.image.normal).url;
}
@@ -40,6 +41,14 @@ function getContentByActivity(status) {
title = `${status.author.name} ${status.activity}:「${status.card.title}」${status.text}`;
}
}
if (status.video_card) {
const videoCover = status.video_card.video_info && status.video_card.video_info.cover_url;
const videoSrc = status.video_card.video_info && status.video_card.video_info.video_url;
description += `${videoSrc ? `<br><video src="${videoSrc}" ${videoCover ? `poster="${videoCover}"` : ''}></video>` : ''}<br><br>${
status.video_card.title ? `<a href="${status.video_card.url}">${status.video_card.title}</a>` : ''
}`;
title = `${status.author.name}${status.activity}:《${status.video_card.title}》`;
}
break;
}
return { title, description };
+3 -3
View File
@@ -1,7 +1,7 @@
const got = require('@/utils/got');
const cheerio = require('cheerio');
const iconv = require('iconv-lite');
const baseURL = 'https://www.ygdy8.net';
const baseURL = 'https://www.ygdy8.net/index.html';
async function load(link, ctx) {
const cache = await ctx.cache.get(link);
if (cache) {
@@ -33,9 +33,9 @@ module.exports = async (ctx) => {
list.splice(0, 1);
// const list = $('.co_content8 table tr:not(:first-child)').get();
const process = await Promise.all(
list.map(async (item) => {
list.slice(0, 20).map(async (item) => {
const link = $(item).find('a:nth-of-type(2)');
const itemUrl = baseURL + link.attr('href');
const itemUrl = 'https://www.ygdy8.net' + link.attr('href');
const other = await load(itemUrl, ctx);
return {
+53 -28
View File
@@ -9,45 +9,70 @@ module.exports = async (ctx) => {
url: url,
});
const data = res.data;
let $ = cheerio.load(data);
const list = $('.original.am_card.original-normal');
const count = [];
const $ = cheerio.load(data);
const feedTitle = $('title').text();
for (let i = 0; i < Math.min(list.length, 10); i++) {
count.push(i);
}
const list = $('.original.am_card.original-normal')
.map(function () {
const item = {
url: $(this).find('a.am_card_content.original_content').attr('href'),
title: $(this).find('h3.am_card_title').text(),
};
return item;
})
.get();
const out = await Promise.all(
count.map(async (i) => {
const item = list[i];
let itemUrl = $(item).find('a.am_card_content.original_content').attr('href');
itemUrl = 'https://www.gcores.com' + itemUrl;
const cache = await ctx.cache.get(itemUrl);
list.map(async (item) => {
const articleUrl = `https://www.gcores.com${item.url}`;
const cache = await ctx.cache.get(articleUrl);
if (cache) {
return Promise.resolve(JSON.parse(cache));
}
const title = $(item).find('h3.am_card_title').text();
let itemRes;
try {
itemRes = await got({
method: 'get',
url: itemUrl,
});
} catch (e) {
return Promise.resolve();
}
const itemPage = itemRes.data;
$ = cheerio.load(itemPage);
const itemRes = await got({
method: 'get',
url: articleUrl,
});
const itemPage = itemRes.data;
const $ = cheerio.load(itemPage);
let articleData = await got(`https://www.gcores.com/gapi/v1${item.url}?include=media`);
articleData = articleData.data.data;
let cover;
if (articleData.attributes.cover) {
cover = `<img src="https://image.gcores.com/${articleData.attributes.cover}" />`;
} else if (articleData.attributes.thumb) {
cover = `<img src="https://image.gcores.com/${articleData.attributes.thumb}" />`;
} else {
cover = '';
}
// replace figure with img
const articleContent = JSON.parse(articleData.attributes.content);
const imgs = Object.values(articleContent.entityMap)
.filter((e) => e.type === 'IMAGE')
.map((e) => e.data.path);
$('figure').each((i, elem) => {
if (imgs[i]) {
$(elem).replaceWith($(`<img src="https://image.gcores.com/${imgs[i]}" />`));
}
});
// remove editor toolbar img
$('.md-editor-toolbar').replaceWith('');
// remove hidden tip block
$('.story_hidden').replaceWith('');
const cover = $('img.newsPage_cover');
const content = $('.story.story-show').html();
const single = {
title: title,
title: item.title,
description: cover + content,
link: itemUrl,
guid: itemUrl,
link: articleUrl,
guid: articleUrl,
};
ctx.cache.set(itemUrl, JSON.stringify(single));
ctx.cache.set(articleUrl, JSON.stringify(single));
return Promise.resolve(single);
})
);
+27 -6
View File
@@ -7,12 +7,33 @@ module.exports = async (ctx) => {
url: userUrl,
});
const list = response.data.result.feedList.map((item) => ({
title: item.title || item.postTime,
link: `https://t.kongfz.com/detail/${item.feedId}`,
description: item.type === 'text' ? item.content : `<a href="https://t.kongfz.com/detail/${item.feedId}">商品上架</a>`,
pubDate: new Date(item.postDateTime).toUTCString(),
}));
const list = response.data.result.feedList.map((item) => {
let description;
if (item.content === '件商品') {
description = '<ul>';
for (const i of item.itemList) {
const link = i.defaultItem.linkUrl;
const name = i.product.itemName;
const author = i.product.author;
const quality = i.product.quality;
const price = i.product.price;
const image = i.product.imgBig;
description += `<li><ul><li><a href="${link}">${name}</a></li><li>作者:${author}</li><li>品相:${quality}</li><li>价格:${price}</li><li><img src="${image}"></li></ul></li>`;
}
description += '</ul>';
} else {
if (item.content === '转发动态') {
item = item.itemList[0].feed;
}
description = item.content;
}
return {
title: item.title || item.postTime,
link: `https://t.kongfz.com/detail/${item.feedId}`,
description,
pubDate: new Date(item.postDateTime).toUTCString(),
};
});
const userInfo = response.data.result.userInfo;
+10 -9
View File
@@ -1,7 +1,6 @@
const got = require('@/utils/got');
const cheerio = require('cheerio');
const host = 'http://www.manxiaosi.com';
const ua = 'Mozilla/5.0 (Linux; Android 6.0; Nexus 5 Build/MRA58N) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.116 Mobile Safari/537.36';
const host = 'http://www.pknbc.com';
module.exports = async (ctx) => {
const id = ctx.params.id;
@@ -19,15 +18,17 @@ module.exports = async (ctx) => {
link: itemLink,
};
const details = await ctx.cache.tryGet(itemLink, async () => {
// 具体页面限制手机UA
const response = await got.get(itemLink, {
headers: {
'user-agent': ua,
},
});
const response = await got.get(itemLink);
const $ = cheerio.load(response.body);
const imgs = $('div.comicpage img');
let pics = '';
imgs.each((_, ele) => {
const $ele = $(ele);
const src = $ele.attr('data-original');
pics += `<img src="${src}" referrerpolicy="no-referrer">`;
});
return {
description: $('div#cp_img').html(),
description: `<div>${pics}</div>`,
};
});
return Promise.resolve(Object.assign({}, simple, details));
+100
View File
@@ -0,0 +1,100 @@
const got = require('@/utils/got');
const cheerio = require('cheerio');
const date = require('@/utils/date');
const config = {
community: {
link: '/section/7fba65e45f678eb8c605d4107de04185',
title: '社区管理',
},
university: {
link: '/section/4fcab28694a0be93d9297d8cede052d9',
title: '国内院校',
},
entertainment: {
link: '/section/3497e48bb537373d0f738b41fe53a41b',
title: '休闲娱乐',
},
location: {
link: '/section/353fdfda1dfe7a714e592bab99c762cd',
title: '五湖四海',
},
game: {
link: '/section/c8d614e56acb8a192ec4af8b375a5eea',
title: '游戏运动',
},
society: {
link: '/section/5b634fdc9ecddf6042561c959176c077',
title: '社会信息',
},
romance: {
link: '/section/1c455a5dccf4242008d188f9676e3f4e',
title: '知性感性',
},
culture: {
link: '/section/12af235486fde6684e4b9e83f5d2b779',
title: '文化人文',
},
science: {
link: '/section/4ed7f0d8b621c8ccf9e11eca9991d6dc',
title: '学术科学',
},
technology: {
link: '/section/4dda79c64b3ffb61f8048d745292ff5d',
title: '电脑技术',
},
};
module.exports = async (ctx) => {
const cfg = config[ctx.params.section];
if (!cfg) {
throw Error('Bad section. See <a href="https://docs.rsshub.app/bbs.html#shui-mu-she-qu-fen-qu-wen-zhang">docs</a>');
}
const rootUrl = `https://exp.newsmth.net/statistics/hot`;
const currentUrl = `${rootUrl}${cfg.link}`;
const response = await got({
method: 'get',
url: currentUrl,
});
const $ = cheerio.load(response.data);
const list = $('ul.article-list li')
.slice(0, 15)
.map((_, item) => {
item = $(item);
const a = item.find('a.article-subject');
const pubDate = date(item.find('div.article-account-name span').text());
return {
title: a.text(),
link: `https://exp.newsmth.net${a.attr('href')}`,
pubDate: pubDate,
};
})
.get();
const items = await Promise.all(
list.map(
async (item) =>
await ctx.cache.tryGet(item.link, async () => {
const detailResponse = await got({
method: 'get',
url: item.link,
});
const content = cheerio.load(detailResponse.data);
item.description = content('div.show-content').html();
return item;
})
)
);
ctx.state.data = {
title: cfg.title + ' - 水木社区',
link: currentUrl,
item: items,
};
};
+2 -2
View File
@@ -80,8 +80,8 @@ module.exports = async (ctx) => {
});
const content = cheerio.load(detail.data);
content('.ad-wrap').remove();
item.description = content('#articleContent').html();
item.author = content('a.__user').find('span').text();
item.description = content('.article-detail').html();
item.author = content('.article-box__meta .item').first().text();
ctx.cache.set(key, item.description);
}
}
+1 -1
View File
@@ -42,7 +42,7 @@ module.exports = async (ctx) => {
});
const content = cheerio.load(detail.data);
content('#articleContent .ad-wrap').remove();
item.description = content('#articleContent').html();
item.description = content('.article-detail').html();
ctx.cache.set(key, item.description);
}
return Promise.resolve(item);
+1 -1
View File
@@ -42,7 +42,7 @@ module.exports = async (ctx) => {
});
const content = cheerio.load(detail.data);
content('.ad-wrap').remove();
item.description = content('#articleContent').html();
item.description = content('.article-detail').html();
ctx.cache.set(key, item.description);
}
return Promise.resolve(item);
+29
View File
@@ -0,0 +1,29 @@
const got = require('@/utils/got');
const cheerio = require('cheerio');
module.exports = async (ctx) => {
const username = ctx.params.username;
const link = `https://www.pornhub.com/users/${username}/videos`;
const response = await got.get(link);
const $ = cheerio.load(response.data);
const list = $('.videoUList .videoBox');
ctx.state.data = {
title: $('title').first().text(),
link: link,
item:
list &&
list
.map((_, e) => {
e = $(e);
return {
title: e.find('span.title a').text(),
link: `https://www.pornhub.com` + e.find('span.title a').attr('href'),
description: `<img src="${e.find('img.thumb').attr('data-thumb_url')}">`,
};
})
.get(),
};
};
+1 -1
View File
@@ -19,7 +19,7 @@ module.exports = async (ctx) => {
item: list
.map((index, item) => {
item = $(item);
thumbnail_url = 'https://wnacg.org' + `${item.find('a > img').attr('src')}`;
thumbnail_url = 'https:' + `${item.find('a > img').attr('data-original')}`;
link_url = 'https://wnacg.org' + `${item.find('a').attr('href')}`;
return {
title: item.find('a').attr('title'),
+59
View File
@@ -0,0 +1,59 @@
const got = require('@/utils/got');
const cheerio = require('cheerio');
const dayjs = require('dayjs');
module.exports = async (ctx) => {
const { biz, aid } = ctx.params;
const aidurl = `&album_id=${aid}`;
const HTMLresponse = await got({
method: 'get',
url: `https://mp.weixin.qq.com/mp/appmsgalbum?__biz=${biz}&action=getalbum${aidurl}`,
});
const $ = cheerio.load(HTMLresponse.data);
const list = $('li').get();
const mptitle = $('.album__author-name').text() + `|` + $('.album__label-title').text();
const articledata = await Promise.all(
list.map(async (item) => {
const link = $(item).attr('data-link').replace('http://', 'https://');
const title = $(item).attr('data-title');
const cache = await ctx.cache.get(link);
if (cache) {
return Promise.resolve(JSON.parse(cache));
}
const response2 = await got({
method: 'get',
url: link,
});
const articleHtml = response2.data;
const $2 = cheerio.load(articleHtml);
$2('img').removeAttr('src');
$2('div#js_profile_qrcode').remove();
const content = $2('div#js_content.rich_media_content')
.html()
.replace('iframe/preview.html?width=500&amp;height=375&amp;', 'txp/iframe/player.html?')
.replace('<iframe ', '<iframe width="640" height="360"')
.replace(/data-src/g, 'src');
const author = $2('div#meta_content:not(:last-child)').text();
const single = {
content,
author,
link,
title,
};
ctx.cache.set(link, JSON.stringify(single));
return Promise.resolve(single);
})
);
ctx.state.data = {
title: `${mptitle}`,
link: `https://mp.weixin.qq.com/mp/appmsgalbum?__biz=${biz}&action=getalbum${aidurl}`,
item: list.map((item, index) => ({
title: `${articledata[index].title}`,
description: $(item).find('.album__item-img').html() + `<br><br>${articledata[index].content}`,
link: `${articledata[index].link}`,
author: `${articledata[index].author}`,
pubDate: dayjs.unix($(item).find('.js_article_create_time').text()).format(),
})),
};
};
+17 -2
View File
@@ -6,9 +6,24 @@ module.exports = async (ctx) => {
throw 'Twitter RSS is disabled due to the lack of <a href="https://docs.rsshub.app/install/#%E9%83%A8%E5%88%86-rss-%E6%A8%A1%E5%9D%97%E9%85%8D%E7%BD%AE">relevant config</a>';
}
const { id, name } = ctx.params;
const list_data = await ctx.cache.tryGet(`${id}_lists`, async () => {
const result = await utils.getTwit().get('lists/list', {
screen_name: id,
});
const cached_lists = {};
result.data.forEach((e) => {
cached_lists[e.name] = { id: e.id_str, slug: e.slug };
});
return cached_lists;
});
const cur_list = list_data[name];
const result = await utils.getTwit().get('lists/statuses', {
owner_screen_name: id,
slug: name,
list_id: cur_list.id,
slug: cur_list.slug,
tweet_mode: 'extended',
});
const data = result.data;
+5 -2
View File
@@ -27,16 +27,19 @@ module.exports = async (ctx) => {
const $ = cheerio.load(iconv.decode(response.data, 'utf-8'));
const regex = /(\d+)\.htm/;
ctx.state.data = {
link: base_url,
title: '大连大学教务处',
item: $('td[valign="top"]>table[cellspacing="3"][width="100%"] tr')
.slice(0, 10)
.map((_, elem) => ({
link: resolve_url(base_url, $('a', elem).attr('href')),
title: $('a', elem).attr('title'),
pubDate: new Date(new Date().getFullYear() + '-' + $('[class*="timestyle"]', elem).text().replace('/', '-')).toUTCString(),
}))
.get(),
.get()
.sort((one, two) => two.link.match(regex)[1] - one.link.match(regex)[1])
.slice(0, 20),
};
};
+2 -2
View File
@@ -43,8 +43,8 @@ module.exports = async (ctx) => {
}
const itemReponse = await got({ method: 'get', url: link, responseType: 'buffer' });
const itemElement = cheerio.load(iconv.decode(itemReponse.data, 'gbk'));
item.description = itemElement('#jiacu').html();
const itemElement = cheerio.load(iconv.decode(itemReponse.data, 'utf-8'));
item.description = itemElement('div[style="line-height:27px;"]').html();
ctx.cache.set(link, JSON.stringify(item));
return Promise.resolve(item);
+51
View File
@@ -0,0 +1,51 @@
const got = require('@/utils/got');
const cheerio = require('cheerio');
const url = require('url');
module.exports = async (ctx) => {
const elite = ctx.params.elite === undefined ? 0 : ctx.params.elite;
const base_url = `https://bbs.wenxuecity.com/${ctx.params.cat}/?elite=${elite}`;
const response = await got({
method: 'get',
url: base_url,
https: {
rejectUnauthorized: false,
},
});
const data = response.data;
const $ = cheerio.load(data);
const list = $('div.odd,div.even');
const out = list
.slice(0, 10)
.map(async (i, item) => {
const link = url.resolve(base_url, $(item).find('a.post').attr('href'));
const description = await ctx.cache.tryGet(link, async () => {
const result = await got({
method: 'get',
url: link,
https: {
rejectUnauthorized: false,
},
headers: {
Referer: base_url,
},
});
const content = cheerio.load(result.data);
return content('div#content').html();
});
const post = {
title: $(item).find('a.post').text(),
link: link,
author: $(item).find('span.b > a.b').text(),
description: description,
};
return post;
})
.get();
ctx.state.data = {
allowEmpty: true,
title: $('title').text(),
link: base_url,
item: await Promise.all(out),
};
};
+51
View File
@@ -0,0 +1,51 @@
const got = require('@/utils/got');
const cheerio = require('cheerio');
const url = require('url');
module.exports = async (ctx) => {
const cid = ctx.params.cid;
const base_url = `https://bbs.wenxuecity.com/?cid=${cid}/`;
const response = await got({
method: 'get',
url: base_url,
https: {
rejectUnauthorized: false,
},
});
const data = response.data;
const $ = cheerio.load(data);
const list = $('div.item');
const out = list
.slice(0, 10)
.map(async (i, item) => {
const link = url.resolve('https://bbs.wenxuecity.com/', $(item).find('div.title > a').attr('href'));
const description = await ctx.cache.tryGet(link, async () => {
const result = await got({
method: 'get',
url: link,
https: {
rejectUnauthorized: false,
},
headers: {
Referer: base_url,
},
});
const content = cheerio.load(result.data);
return content('div#content').html();
});
const post = {
title: $(item).find('div.title > a').text(),
link: link,
author: $(item).find('span.user > a').text(),
description: description,
};
return post;
})
.get();
ctx.state.data = {
allowEmpty: true,
title: $('title').text(),
link: base_url,
item: await Promise.all(out),
};
};
+8 -8
View File
@@ -42,7 +42,7 @@
"@vuepress/plugin-pwa": "1.5.4",
"cross-env": "7.0.2",
"entities": "2.0.3",
"eslint": "7.8.0",
"eslint": "7.9.0",
"eslint-config-prettier": "6.11.0",
"eslint-plugin-prettier": "3.1.4",
"jest": "26.4.2",
@@ -52,7 +52,7 @@
"pinyin": "2.9.1",
"prettier": "2.1.1",
"prettier-check": "2.0.0",
"pretty-quick": "3.0.0",
"pretty-quick": "3.0.2",
"remark": "12.0.1",
"remark-frontmatter": "2.0.0",
"remark-pangu": "2.1.1",
@@ -66,7 +66,7 @@
"dependencies": {
"@koa/router": "9.4.0",
"@postlight/mercury-parser": "2.2.0",
"@sentry/node": "5.22.3",
"@sentry/node": "5.24.2",
"aes-js": "3.1.2",
"art-template": "4.13.2",
"cheerio": "1.0.0-rc.3",
@@ -74,14 +74,14 @@
"co-redis": "2.1.1",
"crypto-js": "4.0.0",
"currency-symbol-map": "4.0.4",
"dayjs": "1.8.35",
"dayjs": "1.8.36",
"dotenv": "8.2.0",
"emailjs-imap-client": "3.1.0",
"etag": "1.8.1",
"fanfou-sdk": "4.2.0",
"git-rev-sync": "3.0.1",
"googleapis": "59.0.0",
"got": "11.6.0",
"got": "11.7.0",
"he": "1.2.0",
"hooman": "1.2.6",
"https-proxy-agent": "5.0.0",
@@ -97,13 +97,13 @@
"lru-cache": "6.0.0",
"lz-string": "1.4.4",
"mailparser": "3.0.0",
"markdown-it": "11.0.0",
"markdown-it": "11.0.1",
"module-alias": "2.2.2",
"parse-torrent": "7.1.3",
"pidusage": "2.0.21",
"plist": "3.0.1",
"puppeteer": "5.2.1",
"query-string": "6.13.1",
"puppeteer": "5.3.0",
"query-string": "6.13.2",
"redis": "3.0.2",
"require-all": "3.0.0",
"rss-parser": "3.9.0",
+104 -100
View File
@@ -1053,14 +1053,20 @@
enabled "2.0.x"
kuler "^2.0.0"
"@eslint/eslintrc@^0.1.0":
version "0.1.0"
resolved "https://registry.yarnpkg.com/@eslint/eslintrc/-/eslintrc-0.1.0.tgz#3d1f19fb797d42fb1c85458c1c73541eeb1d9e76"
integrity sha512-bfL5365QSCmH6cPeFT7Ywclj8C7LiF7sO6mUGzZhtAMV7iID1Euq6740u/SRi4C80NOnVz/CEfK8/HO+nCAPJg==
"@eslint/eslintrc@^0.1.3":
version "0.1.3"
resolved "https://registry.yarnpkg.com/@eslint/eslintrc/-/eslintrc-0.1.3.tgz#7d1a2b2358552cc04834c0979bd4275362e37085"
integrity sha512-4YVwPkANLeNtRjMekzux1ci8hIaH5eGKktGqR0d3LWsKNn5B2X/1Z6Trxy7jQXl9EBGE6Yj02O+t09FMeRllaA==
dependencies:
ajv "^6.12.4"
debug "^4.1.1"
espree "^7.3.0"
globals "^12.1.0"
ignore "^4.0.6"
import-fresh "^3.2.1"
js-yaml "^3.13.1"
lodash "^4.17.19"
minimatch "^3.0.4"
strip-json-comments "^3.1.1"
"@hapi/address@2.x.x":
@@ -1339,72 +1345,72 @@
dependencies:
safe-buffer "^5.0.1"
"@sentry/core@5.22.3":
version "5.22.3"
resolved "https://registry.yarnpkg.com/@sentry/core/-/core-5.22.3.tgz#030f435f2b518f282ba8bd954dac90cd70888bd7"
integrity sha512-eGL5uUarw3o4i9QUb9JoFHnhriPpWCaqeaIBB06HUpdcvhrjoowcKZj1+WPec5lFg5XusE35vez7z/FPzmJUDw==
"@sentry/core@5.24.2":
version "5.24.2"
resolved "https://registry.yarnpkg.com/@sentry/core/-/core-5.24.2.tgz#1724652855c0887a690c3fc6acd2519d4072b511"
integrity sha512-nuAwCGU1l9hgMinl5P/8nIQGRXDP2FI9cJnq5h1qiP/XIOvJkJz2yzBR6nTyqr4vBth0tvxQJbIpDNGd7vHJLg==
dependencies:
"@sentry/hub" "5.22.3"
"@sentry/minimal" "5.22.3"
"@sentry/types" "5.22.3"
"@sentry/utils" "5.22.3"
"@sentry/hub" "5.24.2"
"@sentry/minimal" "5.24.2"
"@sentry/types" "5.24.2"
"@sentry/utils" "5.24.2"
tslib "^1.9.3"
"@sentry/hub@5.22.3":
version "5.22.3"
resolved "https://registry.yarnpkg.com/@sentry/hub/-/hub-5.22.3.tgz#08309a70d2ea8d5e313d05840c1711f34f2fffe5"
integrity sha512-INo47m6N5HFEs/7GMP9cqxOIt7rmRxdERunA3H2L37owjcr77MwHVeeJ9yawRS6FMtbWXplgWTyTIWIYOuqVbw==
"@sentry/hub@5.24.2":
version "5.24.2"
resolved "https://registry.yarnpkg.com/@sentry/hub/-/hub-5.24.2.tgz#64a02fd487599945e488ae23aba4ce4df44ee79e"
integrity sha512-xmO1Ivvpb5Qr9WgekinuZZlpl9Iw7iPETUe84HQOhUrXf+2gKO+LaUYMMsYSVDwXQEmR6/tTMyOtS6iavldC6w==
dependencies:
"@sentry/types" "5.22.3"
"@sentry/utils" "5.22.3"
"@sentry/types" "5.24.2"
"@sentry/utils" "5.24.2"
tslib "^1.9.3"
"@sentry/minimal@5.22.3":
version "5.22.3"
resolved "https://registry.yarnpkg.com/@sentry/minimal/-/minimal-5.22.3.tgz#706e4029ae5494123d3875c658ba8911aa5cc440"
integrity sha512-HoINpYnVYCpNjn2XIPIlqH5o4BAITpTljXjtAftOx6Hzj+Opjg8tR8PWliyKDvkXPpc4kXK9D6TpEDw8MO0wZA==
"@sentry/minimal@5.24.2":
version "5.24.2"
resolved "https://registry.yarnpkg.com/@sentry/minimal/-/minimal-5.24.2.tgz#14e8b136842398a32987459f0574359b6dc57a1f"
integrity sha512-biFpux5bI3R8xiD/Zzvrk1kRE6bqPtfWXmZYAHRtaUMCAibprTKSY9Ta8QYHynOAEoJ5Akedy6HUsEkK5DoZfA==
dependencies:
"@sentry/hub" "5.22.3"
"@sentry/types" "5.22.3"
"@sentry/hub" "5.24.2"
"@sentry/types" "5.24.2"
tslib "^1.9.3"
"@sentry/node@5.22.3":
version "5.22.3"
resolved "https://registry.yarnpkg.com/@sentry/node/-/node-5.22.3.tgz#adea622eae6811e11edc8f34209c912caed91336"
integrity sha512-TCCKO7hJKiQi1nGmJcQfvbbqv98P08LULh7pb/NaO5pV20t1FtICfGx8UMpORRDehbcAiYq/f7rPOF6X/Xl5iw==
"@sentry/node@5.24.2":
version "5.24.2"
resolved "https://registry.yarnpkg.com/@sentry/node/-/node-5.24.2.tgz#6e06bf26f1e0b23e122a14f17aa57671d3428c4d"
integrity sha512-ddfU2tLTvhnY+NqzLIA/gxMt/uxq7R204Nb2J5qqE0WAgbh0dtylNAzfKZTizLdbZfRnpeISmd+CBILh3tavog==
dependencies:
"@sentry/core" "5.22.3"
"@sentry/hub" "5.22.3"
"@sentry/tracing" "5.22.3"
"@sentry/types" "5.22.3"
"@sentry/utils" "5.22.3"
"@sentry/core" "5.24.2"
"@sentry/hub" "5.24.2"
"@sentry/tracing" "5.24.2"
"@sentry/types" "5.24.2"
"@sentry/utils" "5.24.2"
cookie "^0.4.1"
https-proxy-agent "^5.0.0"
lru_map "^0.3.3"
tslib "^1.9.3"
"@sentry/tracing@5.22.3":
version "5.22.3"
resolved "https://registry.yarnpkg.com/@sentry/tracing/-/tracing-5.22.3.tgz#9b5a376e3164c007a22e8642ec094104468cac0c"
integrity sha512-Zp59kMCk5v56ZAyErqjv/QvGOWOQ5fRltzeVQVp8unIDTk6gEFXfhwPsYHOokJe1mfkmrgPDV6xAkYgtL3KCDQ==
"@sentry/tracing@5.24.2":
version "5.24.2"
resolved "https://registry.yarnpkg.com/@sentry/tracing/-/tracing-5.24.2.tgz#a36b4f9bf699c5e07e99a148360091c8e727c51f"
integrity sha512-1uDgvGGVF8lb3hRXbhNnns+8DBUKjhRKOFR5Z3RExjrDFYTDbHmoNtV73Q12Ra+Iht9HTZnIBOqYD3oSZIbJ0w==
dependencies:
"@sentry/hub" "5.22.3"
"@sentry/minimal" "5.22.3"
"@sentry/types" "5.22.3"
"@sentry/utils" "5.22.3"
"@sentry/hub" "5.24.2"
"@sentry/minimal" "5.24.2"
"@sentry/types" "5.24.2"
"@sentry/utils" "5.24.2"
tslib "^1.9.3"
"@sentry/types@5.22.3":
version "5.22.3"
resolved "https://registry.yarnpkg.com/@sentry/types/-/types-5.22.3.tgz#d1d547b30ee8bd7771fa893af74c4f3d71f0fd18"
integrity sha512-cv+VWK0YFgCVDvD1/HrrBWOWYG3MLuCUJRBTkV/Opdy7nkdNjhCAJQrEyMM9zX0sac8FKWKOHT0sykNh8KgmYw==
"@sentry/types@5.24.2":
version "5.24.2"
resolved "https://registry.yarnpkg.com/@sentry/types/-/types-5.24.2.tgz#e2c25d1e75d8dbec5dbbd9a309a321425b61c2ca"
integrity sha512-HcOK00R0tQG5vzrIrqQ0jC28+z76jWSgQCzXiessJ5SH/9uc6NzdO7sR7K8vqMP2+nweCHckFohC8G0T1DLzuQ==
"@sentry/utils@5.22.3":
version "5.22.3"
resolved "https://registry.yarnpkg.com/@sentry/utils/-/utils-5.22.3.tgz#e3bda3e789239eb16d436f768daa12829f33d18f"
integrity sha512-AHNryXMBvIkIE+GQxTlmhBXD0Ksh+5w1SwM5qi6AttH+1qjWLvV6WB4+4pvVvEoS8t5F+WaVUZPQLmCCWp6zKw==
"@sentry/utils@5.24.2":
version "5.24.2"
resolved "https://registry.yarnpkg.com/@sentry/utils/-/utils-5.24.2.tgz#90b7dff939bbbf4bb8edcac6aac2d04a0552af80"
integrity sha512-oPGde4tNEDHKk0Cg9q2p0qX649jLDUOwzJXHKpd0X65w3A6eJByDevMr8CSzKV9sesjrUpxqAv6f9WWlz185tA==
dependencies:
"@sentry/types" "5.22.3"
"@sentry/types" "5.24.2"
tslib "^1.9.3"
"@sindresorhus/is@^0.14.0":
@@ -4176,10 +4182,10 @@ date-now@^0.1.4:
resolved "https://registry.yarnpkg.com/date-now/-/date-now-0.1.4.tgz#eaf439fd4d4848ad74e5cc7dbef200672b9e345b"
integrity sha1-6vQ5/U1ISK105cx9vvIAZyueNFs=
dayjs@1.8.35, dayjs@^1.8.29:
version "1.8.35"
resolved "https://registry.yarnpkg.com/dayjs/-/dayjs-1.8.35.tgz#67118378f15d31623f3ee2992f5244b887606888"
integrity sha512-isAbIEenO4ilm6f8cpqvgjZCsuerDAz2Kb7ri201AiNn58aqXuaLJEnCtfIMdCvERZHNGRY5lDMTr/jdAnKSWQ==
dayjs@1.8.36, dayjs@^1.8.29:
version "1.8.36"
resolved "https://registry.yarnpkg.com/dayjs/-/dayjs-1.8.36.tgz#be36e248467afabf8f5a86bae0de0cdceecced50"
integrity sha512-3VmRXEtw7RZKAf+4Tv1Ym9AGeo8r8+CjDi26x+7SYQil1UqtqdaokhzoEJohqlzt0m5kacJSDhJQkG/LWhpRBw==
de-indent@^1.0.2:
version "1.0.2"
@@ -4405,10 +4411,10 @@ detect-node@^2.0.4:
resolved "https://registry.yarnpkg.com/detect-node/-/detect-node-2.0.4.tgz#014ee8f8f669c5c58023da64b8179c083a28c46c"
integrity sha512-ZIzRpLJrOj7jjP2miAtgqIfmzbxa4ZOr5jJc601zklsfEx9oTzmmj2nVpIPRpNlRTIh8lc1kyViIY7BWSGNmKw==
devtools-protocol@0.0.781568:
version "0.0.781568"
resolved "https://registry.yarnpkg.com/devtools-protocol/-/devtools-protocol-0.0.781568.tgz#4cdca90a952d2c77831096ff6cd32695d8715a04"
integrity sha512-9Uqnzy6m6zEStluH9iyJ3iHyaQziFnMnLeC8vK0eN6smiJmIx7+yB64d67C2lH/LZra+5cGscJAJsNXO+MdPMg==
devtools-protocol@0.0.799653:
version "0.0.799653"
resolved "https://registry.yarnpkg.com/devtools-protocol/-/devtools-protocol-0.0.799653.tgz#86fc95ce5bf4fdf4b77a58047ba9d2301078f119"
integrity sha512-t1CcaZbvm8pOlikqrsIM9GOa7Ipp07+4h/q9u0JXBWjPCjHdBl9KkddX87Vv9vBHoBGtwV79sYQNGnQM6iS5gg==
diacritics@^1.3.0:
version "1.3.0"
@@ -4914,13 +4920,13 @@ eslint-visitor-keys@^1.1.0, eslint-visitor-keys@^1.3.0:
resolved "https://registry.yarnpkg.com/eslint-visitor-keys/-/eslint-visitor-keys-1.3.0.tgz#30ebd1ef7c2fdff01c3a4f151044af25fab0523e"
integrity sha512-6J72N8UNa462wa/KFODt/PJ3IU60SDpC3QXC1Hjc1BXXpfL2C9R5+AU7jhe0F6GREqVMh4Juu+NY7xn+6dipUQ==
eslint@7.8.0:
version "7.8.0"
resolved "https://registry.yarnpkg.com/eslint/-/eslint-7.8.0.tgz#9a3e2e6e4d0a3f8c42686073c25ebf2e91443e8a"
integrity sha512-qgtVyLZqKd2ZXWnLQA4NtVbOyH56zivOAdBFWE54RFkSZjokzNrcP4Z0eVWsZ+84ByXv+jL9k/wE1ENYe8xRFw==
eslint@7.9.0:
version "7.9.0"
resolved "https://registry.yarnpkg.com/eslint/-/eslint-7.9.0.tgz#522aeccc5c3a19017cf0cb46ebfd660a79acf337"
integrity sha512-V6QyhX21+uXp4T+3nrNfI3hQNBDa/P8ga7LoQOenwrlEFXrEnUEE+ok1dMtaS3b6rmLXhT1TkTIsG75HMLbknA==
dependencies:
"@babel/code-frame" "^7.0.0"
"@eslint/eslintrc" "^0.1.0"
"@eslint/eslintrc" "^0.1.3"
ajv "^6.10.0"
chalk "^4.0.0"
cross-spawn "^7.0.2"
@@ -5010,10 +5016,10 @@ event-target-shim@^5.0.0:
resolved "https://registry.yarnpkg.com/event-target-shim/-/event-target-shim-5.0.1.tgz#5d4d3ebdf9583d63a5333ce2deb7480ab2b05789"
integrity sha512-i/2XbnSz/uxRCU6+NdVJgKWDTM427+MqYbkQzD321DuCQJUqOuJKIA0IM2+W2xtYHdKOmZ4dR6fExsd4SXL+WQ==
eventemitter3@^3.0.0:
version "3.1.2"
resolved "https://registry.yarnpkg.com/eventemitter3/-/eventemitter3-3.1.2.tgz#2d3d48f9c346698fce83a85d7d664e98535df6e7"
integrity sha512-tvtQIeLVHjDkJYnzf2dgVMxfuSGJeM/7UCG17TT4EumTfNtF+0nebF/4zWOIkCreAbtNqhGEboB6BWrwqNaw4Q==
eventemitter3@^4.0.0:
version "4.0.7"
resolved "https://registry.yarnpkg.com/eventemitter3/-/eventemitter3-4.0.7.tgz#2de9b68f6528d5644ef5c59526a1b4a07306169f"
integrity sha512-8guHBZCwKnFhYdHr2ysuRWErTwhoN2X8XELRlrRwpmfeY2jjuUN4taQMsULKUVo1K4DvZl+0pgfyoysHxvmvEw==
events@^1.1.0:
version "1.1.1"
@@ -5423,11 +5429,9 @@ fn.name@1.x.x:
integrity sha512-GRnmB5gPyJpAhTQdSZTSp9uaPSvl09KoYcMQtsB9rQoOmzs9dH6ffeccH+Z+cv6P68Hu5bC6JjRh4Ah/mHSNRw==
follow-redirects@^1.0.0:
version "1.7.0"
resolved "https://registry.yarnpkg.com/follow-redirects/-/follow-redirects-1.7.0.tgz#489ebc198dc0e7f64167bd23b03c4c19b5784c76"
integrity sha512-m/pZQy4Gj287eNy94nivy5wchN3Kp+Q5WgUPNy5lJSZ3sgkVKSYV/ZChMAQVIgx1SqfZ2zBZtPA2YlXIWxxJOQ==
dependencies:
debug "^3.2.6"
version "1.13.0"
resolved "https://registry.yarnpkg.com/follow-redirects/-/follow-redirects-1.13.0.tgz#b42e8d93a2a7eea5ed88633676d6597bc8e384db"
integrity sha512-aq6gF1BEKje4a9i9+5jimNFIpq4Q1WiwBToeRK5NvZBd/TRsmW8BsJfOEGkr76TbOyPVD3OVDN910EcUNtRYEA==
for-in@^1.0.2:
version "1.0.2"
@@ -5846,10 +5850,10 @@ googleapis@59.0.0:
google-auth-library "^6.0.0"
googleapis-common "^4.4.0"
got@11.6.0:
version "11.6.0"
resolved "https://registry.yarnpkg.com/got/-/got-11.6.0.tgz#4978c78f3cbc3a45ee95381f8bb6efd1db1f4638"
integrity sha512-ErhWb4IUjQzJ3vGs3+RR12NWlBDDkRciFpAkQ1LPUxi6OnwhGj07gQxjPsyIk69s7qMihwKrKquV6VQq7JNYLA==
got@11.7.0:
version "11.7.0"
resolved "https://registry.yarnpkg.com/got/-/got-11.7.0.tgz#a386360305571a74548872e674932b4ef70d3b24"
integrity sha512-7en2XwH2MEqOsrK0xaKhbWibBoZqy+f1RSUoIeF1BLcnf+pyQdDsljWMfmOh+QKJwuvDIiKx38GtPh5wFdGGjg==
dependencies:
"@sindresorhus/is" "^3.1.1"
"@szmarczak/http-timer" "^4.0.5"
@@ -6258,11 +6262,11 @@ http-proxy-middleware@^0.19.1:
micromatch "^3.1.10"
http-proxy@^1.17.0:
version "1.17.0"
resolved "https://registry.yarnpkg.com/http-proxy/-/http-proxy-1.17.0.tgz#7ad38494658f84605e2f6db4436df410f4e5be9a"
integrity sha512-Taqn+3nNvYRfJ3bGvKfBSRwy1v6eePlm3oc/aWVxZp57DQr5Eq3xhKJi7Z4hZpS8PC3H4qI+Yly5EmFacGuA/g==
version "1.18.1"
resolved "https://registry.yarnpkg.com/http-proxy/-/http-proxy-1.18.1.tgz#401541f0534884bbf95260334e72f88ee3976549"
integrity sha512-7mz/721AbnJwIVbnaSv1Cz3Am0ZLT/UBwkC92VlxhXv/k/BBQfM2fXElQNC27BVGr0uwUpplYPQM9LnaBMR5NQ==
dependencies:
eventemitter3 "^3.0.0"
eventemitter3 "^4.0.0"
follow-redirects "^1.0.0"
requires-port "^1.0.0"
@@ -8169,10 +8173,10 @@ markdown-it-table-of-contents@^0.4.0:
resolved "https://registry.yarnpkg.com/markdown-it-table-of-contents/-/markdown-it-table-of-contents-0.4.4.tgz#3dc7ce8b8fc17e5981c77cc398d1782319f37fbc"
integrity sha512-TAIHTHPwa9+ltKvKPWulm/beozQU41Ab+FIefRaQV1NRnpzwcV9QOe6wXQS5WLivm5Q/nlo0rl6laGkMDZE7Gw==
markdown-it@11.0.0:
version "11.0.0"
resolved "https://registry.yarnpkg.com/markdown-it/-/markdown-it-11.0.0.tgz#dbfc30363e43d756ebc52c38586b91b90046b876"
integrity sha512-+CvOnmbSubmQFSA9dKz1BRiaSMV7rhexl3sngKqFyXSagoA3fBdJQ8oZWtRy2knXdpDXaBw44euz37DeJQ9asg==
markdown-it@11.0.1:
version "11.0.1"
resolved "https://registry.yarnpkg.com/markdown-it/-/markdown-it-11.0.1.tgz#b54f15ec2a2193efa66dda1eb4173baea08993d6"
integrity sha512-aU1TzmBKcWNNYvH9pjq6u92BML+Hz3h5S/QpfTFwiQF852pLT+9qHsrhM9JYipkOXZxGn+sGH8oyJE9FD9WezQ==
dependencies:
argparse "^1.0.7"
entities "~2.0.0"
@@ -8629,9 +8633,9 @@ nock@13.0.4:
propagate "^2.0.0"
node-fetch@^2.3.0:
version "2.6.0"
resolved "https://registry.yarnpkg.com/node-fetch/-/node-fetch-2.6.0.tgz#e633456386d4aa55863f676a7ab0daa8fdecb0fd"
integrity sha512-8dG4H5ujfvFiqDmVu9fQ5bOHUC15JMjMY/Zumv26oOvvVJjM67KF8koCWIabKQ1GJIa9r2mMZscBq/TbdOcmNA==
version "2.6.1"
resolved "https://registry.yarnpkg.com/node-fetch/-/node-fetch-2.6.1.tgz#045bd323631f76ed2e2b55573394416b639a0052"
integrity sha512-V4aYg89jEoVRxRb2fJdAg8FHvI7cEyYdVAh94HH0UIK8oJxUfkjlDQN9RbMx+bEjP7+ggMiFRprSti032Oipxw==
node-forge@0.7.5:
version "0.7.5"
@@ -9927,10 +9931,10 @@ pretty-format@^26.4.2:
ansi-styles "^4.0.0"
react-is "^16.12.0"
pretty-quick@3.0.0:
version "3.0.0"
resolved "https://registry.yarnpkg.com/pretty-quick/-/pretty-quick-3.0.0.tgz#cba8597eca7f3821232abe6a93302d362cc30d71"
integrity sha512-oIXlGQUcUxt3XpoNfQECEWvH1Q9PtKfelF2pdp6UvC1CSQ5QcB7gUYKu0kuJGlm3LMBZzJaO/vbRkxA61pWlcg==
pretty-quick@3.0.2:
version "3.0.2"
resolved "https://registry.yarnpkg.com/pretty-quick/-/pretty-quick-3.0.2.tgz#7ed460f7e43a647b1044ad8b7f41a0c8a7f1c51c"
integrity sha512-4rWOs/Ifdkg7G/YX7Xbco4jZkuXPx445KdhuMI6REnl3nXRDb9+zysb29c76R59jsJzcnkcpAaGi8D/RjAVfSQ==
dependencies:
chalk "^3.0.0"
execa "^4.0.0"
@@ -10084,13 +10088,13 @@ punycode@^2.1.0, punycode@^2.1.1:
resolved "https://registry.yarnpkg.com/punycode/-/punycode-2.1.1.tgz#b58b010ac40c22c5657616c8d2c2c02c7bf479ec"
integrity sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A==
puppeteer@5.2.1:
version "5.2.1"
resolved "https://registry.yarnpkg.com/puppeteer/-/puppeteer-5.2.1.tgz#7f0564f0a5384f352a38c8cc42af875cd87f4ea6"
integrity sha512-PZoZG7u+T6N1GFWBQmGVG162Ak5MAy8nYSVpeeQrwJK2oYUlDWpHEJPcd/zopyuEMTv7DiztS1blgny1txR2qw==
puppeteer@5.3.0:
version "5.3.0"
resolved "https://registry.yarnpkg.com/puppeteer/-/puppeteer-5.3.0.tgz#0abf83d0f2d1273baf2b56885a813f8052903e33"
integrity sha512-GjqMk5GRro3TO0sw3QMsF1H7n+/jaK2OW45qMvqjYUyJ7y4oA//9auy969HHhTG3HZXaMxY/NWXF/NXlAFIvtw==
dependencies:
debug "^4.1.0"
devtools-protocol "0.0.781568"
devtools-protocol "0.0.799653"
extract-zip "^2.0.0"
https-proxy-agent "^4.0.0"
mime "^2.0.3"
@@ -10122,10 +10126,10 @@ qs@~6.5.2:
resolved "https://registry.yarnpkg.com/qs/-/qs-6.5.2.tgz#cb3ae806e8740444584ef154ce8ee98d403f3e36"
integrity sha512-N5ZAX4/LxJmF+7wN74pUD6qAh9/wnvdQcjq9TZjevvXzSUo7bfmw91saqMjzGS2xq91/odN2dW/WOl7qQHNDGA==
query-string@6.13.1, query-string@^6.2.0:
version "6.13.1"
resolved "https://registry.yarnpkg.com/query-string/-/query-string-6.13.1.tgz#d913ccfce3b4b3a713989fe6d39466d92e71ccad"
integrity sha512-RfoButmcK+yCta1+FuU8REvisx1oEzhMKwhLUNcepQTPGcNMp1sIqjnfCtfnvGSQZQEhaBHvccujtWoUV3TTbA==
query-string@6.13.2, query-string@^6.2.0:
version "6.13.2"
resolved "https://registry.yarnpkg.com/query-string/-/query-string-6.13.2.tgz#3585aa9412c957cbd358fd5eaca7466f05586dda"
integrity sha512-BMmDaUiLDFU1hlM38jTFcRt7HYiGP/zt1sRzrIWm5zpeEuO1rkbPS0ELI3uehoLuuhHDCS8u8lhFN3fEN4JzPQ==
dependencies:
decode-uri-component "^0.2.0"
split-on-first "^1.0.0"