forked from MapComplete/MapComplete
		
	More tweaks to the linked data loader
This commit is contained in:
		
							parent
							
								
									684932aebd
								
							
						
					
					
						commit
						734be4a702
					
				
					 5 changed files with 76 additions and 55 deletions
				
			
		|  | @ -17,7 +17,7 @@ class CompareWebsiteData extends Script { | |||
|         if (fs.existsSync(filename)) { | ||||
|             return JSON.parse(fs.readFileSync(filename, "utf-8")) | ||||
|         } | ||||
|         const jsonLd = await LinkedDataLoader.fetchJsonLd(url, undefined, true) | ||||
|         const jsonLd = await LinkedDataLoader.fetchJsonLd(url, undefined, "proxy") | ||||
|         console.log("Got:", jsonLd) | ||||
|         fs.writeFileSync(filename, JSON.stringify(jsonLd)) | ||||
|         return jsonLd | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue