Skip to content

Instantly share code, notes, and snippets.

@eykd
Created June 24, 2011 21:43
Show Gist options
  • Save eykd/1045756 to your computer and use it in GitHub Desktop.
Save eykd/1045756 to your computer and use it in GitHub Desktop.
Unearth spoilers by finding non-placeholder-images from the URL pattern provided by Notch.
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""find urls from @notch
"""
import time as t
import string as r
import urllib as b
u = 'http://i.imgur.com/IKc7%s.png'
for url in dict(t.sleep(1) or (b.urlopen(u%c).read(), u%c) for c in r.letters).values():
print url
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment