parent
							
								
									dc0c654307
								
							
						
					
					
						commit
						073f2b0faf
					
				| 
						 | 
				
			
			@ -5,8 +5,12 @@
 | 
			
		|||
# https://s3-us-west-1.amazonaws.com/umbrella-static/index.html
 | 
			
		||||
 | 
			
		||||
# Download the list
 | 
			
		||||
wget -O- https://s3-us-west-1.amazonaws.com/umbrella-static/top-1m.csv.zip | \
 | 
			
		||||
wget https://s3-us-west-1.amazonaws.com/umbrella-static/top-1m.csv.zip -O top-1m.csv.zip
 | 
			
		||||
 | 
			
		||||
# Decompress the zip and write output to stdout
 | 
			
		||||
zcat -dc | \
 | 
			
		||||
zcat -dc top-1m.csv.zip | \
 | 
			
		||||
# Parse domains only
 | 
			
		||||
cut -f 2 -d ',' > ../src/top-1m.txt
 | 
			
		||||
 | 
			
		||||
# Remove downloaded zip file
 | 
			
		||||
rm top-1m.csv.zip
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue