properly return data field name data
This commit is contained in:
		
							parent
							
								
									8cb7537463
								
							
						
					
					
						commit
						beca6c6b9c
					
				
					 1 changed files with 2 additions and 3 deletions
				
			
		
							
								
								
									
										5
									
								
								scripts/external/scraper.js
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										5
									
								
								scripts/external/scraper.js
									
										
									
									
										vendored
									
									
								
							|  | @ -48,10 +48,9 @@ export default class scraper { | ||||||
| 		} | 		} | ||||||
| 
 | 
 | ||||||
| 		if (Object.keys(field_content).length > 0) { | 		if (Object.keys(field_content).length > 0) { | ||||||
| 			for (let field_name in Object.keys(field_content)) { | 			(Object.keys(field_content)).forEach((field_name) => { | ||||||
| 				console.log(field_name); |  | ||||||
| 				this[field_name] = field_content[field_name]; | 				this[field_name] = field_content[field_name]; | ||||||
| 			} | 			}); | ||||||
| 		} | 		} | ||||||
| 	} | 	} | ||||||
| } | } | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue