Skip to content

Instantly share code, notes, and snippets.

View marwanbayoumi's full-sized avatar
🍇
drink

marwan bayoumi marwanbayoumi

🍇
drink
View GitHub Profile
@marwanbayoumi
marwanbayoumi / async_scrape.js
Last active October 10, 2020 17:17
Async scrape then deserialize JSON
const fs = require('fs');
const process = require('process');
const spawn = require("child_process").spawn;
process.chdir('./dir/of/spider');
async function test() {
try {
await scrape();
desrialize();