mirror of
https://github.com/moparisthebest/SickRage
synced 2024-12-12 02:52:20 -05:00
Fix for sickragetv/sickrage-issues#178
This commit is contained in:
parent
9fedc24c55
commit
8b84e4f4bc
@ -67,7 +67,7 @@ class GenericProvider:
|
|||||||
|
|
||||||
self.session = requests.session()
|
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):
|
def getID(self):
|
||||||
return GenericProvider.makeID(self.name)
|
return GenericProvider.makeID(self.name)
|
||||||
|
@ -18,7 +18,6 @@
|
|||||||
# along with Sick Beard. If not, see <http://www.gnu.org/licenses/>.
|
# along with Sick Beard. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
import traceback
|
import traceback
|
||||||
import time
|
|
||||||
import re
|
import re
|
||||||
import datetime
|
import datetime
|
||||||
import sickbeard
|
import sickbeard
|
||||||
|
Loading…
Reference in New Issue
Block a user