fix: update google album regex (#5089)

This commit is contained in:
hoilc 2020-07-02 12:15:31 +08:00 committed by GitHub
parent 1c6fe588d7
commit 16ff4a1c2c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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];