diff --git a/lib/routes/hanime/video.js b/lib/routes/hanime/video.js index 53d307d0d..67bf9c3c3 100644 --- a/lib/routes/hanime/video.js +++ b/lib/routes/hanime/video.js @@ -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 + '
' + '' + '
' + '', link: videoUrl, };