Skip to content

Instantly share code, notes, and snippets.

@Baekjoon
Created April 12, 2015 17:43
Show Gist options
  • Save Baekjoon/eee452a2448159c98a3a to your computer and use it in GitHub Desktop.
Save Baekjoon/eee452a2448159c98a3a to your computer and use it in GitHub Desktop.
acmicpc-ranklist-to-json-2
import urllib
from bs4 import BeautifulSoup
fp = urllib.urlopen('https://www.acmicpc.net/ranklist')
source = fp.read()
fp.close()
soup = BeautifulSoup(source)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment