netease_music 修改表结构;代码调整
This commit is contained in:
		
							
								
								
									
										13
									
								
								netease_music/auto - 0 aliyun shell.sh
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										13
									
								
								netease_music/auto - 0 aliyun shell.sh
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,13 @@
 | 
				
			|||||||
 | 
					# https://shell.aliyun.com/
 | 
				
			||||||
 | 
					git clone https://git.only4.work/coder-xiaomo/tools
 | 
				
			||||||
 | 
					cd tools
 | 
				
			||||||
 | 
					echo '{"mysql":{"charset":"utf8mb4","host":"124.220.172.110","user":"root","password":"123456","port":5204,"database":"","connectTimeout": 3600000,"acquireTimeout": 3600000,"timeout": 3600000}}' > config.json
 | 
				
			||||||
 | 
					npm config set registry https://registry.npmmirror.com
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					cat config.json
 | 
				
			||||||
 | 
					npm config get registry
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					npm i
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# cd netease_music
 | 
				
			||||||
 | 
					cd ~/tools/netease_music/
 | 
				
			||||||
							
								
								
									
										8
									
								
								netease_music/auto - 0 local.bat.bak
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										8
									
								
								netease_music/auto - 0 local.bat.bak
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,8 @@
 | 
				
			|||||||
 | 
					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
 | 
				
			||||||
							
								
								
									
										134
									
								
								netease_music/auto - comment.sh
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										134
									
								
								netease_music/auto - comment.sh
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,134 @@
 | 
				
			|||||||
 | 
					# 已完成
 | 
				
			||||||
 | 
					start cmd /k "node index --utils comment --min 0 --max 100000 --limit 10000"
 | 
				
			||||||
 | 
					start cmd /k "node index --utils comment --min 7000000 --max 10000000 --limit 10000"
 | 
				
			||||||
 | 
					start cmd /k "node index --utils comment --min 40000000 --max 400000000 --limit 10000"
 | 
				
			||||||
 | 
					start cmd /k "node index --utils comment --min 1990000000 --limit 10000"
 | 
				
			||||||
 | 
					start cmd /k "node index --utils comment --min 450000000 --max 460000000 --limit 10000"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# 本机
 | 
				
			||||||
 | 
					# 本地正在跑
 | 
				
			||||||
 | 
					start cmd /k "node index --utils comment --min 100000 --max 200000 --limit 10000"
 | 
				
			||||||
 | 
					start cmd /k "node index --utils comment --min 200000 --max 210000 --limit 10000"
 | 
				
			||||||
 | 
					start cmd /k "node index --utils comment --min 210000 --max 220000 --limit 10000"
 | 
				
			||||||
 | 
					start cmd /k "node index --utils comment --min 220000 --max 1000000 --limit 10000"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					start cmd /k "node index --utils comment --min 1000000 --max 2000000 --limit 10000"
 | 
				
			||||||
 | 
					start cmd /k "node index --utils comment --min 2000000 --max 3000000 --limit 10000"
 | 
				
			||||||
 | 
					start cmd /k "node index --utils comment --min 3000000 --max 4000000 --limit 10000"
 | 
				
			||||||
 | 
					start cmd /k "node index --utils comment --min 4000000 --max 5000000 --limit 10000"
 | 
				
			||||||
 | 
					start cmd /k "node index --utils comment --min 5000000 --max 6000000 --limit 10000"
 | 
				
			||||||
 | 
					start cmd /k "node index --utils comment --min 4000000 --max 7000000 --limit 10000"
 | 
				
			||||||
 | 
					start cmd /k "node index --utils comment --min 10000000 --max 20000000 --limit 10000"
 | 
				
			||||||
 | 
					start cmd /k "node index --utils comment --min 470000000 --max 480000000 --limit 10000"
 | 
				
			||||||
 | 
					start cmd /k "node index --utils comment --min 1940000000 --max 1950000000 --limit 10000"
 | 
				
			||||||
 | 
					start cmd /k "node index --utils comment --min 1930000000 --max 1940000000 --limit 10000"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# Linux server
 | 
				
			||||||
 | 
					cd /www/wwwserv/tools/netease_music/
 | 
				
			||||||
 | 
					cd ~/tools/netease_music/
 | 
				
			||||||
 | 
					# 服务器正在跑
 | 
				
			||||||
 | 
					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 1370000000 --max 1380000000 --limit 10000 &
 | 
				
			||||||
 | 
					node index --utils comment --min 440000000 --max 450000000 --limit 10000 &
 | 
				
			||||||
 | 
					node index --utils comment --min 1950000000 --limit 10000 &
 | 
				
			||||||
 | 
					node index --utils comment --min 500000000 --max 510000000 --limit 10000 &
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# Windows server
 | 
				
			||||||
 | 
					start cmd /k "node index --utils comment --min 400000000 --max 410000000 --limit 10000"
 | 
				
			||||||
 | 
					start cmd /k "node index --utils comment --min 410000000 --max 420000000 --limit 10000"
 | 
				
			||||||
 | 
					start cmd /k "node index --utils comment --min 420000000 --max 430000000 --limit 10000"
 | 
				
			||||||
 | 
					start cmd /k "node index --utils comment --min 430000000 --max 440000000 --limit 10000"
 | 
				
			||||||
 | 
					start cmd /k "node index --utils comment --min 460000000 --max 470000000 --limit 10000"
 | 
				
			||||||
 | 
					start cmd /k "node index --utils comment --min 510000000 --max 520000000 --limit 10000"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# aliyun shell
 | 
				
			||||||
 | 
					# start cmd /k "node index --utils comment --min 490000000 --max 500000000 --limit 10000"
 | 
				
			||||||
 | 
					# start cmd /k "node index --utils comment --min 520000000 --max 530000000 --limit 10000"
 | 
				
			||||||
 | 
					# start cmd /k "node index --utils comment --min 530000000 --max 540000000 --limit 10000"
 | 
				
			||||||
 | 
					# start cmd /k "node index --utils comment --min 650000000 --max 1290000000 --limit 10000"
 | 
				
			||||||
 | 
					# start cmd /k "node index --utils comment --min 1310000000 --max 1320000000 --limit 10000"
 | 
				
			||||||
 | 
					# start cmd /k "node index --utils comment --min 1500000000 --max 1510000000 --limit 10000"
 | 
				
			||||||
 | 
					# start cmd /k "node index --utils comment --min 1800000000 --max 1810000000 --limit 10000"
 | 
				
			||||||
 | 
					# start cmd /k "node index --utils comment --min 1810000000 --max 1820000000 --limit 10000"
 | 
				
			||||||
 | 
					cd tools/netease_music/
 | 
				
			||||||
 | 
					node index --utils comment --min 492000000 --max 493000000 --limit 10000 &
 | 
				
			||||||
 | 
					node index --utils comment --min 493000000 --max 494000000 --limit 10000 &
 | 
				
			||||||
 | 
					node index --utils comment --min 494000000 --max 495000000 --limit 10000 &
 | 
				
			||||||
 | 
					node index --utils comment --min 495000000 --max 496000000 --limit 10000 &
 | 
				
			||||||
 | 
					node index --utils comment --min 496000000 --max 497000000 --limit 10000 &
 | 
				
			||||||
 | 
					node index --utils comment --min 497000000 --max 498000000 --limit 10000 &
 | 
				
			||||||
 | 
					node index --utils comment --min 498000000 --max 499000000 --limit 10000 &
 | 
				
			||||||
 | 
					node index --utils comment --min 499000000 --max 500000000 --limit 10000 &
 | 
				
			||||||
 | 
					node index --utils comment --min 520000000 --max 530000000 --limit 10000 &
 | 
				
			||||||
 | 
					node index --utils comment --min 530000000 --max 540000000 --limit 10000 &
 | 
				
			||||||
 | 
					# node index --utils comment --min 490000000 --max 500000000 --limit 10000 &
 | 
				
			||||||
 | 
					# node index --utils comment --min 520000000 --max 530000000 --limit 10000 &
 | 
				
			||||||
 | 
					# node index --utils comment --min 530000000 --max 540000000 --limit 10000 &
 | 
				
			||||||
 | 
					node index --utils comment --min 650000000 --max 1290000000 --limit 10000 &
 | 
				
			||||||
 | 
					node index --utils comment --min 1310000000 --max 1320000000 --limit 10000 &
 | 
				
			||||||
 | 
					node index --utils comment --min 1500000000 --max 1510000000 --limit 10000 &
 | 
				
			||||||
 | 
					node index --utils comment --min 1800000000 --max 1810000000 --limit 10000 &
 | 
				
			||||||
 | 
					node index --utils comment --min 1810000000 --max 1820000000 --limit 10000 &
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# aliyun shell 小号
 | 
				
			||||||
 | 
					# start cmd /k "node index --utils comment --min 1320000000 --max 1330000000 --limit 10000"
 | 
				
			||||||
 | 
					# start cmd /k "node index --utils comment --min 1330000000 --max 1340000000 --limit 10000"
 | 
				
			||||||
 | 
					# start cmd /k "node index --utils comment --min 1340000000 --max 1350000000 --limit 10000"
 | 
				
			||||||
 | 
					# start cmd /k "node index --utils comment --min 1350000000 --max 1360000000 --limit 10000"
 | 
				
			||||||
 | 
					# start cmd /k "node index --utils comment --min 1360000000 --max 1370000000 --limit 10000"
 | 
				
			||||||
 | 
					# start cmd /k "node index --utils comment --min 1490000000 --max 1500000000 --limit 10000"
 | 
				
			||||||
 | 
					# start cmd /k "node index --utils comment --min 1820000000 --max 1830000000 --limit 10000"
 | 
				
			||||||
 | 
					# start cmd /k "node index --utils comment --min 1830000000 --max 1840000000 --limit 10000"
 | 
				
			||||||
 | 
					cd tools/netease_music/
 | 
				
			||||||
 | 
					node index --utils comment --min 1320000000 --max 1330000000 --limit 10000 &
 | 
				
			||||||
 | 
					node index --utils comment --min 1330000000 --max 1340000000 --limit 10000 &
 | 
				
			||||||
 | 
					node index --utils comment --min 1340000000 --max 1350000000 --limit 10000 &
 | 
				
			||||||
 | 
					node index --utils comment --min 1350000000 --max 1360000000 --limit 10000 &
 | 
				
			||||||
 | 
					node index --utils comment --min 1360000000 --max 1370000000 --limit 10000 &
 | 
				
			||||||
 | 
					node index --utils comment --min 1490000000 --max 1500000000 --limit 10000 &
 | 
				
			||||||
 | 
					node index --utils comment --min 1820000000 --max 1830000000 --limit 10000 &
 | 
				
			||||||
 | 
					node index --utils comment --min 1830000000 --max 1840000000 --limit 10000 &
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# 手机
 | 
				
			||||||
 | 
					# start cmd /k "node index --utils comment --min 480000000 --max 490000000 --limit 10000"
 | 
				
			||||||
 | 
					# start cmd /k "node index --utils comment --min 540000000 --max 550000000 --limit 10000"
 | 
				
			||||||
 | 
					# start cmd /k "node index --utils comment --min 550000000 --max 560000000 --limit 10000"
 | 
				
			||||||
 | 
					# start cmd /k "node index --utils comment --min 560000000 --max 570000000 --limit 10000"
 | 
				
			||||||
 | 
					# start cmd /k "node index --utils comment --min 570000000 --max 580000000 --limit 10000"
 | 
				
			||||||
 | 
					# start cmd /k "node index --utils comment --min 1290000000 --max 1300000000 --limit 10000"
 | 
				
			||||||
 | 
					# start cmd /k "node index --utils comment --min 1300000000 --max 1310000000 --limit 10000"
 | 
				
			||||||
 | 
					cd tools/netease_music/
 | 
				
			||||||
 | 
					node index --utils comment --min 480000000 --max 490000000 --limit 10000 &
 | 
				
			||||||
 | 
					node index --utils comment --min 540000000 --max 550000000 --limit 10000 &
 | 
				
			||||||
 | 
					node index --utils comment --min 550000000 --max 560000000 --limit 10000 &
 | 
				
			||||||
 | 
					node index --utils comment --min 560000000 --max 570000000 --limit 10000 &
 | 
				
			||||||
 | 
					node index --utils comment --min 570000000 --max 580000000 --limit 10000 &
 | 
				
			||||||
 | 
					node index --utils comment --min 1290000000 --max 1300000000 --limit 10000 &
 | 
				
			||||||
 | 
					node index --utils comment --min 1300000000 --max 1310000000 --limit 10000 &
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# 新 Windows Server
 | 
				
			||||||
 | 
					start cmd /k "node index --utils comment --min 1380000000 --max 1390000000 --limit 10000"
 | 
				
			||||||
 | 
					start cmd /k "node index --utils comment --min 1390000000 --max 1400000000 --limit 10000"
 | 
				
			||||||
 | 
					start cmd /k "node index --utils comment --min 1400000000 --max 1410000000 --limit 10000"
 | 
				
			||||||
 | 
					start cmd /k "node index --utils comment --min 1410000000 --max 1420000000 --limit 10000"
 | 
				
			||||||
 | 
					start cmd /k "node index --utils comment --min 1420000000 --max 1430000000 --limit 10000"
 | 
				
			||||||
 | 
					start cmd /k "node index --utils comment --min 1430000000 --max 1440000000 --limit 10000"
 | 
				
			||||||
 | 
					start cmd /k "node index --utils comment --min 1440000000 --max 1450000000 --limit 10000"
 | 
				
			||||||
 | 
					start cmd /k "node index --utils comment --min 1450000000 --max 1460000000 --limit 10000"
 | 
				
			||||||
 | 
					start cmd /k "node index --utils comment --min 1460000000 --max 1470000000 --limit 10000"
 | 
				
			||||||
 | 
					start cmd /k "node index --utils comment --min 1470000000 --max 1480000000 --limit 10000"
 | 
				
			||||||
 | 
					start cmd /k "node index --utils comment --min 1480000000 --max 1490000000 --limit 10000"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					start cmd /k "node index --utils comment --min 1840000000 --max 1850000000 --limit 10000"
 | 
				
			||||||
 | 
					start cmd /k "node index --utils comment --min 1850000000 --max 1860000000 --limit 10000"
 | 
				
			||||||
 | 
					start cmd /k "node index --utils comment --min 1860000000 --max 1870000000 --limit 10000"
 | 
				
			||||||
 | 
					start cmd /k "node index --utils comment --min 1870000000 --max 1880000000 --limit 10000"
 | 
				
			||||||
 | 
					start cmd /k "node index --utils comment --min 1880000000 --max 1890000000 --limit 10000"
 | 
				
			||||||
 | 
					start cmd /k "node index --utils comment --min 1890000000 --max 1900000000 --limit 10000"
 | 
				
			||||||
 | 
					start cmd /k "node index --utils comment --min 1900000000 --max 1910000000 --limit 10000"
 | 
				
			||||||
 | 
					start cmd /k "node index --utils comment --min 1910000000 --max 1920000000 --limit 10000"
 | 
				
			||||||
 | 
					start cmd /k "node index --utils comment --min 1920000000 --max 1930000000 --limit 10000"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					exit
 | 
				
			||||||
							
								
								
									
										225
									
								
								netease_music/auto - lyric.sh
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										225
									
								
								netease_music/auto - lyric.sh
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,225 @@
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
 | 
					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 1930000000 --max 1937000000 --limit 10000 --order desc &
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					node index --utils lyric --min 1920000000 --max 1930000000 --limit 10000 &
 | 
				
			||||||
 | 
					# node index --utils lyric --min 1920000000 --max 1925000000 --limit 10000 --order desc &
 | 
				
			||||||
 | 
					# node index --utils lyric --min 1925000000 --max 1927000000 --limit 10000 --order desc &
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					node index --utils lyric --min 1910000000 --max 1920000000 --limit 10000 &
 | 
				
			||||||
 | 
					# node index --utils lyric --min 1910000000 --max 1915000000 --limit 10000 --order desc &
 | 
				
			||||||
 | 
					# node index --utils lyric --min 1915000000 --max 1917000000 --limit 10000 --order desc &
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					node index --utils lyric --min 1900000000 --max 1910000000 --limit 10000 &
 | 
				
			||||||
 | 
					# node index --utils lyric --min 1900000000 --max 1905000000 --limit 10000 --order desc &
 | 
				
			||||||
 | 
					# node index --utils lyric --min 1905000000 --max 1907000000 --limit 10000 --order desc &
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					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 1870000000 --max 1875000000 --limit 10000 --order desc &
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					node index --utils lyric --min 1860000000 --max 1870000000 --limit 10000 &
 | 
				
			||||||
 | 
					# node index --utils lyric --min 1860000000 --max 1865000000 --limit 10000 --order desc &
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# 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 1830000000 --max 1837000000 --limit 10000 --order desc &
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					node index --utils lyric --min 1820000000 --max 1830000000 --limit 10000 &
 | 
				
			||||||
 | 
					# node index --utils lyric --min 1820000000 --max 1827000000 --limit 10000 --order desc &
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					node index --utils lyric --min 1810000000 --max 1820000000 --limit 10000 &
 | 
				
			||||||
 | 
					# node index --utils lyric --min 1810000000 --max 1817000000 --limit 10000 --order desc &
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					node index --utils lyric --min 1800000000 --max 1810000000 --limit 10000 &
 | 
				
			||||||
 | 
					# node index --utils lyric --min 1800000000 --max 1805000000 --limit 10000 --order desc &
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# 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 1450000000 --max 1455000000 --limit 10000 --order desc &
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					node index --utils lyric --min 1440000000 --max 1450000000 --limit 10000 &
 | 
				
			||||||
 | 
					# node index --utils lyric --min 1440000000 --max 1445000000 --limit 10000 --order desc &
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					node index --utils lyric --min 1430000000 --max 1440000000 --limit 10000 &
 | 
				
			||||||
 | 
					# node index --utils lyric --min 1430000000 --max 1435000000 --limit 10000 --order desc &
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					node index --utils lyric --min 1420000000 --max 1430000000 --limit 10000 &
 | 
				
			||||||
 | 
					# node index --utils lyric --min 1420000000 --max 1427000000 --limit 10000 --order desc &
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					node index --utils lyric --min 1410000000 --max 1420000000 --limit 10000 &
 | 
				
			||||||
 | 
					# node index --utils lyric --min 1410000000 --max 1417000000 --limit 10000 --order desc &
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					node index --utils lyric --min 1400000000 --max 1410000000 --limit 10000 &
 | 
				
			||||||
 | 
					# node index --utils lyric --min 1400000000 --max 1405000000 --limit 10000 --order desc &
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					node index --utils lyric --min 1390000000 --max 1400000000 --limit 10000 &
 | 
				
			||||||
 | 
					# node index --utils lyric --min 1390000000 --max 1395000000 --limit 10000 --order desc &
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# 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 1370000000 --max 1377000000 --limit 10000 --order desc &
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					node index --utils lyric --min 1360000000 --max 1370000000 --limit 10000 &
 | 
				
			||||||
 | 
					# node index --utils lyric --min 1360000000 --max 1367000000 --limit 10000 --order desc &
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					node index --utils lyric --min 1350000000 --max 1360000000 --limit 10000 &
 | 
				
			||||||
 | 
					# node index --utils lyric --min 1350000000 --max 1357000000 --limit 10000 --order desc &
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					node index --utils lyric --min 1340000000 --max 1350000000 --limit 10000 &
 | 
				
			||||||
 | 
					# node index --utils lyric --min 1340000000 --max 1347000000 --limit 10000 --order desc &
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					node index --utils lyric --min 1330000000 --max 1340000000 --limit 10000 &
 | 
				
			||||||
 | 
					# node index --utils lyric --min 1330000000 --max 1337000000 --limit 10000 --order desc &
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					node index --utils lyric --min 1320000000 --max 1330000000 --limit 10000 &
 | 
				
			||||||
 | 
					# node index --utils lyric --min 1320000000 --max 1325000000 --limit 10000 --order desc &
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					node index --utils lyric --min 1310000000 --max 1320000000 --limit 10000 &
 | 
				
			||||||
 | 
					# node index --utils lyric --min 1310000000 --max 1317000000 --limit 10000 --order desc &
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					node index --utils lyric --min 1300000000 --max 1310000000 --limit 10000 &
 | 
				
			||||||
 | 
					# node index --utils lyric --min 1300000000 --max 1305000000 --limit 10000 --order desc &
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# 本地正在跑
 | 
				
			||||||
 | 
					# start cmd /k "node index --utils lyric --min 570000000 --max 1300000000 --limit 10000"
 | 
				
			||||||
 | 
					start cmd /k "node index --utils lyric --min 560000000 --max 570000000 --limit 10000"
 | 
				
			||||||
 | 
					start cmd /k "node index --utils lyric --min 550000000 --max 560000000 --limit 10000"
 | 
				
			||||||
 | 
					start cmd /k "node index --utils lyric --min 540000000 --max 550000000 --limit 10000"
 | 
				
			||||||
 | 
					# start cmd /k "node index --utils lyric --min 530000000 --max 540000000 --limit 10000"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# 本地正在跑
 | 
				
			||||||
 | 
					start cmd /k "node index --utils lyric --min 560000000 --max 570000000 --limit 10000 --order desc"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# 服务器正在跑
 | 
				
			||||||
 | 
					node index --utils lyric --min 1937000000 --max 1940000000 --limit 10000 --order desc &
 | 
				
			||||||
 | 
					node index --utils lyric --min 1927000000 --max 1930000000 --limit 10000 --order desc &
 | 
				
			||||||
 | 
					node index --utils lyric --min 1917000000 --max 1920000000 --limit 10000 --order desc &
 | 
				
			||||||
 | 
					node index --utils lyric --min 1907000000 --max 1910000000 --limit 10000 --order desc &
 | 
				
			||||||
 | 
					node index --utils lyric --min 1897000000 --max 1900000000 --limit 10000 --order desc &
 | 
				
			||||||
 | 
					node index --utils lyric --min 1887000000 --max 1890000000 --limit 10000 --order desc &
 | 
				
			||||||
 | 
					node index --utils lyric --min 1877000000 --max 1880000000 --limit 10000 --order desc &
 | 
				
			||||||
 | 
					node index --utils lyric --min 1867000000 --max 1870000000 --limit 10000 --order desc &
 | 
				
			||||||
 | 
					node index --utils lyric --min 1837000000 --max 1840000000 --limit 10000 --order desc &
 | 
				
			||||||
 | 
					node index --utils lyric --min 1827000000 --max 1830000000 --limit 10000 --order desc &
 | 
				
			||||||
 | 
					node index --utils lyric --min 1817000000 --max 1820000000 --limit 10000 --order desc &
 | 
				
			||||||
 | 
					node index --utils lyric --min 1807000000 --max 1810000000 --limit 10000 --order desc &
 | 
				
			||||||
 | 
					node index --utils lyric --min 1497000000 --max 1500000000 --limit 10000 --order desc &
 | 
				
			||||||
 | 
					node index --utils lyric --min 1487000000 --max 1490000000 --limit 10000 --order desc &
 | 
				
			||||||
 | 
					node index --utils lyric --min 1477000000 --max 1480000000 --limit 10000 --order desc &
 | 
				
			||||||
 | 
					node index --utils lyric --min 1467000000 --max 1470000000 --limit 10000 --order desc &
 | 
				
			||||||
 | 
					node index --utils lyric --min 1457000000 --max 1460000000 --limit 10000 --order desc &
 | 
				
			||||||
 | 
					node index --utils lyric --min 1447000000 --max 1450000000 --limit 10000 --order desc &
 | 
				
			||||||
 | 
					node index --utils lyric --min 1437000000 --max 1440000000 --limit 10000 --order desc &
 | 
				
			||||||
 | 
					node index --utils lyric --min 1427000000 --max 1430000000 --limit 10000 --order desc &
 | 
				
			||||||
 | 
					node index --utils lyric --min 1417000000 --max 1420000000 --limit 10000 --order desc &
 | 
				
			||||||
 | 
					node index --utils lyric --min 1407000000 --max 1410000000 --limit 10000 --order desc &
 | 
				
			||||||
 | 
					node index --utils lyric --min 1397000000 --max 1400000000 --limit 10000 --order desc &
 | 
				
			||||||
 | 
					node index --utils lyric --min 1377000000 --max 1380000000 --limit 10000 --order desc &
 | 
				
			||||||
 | 
					node index --utils lyric --min 1367000000 --max 1370000000 --limit 10000 --order desc &
 | 
				
			||||||
 | 
					node index --utils lyric --min 1357000000 --max 1360000000 --limit 10000 --order desc &
 | 
				
			||||||
 | 
					node index --utils lyric --min 1347000000 --max 1350000000 --limit 10000 --order desc &
 | 
				
			||||||
 | 
					node index --utils lyric --min 1337000000 --max 1340000000 --limit 10000 --order desc &
 | 
				
			||||||
 | 
					node index --utils lyric --min 1327000000 --max 1330000000 --limit 10000 --order desc &
 | 
				
			||||||
 | 
					node index --utils lyric --min 1317000000 --max 1320000000 --limit 10000 --order desc &
 | 
				
			||||||
 | 
					node index --utils lyric --min 1307000000 --max 1310000000 --limit 10000 --order desc &
 | 
				
			||||||
 | 
					# node index --utils lyric --min 1937000000 --max 1940000000 --limit 10000 --order asc &
 | 
				
			||||||
 | 
					# node index --utils lyric --min 1927000000 --max 1930000000 --limit 10000 --order asc &
 | 
				
			||||||
 | 
					# node index --utils lyric --min 1917000000 --max 1920000000 --limit 10000 --order asc &
 | 
				
			||||||
 | 
					# node index --utils lyric --min 1907000000 --max 1910000000 --limit 10000 --order asc &
 | 
				
			||||||
 | 
					# node index --utils lyric --min 1897000000 --max 1900000000 --limit 10000 --order asc &
 | 
				
			||||||
 | 
					# node index --utils lyric --min 1887000000 --max 1890000000 --limit 10000 --order asc &
 | 
				
			||||||
 | 
					# node index --utils lyric --min 1877000000 --max 1880000000 --limit 10000 --order asc &
 | 
				
			||||||
 | 
					# node index --utils lyric --min 1867000000 --max 1870000000 --limit 10000 --order asc &
 | 
				
			||||||
 | 
					# node index --utils lyric --min 1837000000 --max 1840000000 --limit 10000 --order asc &
 | 
				
			||||||
 | 
					# node index --utils lyric --min 1827000000 --max 1830000000 --limit 10000 --order asc &
 | 
				
			||||||
 | 
					# node index --utils lyric --min 1817000000 --max 1820000000 --limit 10000 --order asc &
 | 
				
			||||||
 | 
					# node index --utils lyric --min 1807000000 --max 1810000000 --limit 10000 --order asc &
 | 
				
			||||||
 | 
					# node index --utils lyric --min 1497000000 --max 1500000000 --limit 10000 --order asc &
 | 
				
			||||||
 | 
					# node index --utils lyric --min 1487000000 --max 1490000000 --limit 10000 --order asc &
 | 
				
			||||||
 | 
					# node index --utils lyric --min 1477000000 --max 1480000000 --limit 10000 --order asc &
 | 
				
			||||||
 | 
					# node index --utils lyric --min 1467000000 --max 1470000000 --limit 10000 --order asc &
 | 
				
			||||||
 | 
					# node index --utils lyric --min 1457000000 --max 1460000000 --limit 10000 --order asc &
 | 
				
			||||||
 | 
					# node index --utils lyric --min 1447000000 --max 1450000000 --limit 10000 --order asc &
 | 
				
			||||||
 | 
					# node index --utils lyric --min 1437000000 --max 1440000000 --limit 10000 --order asc &
 | 
				
			||||||
 | 
					# node index --utils lyric --min 1427000000 --max 1430000000 --limit 10000 --order asc &
 | 
				
			||||||
 | 
					# node index --utils lyric --min 1417000000 --max 1420000000 --limit 10000 --order asc &
 | 
				
			||||||
 | 
					# node index --utils lyric --min 1407000000 --max 1410000000 --limit 10000 --order asc &
 | 
				
			||||||
 | 
					# node index --utils lyric --min 1397000000 --max 1400000000 --limit 10000 --order asc &
 | 
				
			||||||
 | 
					# node index --utils lyric --min 1377000000 --max 1380000000 --limit 10000 --order asc &
 | 
				
			||||||
 | 
					# node index --utils lyric --min 1367000000 --max 1370000000 --limit 10000 --order asc &
 | 
				
			||||||
 | 
					# node index --utils lyric --min 1357000000 --max 1360000000 --limit 10000 --order asc &
 | 
				
			||||||
 | 
					# node index --utils lyric --min 1347000000 --max 1350000000 --limit 10000 --order asc &
 | 
				
			||||||
 | 
					# node index --utils lyric --min 1337000000 --max 1340000000 --limit 10000 --order asc &
 | 
				
			||||||
 | 
					# node index --utils lyric --min 1327000000 --max 1330000000 --limit 10000 --order asc &
 | 
				
			||||||
 | 
					# node index --utils lyric --min 1317000000 --max 1320000000 --limit 10000 --order asc &
 | 
				
			||||||
 | 
					# node index --utils lyric --min 1307000000 --max 1310000000 --limit 10000 --order asc &
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# 服务器正在跑
 | 
				
			||||||
 | 
					node index --utils lyric --min 1895000000 --max 1897000000 --limit 10000 --order desc &
 | 
				
			||||||
 | 
					node index --utils lyric --min 1885000000 --max 1887000000 --limit 10000 --order desc &
 | 
				
			||||||
 | 
					node index --utils lyric --min 1875000000 --max 1877000000 --limit 10000 --order desc &
 | 
				
			||||||
 | 
					node index --utils lyric --min 1865000000 --max 1867000000 --limit 10000 --order desc &
 | 
				
			||||||
 | 
					node index --utils lyric --min 1805000000 --max 1807000000 --limit 10000 --order desc &
 | 
				
			||||||
 | 
					node index --utils lyric --min 1495000000 --max 1497000000 --limit 10000 --order desc &
 | 
				
			||||||
 | 
					node index --utils lyric --min 1485000000 --max 1487000000 --limit 10000 --order desc &
 | 
				
			||||||
 | 
					node index --utils lyric --min 1475000000 --max 1477000000 --limit 10000 --order desc &
 | 
				
			||||||
 | 
					node index --utils lyric --min 1465000000 --max 1467000000 --limit 10000 --order desc &
 | 
				
			||||||
 | 
					node index --utils lyric --min 1455000000 --max 1457000000 --limit 10000 --order desc &
 | 
				
			||||||
 | 
					node index --utils lyric --min 1445000000 --max 1447000000 --limit 10000 --order desc &
 | 
				
			||||||
 | 
					node index --utils lyric --min 1435000000 --max 1437000000 --limit 10000 --order desc &
 | 
				
			||||||
 | 
					node index --utils lyric --min 1405000000 --max 1407000000 --limit 10000 --order desc &
 | 
				
			||||||
 | 
					node index --utils lyric --min 1395000000 --max 1397000000 --limit 10000 --order desc &
 | 
				
			||||||
 | 
					node index --utils lyric --min 1325000000 --max 1327000000 --limit 10000 --order desc &
 | 
				
			||||||
 | 
					node index --utils lyric --min 1305000000 --max 1307000000 --limit 10000 --order desc &
 | 
				
			||||||
 | 
					# node index --utils lyric --min 1895000000 --max 1897000000 --limit 10000 --order asc &
 | 
				
			||||||
 | 
					# node index --utils lyric --min 1885000000 --max 1887000000 --limit 10000 --order asc &
 | 
				
			||||||
 | 
					# node index --utils lyric --min 1875000000 --max 1877000000 --limit 10000 --order asc &
 | 
				
			||||||
 | 
					# node index --utils lyric --min 1865000000 --max 1867000000 --limit 10000 --order asc &
 | 
				
			||||||
 | 
					# node index --utils lyric --min 1805000000 --max 1807000000 --limit 10000 --order asc &
 | 
				
			||||||
 | 
					# node index --utils lyric --min 1495000000 --max 1497000000 --limit 10000 --order asc &
 | 
				
			||||||
 | 
					# node index --utils lyric --min 1485000000 --max 1487000000 --limit 10000 --order asc &
 | 
				
			||||||
 | 
					# node index --utils lyric --min 1475000000 --max 1477000000 --limit 10000 --order asc &
 | 
				
			||||||
 | 
					# node index --utils lyric --min 1465000000 --max 1467000000 --limit 10000 --order asc &
 | 
				
			||||||
 | 
					# node index --utils lyric --min 1455000000 --max 1457000000 --limit 10000 --order asc &
 | 
				
			||||||
 | 
					# node index --utils lyric --min 1445000000 --max 1447000000 --limit 10000 --order asc &
 | 
				
			||||||
 | 
					# node index --utils lyric --min 1435000000 --max 1437000000 --limit 10000 --order asc &
 | 
				
			||||||
 | 
					# node index --utils lyric --min 1405000000 --max 1407000000 --limit 10000 --order asc &
 | 
				
			||||||
 | 
					# node index --utils lyric --min 1395000000 --max 1397000000 --limit 10000 --order asc &
 | 
				
			||||||
 | 
					# node index --utils lyric --min 1325000000 --max 1327000000 --limit 10000 --order asc &
 | 
				
			||||||
 | 
					# node index --utils lyric --min 1305000000 --max 1307000000 --limit 10000 --order asc &
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# 服务器正在跑
 | 
				
			||||||
 | 
					node index --utils lyric --min 1890000000 --max 1895000000 --limit 10000 --order desc &
 | 
				
			||||||
 | 
					node index --utils lyric --min 1880000000 --max 1885000000 --limit 10000 --order desc &
 | 
				
			||||||
 | 
					node index --utils lyric --min 1490000000 --max 1495000000 --limit 10000 --order desc &
 | 
				
			||||||
 | 
					node index --utils lyric --min 1480000000 --max 1485000000 --limit 10000 --order desc &
 | 
				
			||||||
 | 
					node index --utils lyric --min 1470000000 --max 1475000000 --limit 10000 --order desc &
 | 
				
			||||||
 | 
					node index --utils lyric --min 1460000000 --max 1465000000 --limit 10000 --order desc &
 | 
				
			||||||
 | 
					# node index --utils lyric --min 1890000000 --max 1895000000 --limit 10000 --order asc &
 | 
				
			||||||
 | 
					# node index --utils lyric --min 1880000000 --max 1885000000 --limit 10000 --order asc &
 | 
				
			||||||
 | 
					# node index --utils lyric --min 1490000000 --max 1495000000 --limit 10000 --order asc &
 | 
				
			||||||
 | 
					# node index --utils lyric --min 1480000000 --max 1485000000 --limit 10000 --order asc &
 | 
				
			||||||
 | 
					# node index --utils lyric --min 1470000000 --max 1475000000 --limit 10000 --order asc &
 | 
				
			||||||
 | 
					# node index --utils lyric --min 1460000000 --max 1465000000 --limit 10000 --order asc &
 | 
				
			||||||
