diff --git a/lib/routes/google/album.js b/lib/routes/google/album.js index bfcef0673..6ff1fb258 100644 --- a/lib/routes/google/album.js +++ b/lib/routes/google/album.js @@ -9,7 +9,7 @@ module.exports = async (ctx) => { const real_url = response.request.options.url.href; - const info = JSON.parse(response.data.match(/AF_initDataCallback.*?return ([\s\S]*?)}}\)/m)[1]) || []; + const info = JSON.parse(response.data.match(/AF_initDataCallback.*?data:(\[[\s\S]{10,}?\])\n}\);/m)[1]) || []; const album_name = info[3][1]; const owner_name = info[3][5][2];