Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Output counts of URLs scanned on URLTeam project
import sys
import json
import websocket
ws = websocket.create_connection('ws://')
username = sys.argv[1]
while True:
data = json.loads(ws.recv()).get('live_new')
if data and data['username'] == username:
print data['scanned']
python -u johtso | xargs -n 1 -I count head -c count /dev/zero | pv -abr > /dev/null
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.