mirror of
https://github.com/moparisthebest/SickRage
synced 2025-01-05 19:08:02 -05:00
05410e2aa0
Replaced urllib2 with requests for both TVDB and TVRage. Updated cache cleanup code to process both TVDB and TVRage cache folders.
13 lines
256 B
Python
13 lines
256 B
Python
try:
|
|
from urllib.parse import urljoin
|
|
except ImportError:
|
|
from urlparse import urljoin
|
|
|
|
|
|
try:
|
|
import email.utils
|
|
parsedate_tz = email.utils.parsedate_tz
|
|
except ImportError:
|
|
import email.Utils
|
|
parsedate_tz = email.Utils.parsedate_tz
|