更新 netease_music 处理脚本
This commit is contained in:
		@@ -1,8 +0,0 @@
 | 
				
			|||||||
start cmd /k "node index --utils assistant"
 | 
					 | 
				
			||||||
start cmd /k "node index --utils song"
 | 
					 | 
				
			||||||
start cmd /k "node index --utils artist"
 | 
					 | 
				
			||||||
start cmd /k "node index --utils album"
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
start cmd /k "node index --utils playlist"
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
exit
 | 
					 | 
				
			||||||
							
								
								
									
										137
									
								
								netease_music/auto - 0 local.sh
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										137
									
								
								netease_music/auto - 0 local.sh
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,137 @@
 | 
				
			|||||||
 | 
					# 本地
 | 
				
			||||||
 | 
					# cd ./netease_music
 | 
				
			||||||
 | 
					cd tools/netease_music/
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					start cmd /k "node index --utils assistant"
 | 
				
			||||||
 | 
					start cmd /k "node index --utils song"
 | 
				
			||||||
 | 
					start cmd /k "node index --utils artist --limit 50000"
 | 
				
			||||||
 | 
					start cmd /k "node index --utils album --limit 50000"
 | 
				
			||||||
 | 
					start cmd /k "node index --utils lyric"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					start cmd /k "node index --utils playlist"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					exit
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# 把增量数据带上来
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# node index --utils lyric --limit 500 --order desc
 | 
				
			||||||
 | 
					# node index --utils lyric --limit 500
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# lyric_5
 | 
				
			||||||
 | 
					# 【ING】
 | 
				
			||||||
 | 
					# node index --utils lyric --min 2100000000 --limit 10000
 | 
				
			||||||
 | 
					node index --utils lyric --min 2090000000 --max 2100000000 --limit 10000
 | 
				
			||||||
 | 
					node index --utils lyric --min 2080000000 --max 2090000000 --limit 10000
 | 
				
			||||||
 | 
					node index --utils lyric --min 2070000000 --max 2080000000 --limit 10000
 | 
				
			||||||
 | 
					node index --utils lyric --min 2000000000 --max 2070000000 --limit 10000
 | 
				
			||||||
 | 
					node index --utils lyric --min 1970000000 --max 2000000000 --limit 10000
 | 
				
			||||||
 | 
					node index --utils lyric --min 1960000000 --max 1970000000 --limit 10000
 | 
				
			||||||
 | 
					node index --utils lyric --min 1950000000 --max 1960000000 --limit 10000
 | 
				
			||||||
 | 
					node index --utils lyric --min 1940000000 --max 1950000000 --limit 10000
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# lyric_4
 | 
				
			||||||
 | 
					node index --utils lyric --min 1930000000 --max 1940000000 --limit 10000
 | 
				
			||||||
 | 
					node index --utils lyric --min 1920000000 --max 1930000000 --limit 10000
 | 
				
			||||||
 | 
					node index --utils lyric --min 1910000000 --max 1920000000 --limit 10000
 | 
				
			||||||
 | 
					node index --utils lyric --min 1900000000 --max 1910000000 --limit 10000
 | 
				
			||||||
 | 
					node index --utils lyric --min 1890000000 --max 1900000000 --limit 10000
 | 
				
			||||||
 | 
					node index --utils lyric --min 1880000000 --max 1890000000 --limit 10000
 | 
				
			||||||
 | 
					node index --utils lyric --min 1870000000 --max 1880000000 --limit 10000
 | 
				
			||||||
 | 
					node index --utils lyric --min 1860000000 --max 1870000000 --limit 10000
 | 
				
			||||||
 | 
					node index --utils lyric --min 1850000000 --max 1860000000 --limit 10000
 | 
				
			||||||
 | 
					node index --utils lyric --min 1840000000 --max 1850000000 --limit 10000
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# lyric_3
 | 
				
			||||||
 | 
					node index --utils lyric --min 1830000000 --max 1840000000 --limit 10000
 | 
				
			||||||
 | 
					node index --utils lyric --min 1820000000 --max 1830000000 --limit 10000
 | 
				
			||||||
 | 
					node index --utils lyric --min 1810000000 --max 1820000000 --limit 10000
 | 
				
			||||||
 | 
					node index --utils lyric --min 1800000000 --max 1810000000 --limit 10000
 | 
				
			||||||
 | 
					node index --utils lyric --min 1500000000 --max 1800000000 --limit 10000
 | 
				
			||||||
 | 
					node index --utils lyric --min 1490000000 --max 1500000000 --limit 10000
 | 
				
			||||||
 | 
					node index --utils lyric --min 1480000000 --max 1490000000 --limit 10000
 | 
				
			||||||
 | 
					node index --utils lyric --min 1470000000 --max 1480000000 --limit 10000
 | 
				
			||||||
 | 
					node index --utils lyric --min 1460000000 --max 1470000000 --limit 10000
 | 
				
			||||||
 | 
					node index --utils lyric --min 1450000000 --max 1460000000 --limit 10000
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# lyric_2
 | 
				
			||||||
 | 
					# 【ING】
 | 
				
			||||||
 | 
					node index --utils lyric --min 1440000000 --max 1450000000 --limit 10000
 | 
				
			||||||
 | 
					node index --utils lyric --min 1430000000 --max 1440000000 --limit 10000
 | 
				
			||||||
 | 
					node index --utils lyric --min 1420000000 --max 1430000000 --limit 10000
 | 
				
			||||||
 | 
					node index --utils lyric --min 1410000000 --max 1420000000 --limit 10000
 | 
				
			||||||
 | 
					node index --utils lyric --min 1400000000 --max 1410000000 --limit 10000
 | 
				
			||||||
 | 
					node index --utils lyric --min 1390000000 --max 1400000000 --limit 10000
 | 
				
			||||||
 | 
					node index --utils lyric --min 1380000000 --max 1390000000 --limit 10000
 | 
				
			||||||
 | 
					node index --utils lyric --min 1370000000 --max 1380000000 --limit 10000
 | 
				
			||||||
 | 
					node index --utils lyric --min 1360000000 --max 1370000000 --limit 10000
 | 
				
			||||||
 | 
					node index --utils lyric --min 1350000000 --max 1360000000 --limit 10000
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# lyric_1
 | 
				
			||||||
 | 
					# 【ING】
 | 
				
			||||||
 | 
					node index --utils lyric --min 1340000000 --max 1350000000 --limit 10000
 | 
				
			||||||
 | 
					node index --utils lyric --min 1330000000 --max 1340000000 --limit 10000
 | 
				
			||||||
 | 
					node index --utils lyric --min 1320000000 --max 1330000000 --limit 10000
 | 
				
			||||||
 | 
					node index --utils lyric --min 1310000000 --max 1320000000 --limit 10000
 | 
				
			||||||
 | 
					node index --utils lyric --min 1300000000 --max 1310000000 --limit 10000
 | 
				
			||||||
 | 
					node index --utils lyric --min 570000000 --max 1300000000 --limit 10000
 | 
				
			||||||
 | 
					node index --utils lyric --min 560000000 --max 570000000 --limit 10000
 | 
				
			||||||
 | 
					node index --utils lyric --min 550000000 --max 560000000 --limit 10000
 | 
				
			||||||
 | 
					node index --utils lyric --min 540000000 --max 550000000 --limit 10000
 | 
				
			||||||
 | 
					node index --utils lyric --min 530000000 --max 540000000 --limit 10000
 | 
				
			||||||
 | 
					node index --utils lyric --max 530000000 --limit 10000
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# ###################################################################################
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# comment_1
 | 
				
			||||||
 | 
					# 【ING】
 | 
				
			||||||
 | 
					# node index --utils comment --min           0 --max      100000 --limit 10000
 | 
				
			||||||
 | 
					node index --utils comment --min      100000 --max      200000 --limit 10000
 | 
				
			||||||
 | 
					node index --utils comment --min      200000 --max      400000 --limit 10000
 | 
				
			||||||
 | 
					node index --utils comment --min      400000 --max      600000 --limit 10000
 | 
				
			||||||
 | 
					node index --utils comment --min      600000 --max      800000 --limit 10000
 | 
				
			||||||
 | 
					# node index --utils comment --min      900000 --max     1000000 --limit 10000
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# comment_2
 | 
				
			||||||
 | 
					# 【ING】
 | 
				
			||||||
 | 
					node index --utils comment --min     1000000 --max     1500000 --limit 10000
 | 
				
			||||||
 | 
					node index --utils comment --min     1500000 --max     2000000 --limit 10000
 | 
				
			||||||
 | 
					node index --utils comment --min     2000000 --max     2500000 --limit 10000
 | 
				
			||||||
 | 
					node index --utils comment --min     2500000 --max     3000000 --limit 10000
 | 
				
			||||||
 | 
					node index --utils comment --min     3000000 --max     3500000 --limit 10000
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# comment_3
 | 
				
			||||||
 | 
					# 【阿里云ing】
 | 
				
			||||||
 | 
					node index --utils comment --min     3500000 --max     4000000 --limit 10000 &
 | 
				
			||||||
 | 
					node index --utils comment --min     4000000 --max     4500000 --limit 10000 &
 | 
				
			||||||
 | 
					node index --utils comment --min     4500000 --max     5000000 --limit 10000 &
 | 
				
			||||||
 | 
					node index --utils comment --min     5000000 --max     5500000 --limit 10000 &
 | 
				
			||||||
 | 
					node index --utils comment --min     5500000 --max     6000000 --limit 10000 &
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# comment_4
 | 
				
			||||||
 | 
					# 【阿里云ing】
 | 
				
			||||||
 | 
					node index --utils comment --min     6000000 --max     6500000 --limit 10000 &
 | 
				
			||||||
 | 
					node index --utils comment --min     6500000 --max     7000000 --limit 10000 &
 | 
				
			||||||
 | 
					node index --utils comment --min     7000000 --max     7500000 --limit 10000 &
 | 
				
			||||||
 | 
					node index --utils comment --min     7500000 --max     8000000 --limit 10000 &
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# comment_5
 | 
				
			||||||
 | 
					node index --utils comment --min     8000000 --max     8500000 --limit 10000
 | 
				
			||||||
 | 
					node index --utils comment --min     8500000 --max     9000000 --limit 10000
 | 
				
			||||||
 | 
					node index --utils comment --min     9000000 --max     9500000 --limit 10000
 | 
				
			||||||
 | 
					node index --utils comment --min     9500000 --max    10000000 --limit 10000
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# comment_n
 | 
				
			||||||
 | 
					node index --utils comment --min    10000000 --max    20000000 --limit 10000
 | 
				
			||||||
 | 
					node index --utils comment --min    20000000 --max    30000000 --limit 10000
 | 
				
			||||||
 | 
					node index --utils comment --min    30000000 --max    40000000 --limit 10000
 | 
				
			||||||
 | 
					# node index --utils comment --min    40000000 --max    50000000 --limit 10000
 | 
				
			||||||
 | 
					node index --utils comment --min    50000000 --max   500000000 --limit 10000
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# comment_2n
 | 
				
			||||||
 | 
					node index --utils comment --min  1000000000 --max  1500000000 --limit 10000
 | 
				
			||||||
 | 
					node index --utils comment --min  1500000000 --max  2000000000 --limit 10000
 | 
				
			||||||
 | 
					node index --utils comment --min  2000000000 --max  2500000000 --limit 10000
 | 
				
			||||||
 | 
					node index --utils comment --min  2500000000                   --limit 10000
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# # 待整理 2000000 - 1999000000
 | 
				
			||||||
 | 
					# start cmd /k "node index --utils comment --limit 10000 --min  --max " #
 | 
				
			||||||
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							@@ -1,43 +0,0 @@
 | 
				
			|||||||
 | 
					 | 
				
			||||||
