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
### Keybase proof | |
I hereby claim: | |
* I am danielwarna on github. | |
* I am danno (https://keybase.io/danno) on keybase. | |
* I have a public key whose fingerprint is D935 8192 D207 A9F6 05BC 458D 9832 8A33 E64C 3B64 | |
To claim this, I am signing this object: |
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
import java.lang.reflect.Array; | |
import java.util.*; | |
/** | |
* Created with IntelliJ IDEA. | |
* User: Daniel Wärnå | |
*/ | |
// seed: 418264732 |
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
import socket | |
import re | |
import Queue | |
import urllib2 | |
import threading | |
import os | |
from BeautifulSoup import BeautifulSoup | |
def getTitle(q, url): | |
html = urllib2.urlopen(url).read() |