forked from kamba4/sunders
		
	
		
			
				
	
	
		
			12 lines
		
	
	
		
			No EOL
		
	
	
		
			247 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			12 lines
		
	
	
		
			No EOL
		
	
	
		
			247 B
		
	
	
	
		
			Python
		
	
	
	
	
	
 | 
						|
 | 
						|
import xml.etree.cElementTree as ET
 | 
						|
import gzip
 | 
						|
import requests
 | 
						|
 | 
						|
r = requests.get('https://planet.openstreetmap.org/replication/minute/000/000/001.osc.gz')
 | 
						|
 | 
						|
data = gzip.decompress(r.content)
 | 
						|
 | 
						|
tree = ET.fromstring(data)
 | 
						|
print(tree.findall("./.")) |