Skip to content

Instantly share code, notes, and snippets.

View Minyall's full-sized avatar

James Allen-Robertson Minyall

View GitHub Profile
@Minyall
Minyall / Onionscan_speedy_snapshot.py
Created August 16, 2017 14:17
Extract Snapshots from OnionScan
import time
import requests
import glob
import json
from bs4 import BeautifulSoup as bs
api_call = "http://localhost:8080/get?col=crawls&id="
with open('snapshot_log.txt','r') as log:
skip_list = log.readlines()
skip_list = [x.replace('\n','') for x in skip_list]
json_list = glob.glob('onionscan_results/*.json')