diff --git a/routes/huya/live.js b/routes/huya/live.js index b48ca69b0..a3fe0af88 100644 --- a/routes/huya/live.js +++ b/routes/huya/live.js @@ -11,7 +11,7 @@ module.exports = async (ctx) => { const $ = cheerio.load(response.data); - const timestamp = parseInt(response.data.match(/"startTime":(\d+)/)[1]); + const timestamp = parseInt(response.data.match(/"startTime":"?(\d+)/)[1]) * 1000; let item; if (response.data.match(/"isOn":(\w{4})/)[1] === 'true') {