cd tools/netease_music/
 | 
					 | 
				
			||||||
# node index --utils lyric --min 1940000000 --limit 10000 &
 | 
					 | 
				
			||||||
# node index --utils lyric --min 1930000000 --max 1940000000 --limit 10000 &
 | 
					 | 
				
			||||||
# node index --utils lyric --min 1920000000 --max 1930000000 --limit 10000 &
 | 
					 | 
				
			||||||
# node index --utils lyric --min 1910000000 --max 1920000000 --limit 10000 &
 | 
					 | 
				
			||||||
# node index --utils lyric --min 1900000000 --max 1910000000 --limit 10000 &
 | 
					 | 
				
			||||||
# node index --utils lyric --min 1890000000 --max 1900000000 --limit 10000 &
 | 
					 | 
				
			||||||
# node index --utils lyric --min 1880000000 --max 1890000000 --limit 10000 &
 | 
					 | 
				
			||||||
# node index --utils lyric --min 1870000000 --max 1880000000 --limit 10000 &
 | 
					 | 
				
			||||||
# node index --utils lyric --min 1860000000 --max 1870000000 --limit 10000 &
 | 
					 | 
				
			||||||
# node index --utils lyric --min 1850000000 --max 1860000000 --limit 10000 &
 | 
					 | 
				
			||||||
