crawler: stop at first alternative link
Should save a few ms and the first one is usually (?) the most relevant/generic
This commit is contained in:
		@@ -252,6 +252,7 @@ class AlternateHandler(BaseHandler):
 | 
			
		||||
                    resp.code = 302
 | 
			
		||||
                    resp.msg = 'Moved Temporarily'
 | 
			
		||||
                    resp.headers['location'] = link.get('href')
 | 
			
		||||
                    break
 | 
			
		||||
 | 
			
		||||
            fp = BytesIO(data)
 | 
			
		||||
            old_resp = resp
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user