@@ -98,6 +98,7 @@ CREATE TABLE `playlist` (
 | 
				
			|||||||
  -- 数据信息
 | 
					  -- 数据信息
 | 
				
			||||||
  `create_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '爬取时间',
 | 
					  `create_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '爬取时间',
 | 
				
			||||||
  `modify_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '最后更新时间',
 | 
					  `modify_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '最后更新时间',
 | 
				
			||||||
 | 
					  `related_playlist` json NULL COMMENT '是否获取了相关歌单',
 | 
				
			||||||
  PRIMARY KEY (`playlist_id`),
 | 
					  PRIMARY KEY (`playlist_id`),
 | 
				
			||||||
  KEY `playlist_id` (`playlist_id`)
 | 
					  KEY `playlist_id` (`playlist_id`)
 | 
				
			||||||
);
 | 
					);
 | 
				
			||||||
@@ -181,7 +182,8 @@ CREATE TABLE `comment_progress` (
 | 
				
			|||||||
  `create_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '爬取时间',
 | 
					  `create_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '爬取时间',
 | 
				
			||||||
  `modify_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '最后更新时间',
 | 
					  `modify_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '最后更新时间',
 | 
				
			||||||
  PRIMARY KEY (`song_id`),
 | 
					  PRIMARY KEY (`song_id`),
 | 
				
			||||||
  KEY `current_status` (`current_status`)
 | 
					  INDEX `current_status` (`current_status`),
 | 
				
			||||||
 | 
					  INDEX `song_id` (`song_id`)
 | 
				
			||||||
);
 | 
					);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