# node index --utils lyric --min 1840000000 --max 1850000000 --limit 10000 &
 | 
					 | 
				
			||||||
# node index --utils lyric --min 1830000000 --max 1840000000 --limit 10000 &
 | 
					 | 
				
			||||||
# node index --utils lyric --min 1820000000 --max 1830000000 --limit 10000 &
 | 
					 | 
				
			||||||
# node index --utils lyric --min 1810000000 --max 1820000000 --limit 10000 &
 | 
					 | 
				
			||||||
# node index --utils lyric --min 1800000000 --max 1810000000 --limit 10000 &
 | 
					 | 
				
			||||||
# node index --utils lyric --min 1500000000 --max 1800000000 --limit 10000 &
 | 
					 | 
				
			||||||
# node index --utils lyric --min 1490000000 --max 1500000000 --limit 10000 &
 | 
					 | 
				
			||||||
# node index --utils lyric --min 1480000000 --max 1490000000 --limit 10000 &
 | 
					 | 
				
			||||||
# node index --utils lyric --min 1470000000 --max 1480000000 --limit 10000 &
 | 
					 | 
				
			||||||
# node index --utils lyric --min 1460000000 --max 1470000000 --limit 10000 &
 | 
					 | 
				
			||||||
# node index --utils lyric --min 1450000000 --max 1460000000 --limit 10000 &
 | 
					 | 
				
			||||||
