| 
						
						
							
								
							
						
						
					 | 
					 | 
					@ -1080,10 +1080,12 @@ def new_get_scrape_candidates(item): | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        if not match_found: | 
					 | 
					 | 
					 | 
					        if not match_found: | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            if str(candidate['start_year']) in item.directory_path: | 
					 | 
					 | 
					 | 
					            if str(candidate['start_year']) in item.directory_path: | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                scrape_candidate = candidate['id'] | 
					 | 
					 | 
					 | 
					                scrape_candidate = candidate['id'] | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                match_found = True | 
					 | 
					 | 
					 | 
					                match_found = False | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                     | 
					 | 
					 | 
					 | 
					                     | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    scrape_item.scrape_json = json.dumps(candidates.results) | 
					 | 
					 | 
					 | 
					    scrape_item.scrape_json = json.dumps(candidates.results) | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    scrape_item.scrape_candidate = scrape_candidate | 
					 | 
					 | 
					 | 
					    scrape_item.scrape_candidate = scrape_candidate | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					    scrape_item.scrape_match = match_found | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					    scrape_item.scrape_add = match_found | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    database.session.merge(scrape_item) | 
					 | 
					 | 
					 | 
					    database.session.merge(scrape_item) | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    database.session.commit() | 
					 | 
					 | 
					 | 
					    database.session.commit() | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
					 | 
					
  |