From 8b84e4f4bc6cdebdc605438e9e75d15f1133d65e Mon Sep 17 00:00:00 2001 From: echel0n Date: Wed, 24 Dec 2014 09:25:31 -0800 Subject: [PATCH] Fix for sickragetv/sickrage-issues#178 --- sickbeard/providers/generic.py | 2 +- sickbeard/providers/t411.py | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/sickbeard/providers/generic.py b/sickbeard/providers/generic.py index 09906447..be602a5b 100644 --- a/sickbeard/providers/generic.py +++ b/sickbeard/providers/generic.py @@ -67,7 +67,7 @@ class GenericProvider: self.session = requests.session() - self.headers = {'User-Agent': USER_AGENT} + self.headers = {'Content-Type': 'application/x-www-form-urlencoded', 'User-Agent': USER_AGENT} def getID(self): return GenericProvider.makeID(self.name) diff --git a/sickbeard/providers/t411.py b/sickbeard/providers/t411.py index a298432b..8238ff99 100644 --- a/sickbeard/providers/t411.py +++ b/sickbeard/providers/t411.py @@ -18,7 +18,6 @@ # along with Sick Beard. If not, see . import traceback -import time import re import datetime import sickbeard