# node index --utils lyric --min 1440000000 --max 1450000000 --limit 10000 &
 | 
					 | 
				
			||||||
# node index --utils lyric --min 1430000000 --max 1440000000 --limit 10000 &
 | 
					 | 
				
			||||||
# node index --utils lyric --min 1420000000 --max 1430000000 --limit 10000 &
 | 
					 | 
				
			||||||
# node index --utils lyric --min 1410000000 --max 1420000000 --limit 10000 &
 | 
					 | 
				
			||||||
# node index --utils lyric --min 1400000000 --max 1410000000 --limit 10000 &
 | 
					 | 
				
			||||||
# node index --utils lyric --min 1390000000 --max 1400000000 --limit 10000 &
 | 
					 | 
				
			||||||
# node index --utils lyric --min 1380000000 --max 1390000000 --limit 10000 &
 | 
					 | 
				
			||||||
# node index --utils lyric --min 1370000000 --max 1380000000 --limit 10000 &
 | 
					 | 
				
			||||||
# node index --utils lyric --min 1360000000 --max 1370000000 --limit 10000 &
 | 
					 | 
				
			||||||
# node index --utils lyric --min 1350000000 --max 1360000000 --limit 10000 &
 | 
					 | 
				
			||||||
# node index --utils lyric --min 1340000000 --max 1350000000 --limit 10000 &
 | 
					 | 
				
			||||||
# node index --utils lyric --min 1330000000 --max 1340000000 --limit 10000 &
 | 
					 | 
				
			||||||
# node index --utils lyric --min 1320000000 --max 1330000000 --limit 10000 &
 | 
					 | 
				
			||||||
# node index --utils lyric --min 1310000000 --max 1320000000 --limit 10000 &
 | 
					 | 
				
			||||||
# node index --utils lyric --min 1300000000 --max 1310000000 --limit 10000 &
 | 
					 | 
				
			||||||
# node index --utils lyric --min 570000000 --max 1300000000 --limit 10000 &
 | 
					 | 
				
			||||||
# node index --utils lyric --min 560000000 --max 570000000 --limit 10000 &
 | 
					 | 
				
			||||||
# node index --utils lyric --min 550000000 --max 560000000 --limit 10000 &
 | 
					 | 
				
			||||||
# node index --utils lyric --min 540000000 --max 550000000 --limit 10000 &
 | 
					 | 
				
			||||||
# node index --utils lyric --min 530000000 --max 540000000 --limit 10000 &
 | 
					 | 
				
			||||||
@@ -37,7 +37,7 @@ async function fetchAll({ args = {} }) {
 | 
				
			|||||||
    }
 | 
					    }
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
// 获取歌词详情
 | 
					// 获取评论详情
 | 
				
			||||||
async function fetch({ songId }) {
 | 
					async function fetch({ songId }) {
 | 
				
			||||||
    // 首先查询有无正在爬取中的记录
 | 
					    // 首先查询有无正在爬取中的记录
 | 
				
			||||||
    var commentProgress = await dbUtils.query(`
 | 
					    var commentProgress = await dbUtils.query(`
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user