1
0
Code Issues Pull Requests Projects Releases Wiki Activity GitHub Gitee

bugfix hifini爬取时,一个thread中包含多首音乐时,获取real链接时重复获取问题

This commit is contained in:
2022-10-29 16:40:41 +08:00
parent 8a5cd1225a
commit fae4db04a3
2 changed files with 5 additions and 7 deletions

View File

@@ -31,7 +31,7 @@ module.exports = {
getIdsToFetchRealUrl: async () => {
let sql = `
SELECT thread_id,music_url FROM hifini_thread WHERE music_url like 'get_music.php?key=%' and music_real_url=''
SELECT thread_id,music_index,music_url FROM hifini_thread WHERE music_url like 'get_music.php?key=%' and music_real_url=''
${global.args?.order ? `ORDER BY thread_id ${global.args.order}` : ""}
${global.args?.limit ? `LIMIT ${global.args.limit}` : ""}
`;