@@ -27,6 +27,9 @@ module.exports = async (ctx) => {
|
||||
title: 'Hanime',
|
||||
link: 'https://hanime.tv/',
|
||||
item: list.map((item) => {
|
||||
// 替换图片地址
|
||||
const coverreg = /(https:\/\/)(static-assets.droidbuzz.top\/images\/covers\/.*)/;
|
||||
const imagereg = /(https:\/\/)(static-assets.droidbuzz.top\/images\/)(posters)(.*)(-pv1.png)/;
|
||||
const videoUrl = 'https://hanime.tv/hentai-videos/' + item.slug;
|
||||
// 视频预览图,可通过视频页面的预览图片获取
|
||||
const videoImage = item.poster_url;
|
||||
@@ -57,11 +60,11 @@ module.exports = async (ctx) => {
|
||||
videoDescription +
|
||||
'<br>' +
|
||||
'<img src="' +
|
||||
videoCover +
|
||||
videoCover.replace(coverreg, '$1i1.wp.com/$2') +
|
||||
'">' +
|
||||
'<br>' +
|
||||
'<img src="' +
|
||||
videoImage +
|
||||
videoImage.replace(imagereg, '$1i1.wp.com/$2storyboards$4-720p-v1x.jpg') +
|
||||
'">',
|
||||
link: videoUrl,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user