CREATE TABLE `category` (
 | 
					CREATE TABLE `category` (
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -93,7 +93,8 @@ async function fetch({ songId }) {
 | 
				
			|||||||
        // console.log(commentInfoList);
 | 
					        // console.log(commentInfoList);
 | 
				
			||||||
        // console.log(userInfoList);
 | 
					        // console.log(userInfoList);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        await dataManager.comment.insertCollection(commentInfoList.map(commentInfo => [
 | 
					        console.log("dataManager.comment.insertCollection & dataManager.user.insertCollection")
 | 
				
			||||||
 | 
					        let p1 = dataManager.comment.insertCollection(commentInfoList.map(commentInfo => [
 | 
				
			||||||
            commentInfo.comment_id,
 | 
					            commentInfo.comment_id,
 | 
				
			||||||
            commentInfo.parent_comment_id,
 | 
					            commentInfo.parent_comment_id,
 | 
				
			||||||
            commentInfo.user_id,
 | 
					            commentInfo.user_id,
 | 
				
			||||||
@@ -103,14 +104,13 @@ async function fetch({ songId }) {
 | 
				
			|||||||
            commentInfo.like_count,
 | 
					            commentInfo.like_count,
 | 
				
			||||||
            commentInfo.comment_type
 | 
					            commentInfo.comment_type
 | 
				
			||||||
        ]));
 | 
					        ]));
 | 
				
			||||||
 | 
					        let p2 = dataManager.user.insertCollection(userInfoList.map(userInfo => [
 | 
				
			||||||
        await dataManager.user.insertCollection(userInfoList.map(userInfo => [
 | 
					 | 
				
			||||||
            userInfo.user_id,
 | 
					            userInfo.user_id,
 | 
				
			||||||
            userInfo.user_type,
 | 
					            userInfo.user_type,
 | 
				
			||||||
            userInfo.nickname,
 | 
					            userInfo.nickname,
 | 
				
			||||||
            userInfo.avatar_url,
 | 
					            userInfo.avatar_url,
 | 
				
			||||||
        ]));
 | 
					        ]));
 | 
				
			||||||
 | 
					        await Promise.all([p1, p2])
 | 
				
			||||||
        // console.log("INSERT comment and user finished");
 | 
					        // console.log("INSERT comment and user finished");
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        // console.log(commentResult.body.more, comments.length, commentInfoList.length);
 | 
					        // console.log(commentResult.body.more, comments.length, commentInfoList.length);
 | 
				
			||||||
@@ -145,9 +145,13 @@ async function fetch({ songId }) {
 | 
				
			|||||||
            current_status: progress.currentStatus,
 | 
					            current_status: progress.currentStatus,
 | 
				
			||||||
            total: progress.total,
 | 
					            total: progress.total,
 | 
				
			||||||
        };
 | 
					        };
 | 
				
			||||||
        await dataManager.comment_progress.update(commentProgressInfo, songId);
 | 
					        console.log("dataManager.comment_progress.update")
 | 
				
			||||||
 | 
					        let p3 = dataManager.comment_progress.update(commentProgressInfo, songId);
 | 
				
			||||||
        // console.log("UPDATE comment_progress");
 | 
					        // console.log("UPDATE comment_progress");
 | 
				
			||||||
        await sleepUtils.sleep(global.sleepTime);
 | 
					        await p3
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        // console.log("sleepUtils.sleep")
 | 
				
			||||||
 | 
					        // await sleepUtils.sleep(global.sleepTime);
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
							
								
								
									
										1
									
								
								netease_music/start_cmd.bat
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								netease_music/start_cmd.bat
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1 @@
 | 
				
			|||||||
 | 
					start cmd
 | 
				
			||||||
		Reference in New Issue
	
	Block a user