Skip to content

Instantly share code, notes, and snippets.


Zhou Hao upbit

View GitHub Profile
upbit /
Last active Jan 20, 2022 — forked from ZipFile/
Pixiv OAuth Flow (with Selenium)

Retrieving Auth Token (with Selenium)

  1. Setup, install Selenium/ChromeDriver
pip install selenium
# download chromedriver from
# eg: wget && unzip
upbit /
Created Jul 1, 2020 — forked from netj/
A primitive JSON-P proxy in Python compatible to node-jsonp-proxy (support python3)
#!/usr/bin/env python
# A very primitive JSON-P proxy in Python
# Derived from Patric Fornasier's Blog:
# Made compatible with node-jsonp-proxy:
import sys
import re
import urllib
if sys.version_info >= (3, 0):
from http.server import BaseHTTPRequestHandler, HTTPServer