Skip to content

Instantly share code, notes, and snippets.

Avatar
🍇
drink

marwan bayoumi marwanbayoumi

🍇
drink
View GitHub Profile
@marwanbayoumi
marwanbayoumi / async_scrape.js
Last active Oct 10, 2020
Async scrape then deserialize JSON
View async_scrape.js
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();