diff --git a/lib/routes/google/album.js b/lib/routes/google/album.js index 6ff1fb258..6eb9d469a 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.*?data:(\[[\s\S]{10,}?\])\n}\);/m)[1]) || []; + const info = JSON.parse(response.data.match(/AF_initDataCallback.*?data:(\[[\s\S]*\])\s/m)[1]) || []; const album_name = info[3][1]; const owner_name = info[3][5][2];