collegehumor: able to download a single f4f file (not yet playable)

This commit is contained in:
Philipp Hagemeister 2012-11-28 04:51:27 +01:00
parent f1cb5bcad2
commit 799c076384
2 changed files with 31 additions and 20 deletions

View file

@ -26,6 +26,11 @@ try:
except ImportError: # Python 2
import urllib as compat_urllib_parse
try:
from urllib.parse import urlparse as compat_urllib_parse_urlparse
except ImportError: # Python 2
from urlparse import urlparse as compat_urllib_parse_urlparse
try:
import http.cookiejar as compat_cookiejar
except ImportError: # Python 2