| 
						
						
							
								
							
						
						
					 | 
				
				 | 
				
					@ -118,6 +118,10 @@ class Collector extends Command | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
										if (!preg_match('/\/(\d+)\.html/', $url, $match)) continue; | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
										$id = $match[1]; | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
										if ($this->exists_update == false && CollectProduct::where(['unique_id' => $id, 'site' => 1])->exists()) { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
											continue; | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
										} | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
										$inc_sales = $http->post('https://m.mafengwo.cn/poi/poi/inc_sales', ['poiid' => $id]); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
										preg_match('#<strong><em>¥</em>(\d+)</strong>#', $inc_sales['html'] ?? '', $match_price); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					
 | 
				
			
			
		
	
	
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
				
				 | 
				
					
  |