mirror of
https://github.com/DIYgod/RSSHub.git
synced 2025-12-08 22:19:40 +08:00
* feat: 优化B站动态转发内容中的图片和视频 * style: 修复格式错误 * fix: 修复 B站动态转发多图的图片缺失 * style: 整理代码格式 * style: 整理代码格式 * fix: 修复B站动态转发视频缺失标题 * fix: 移除了部分不必要的代码 * fix: 修复b站动态中转发直播间动态出现undefined;整理部分代码 * style: 整理代码格式 * fix: 补充b站动态中转发活动的信息 * fix: 修正代码格式 * fix: b站动态转发专题页缺少标题;整理部分代码 * fix: 修复图片错误 * fix: 修复专栏封面缺失的bug;增加B站动态格式总结 * style:修复格式问题 * fix: 修复/robots.txt路由 * fix * chore: 合并冲突 * fix * fix * feat: 优化B站动态url * fix: 改 \n 为<br> * chore: 更新 npm registry * feat: 完成 米游社路由和文档的编写 * fix: 修复 @vuepress/shared-utils 在 yarn.lock 的缺失 * chore: exact match * fix: parseDate * feat(米游社v2): 新增 米游社v2 绝区零 公告 * fix: 修复 王者荣耀 - 新闻列表 pubDate 的解析错误 * refactor: migrate to v2 * docs: fix typo
76 lines
3.1 KiB
JavaScript
76 lines
3.1 KiB
JavaScript
module.exports = {
|
|
'qq.com': {
|
|
_name: '腾讯',
|
|
egame: [
|
|
{
|
|
title: '企鹅电竞直播间',
|
|
docs: 'https://docs.rsshub.app/live.html#qi-e-dian-jing-zhi-bo-jian-kai-bo',
|
|
source: '/:id',
|
|
target: (params) => {
|
|
if (params.id.match(/^\d+$/)) {
|
|
return '/egameqq/room/:id';
|
|
}
|
|
},
|
|
},
|
|
],
|
|
'mp.weixin': [
|
|
{
|
|
title: '微信公众号栏目',
|
|
docs: 'https://docs.rsshub.app/new-media.html#gong-zhong-hao-lan-mu-fei-tui-song-li-shi-xiao-xi',
|
|
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')}`,
|
|
},
|
|
],
|
|
pvp: [
|
|
{
|
|
title: '王者荣耀 - 新闻中心',
|
|
docs: 'https://docs.rsshub.app/game.html#wang-zhe-rong-yao',
|
|
source: ['/web201706/*', '/'],
|
|
target: '/tencent/pvp/newsindex/all',
|
|
},
|
|
],
|
|
v: [
|
|
{
|
|
title: '视频 - 播放列表',
|
|
docs: 'https://docs.rsshub.app/multimedia.html#teng-xun-shi-pin',
|
|
source: '/x/cover/:id',
|
|
target: (params) => {
|
|
const id = params.id.match('(.*).html')[1];
|
|
return id ? `/tencentvideo/playlist/${id}` : '';
|
|
},
|
|
},
|
|
{
|
|
title: '视频 - 播放列表',
|
|
docs: 'https://docs.rsshub.app/multimedia.html#teng-xun-shi-pin',
|
|
source: '/x/cover/:id/:detail',
|
|
target: '/tencentvideo/playlist/:id',
|
|
},
|
|
],
|
|
'wiki.connect': [
|
|
{
|
|
title: 'QQ 互联 SDK 更新日志',
|
|
docs: 'https://docs.rsshub.app/program-update.html#qq-hu-lian-sdk',
|
|
source: '/',
|
|
target: (_params, url) => `/tencent/qq/sdk/changelog/${new URL(url).pathname === '/ios_sdk历史变更' ? 'iOS' : 'Android'}`,
|
|
},
|
|
],
|
|
},
|
|
'tencent.com': {
|
|
_name: '腾讯云',
|
|
'.': [
|
|
{
|
|
title: '云+社区专栏',
|
|
docs: 'https://docs.rsshub.app/programming.html#teng-xun-yun-yun-she-qu-zhuan-lan',
|
|
source: ['/developer/column/:id', '/developer/column/:id/:tag', '/'],
|
|
target: (params, url) => `/tencent/cloud/column/${url.match(/column\/(\d+)/)[1]}${/\/tag-\d+/.test(url) ? `/${url.match(/\/tag-(\d+)/)[1]}` : ''}`,
|
|
},
|
|
],
|
|
},
|
|
};
|