This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
""" WARNING: crypto is hard to do right, bugs are hard to discover. Don't use if you life depends on it. """ | |
import os.path | |
from subprocess import Popen, PIPE | |
import json | |
# requests and beautifulsoup should be in your favorite package manager already | |
import requests |