mirror of
https://github.com/SickGear/SickGear.git
synced 2024-12-01 00:43:37 +00:00
05410e2aa0
Replaced urllib2 with requests for both TVDB and TVRage. Updated cache cleanup code to process both TVDB and TVRage cache folders.
12 lines
256 B
Python
12 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
|