Commit baf04a18 authored by echel0n's avatar echel0n

Fixed issue with connecting to RARBG torrent provider

parent 08d24ac7
# Changelog
- * 926351d - 2019-01-12: Refactored processed marker code
- * c24310d - 2019-01-12: Fixed issue with connecting to RARBG torrent provider
- * 831f077 - 2019-01-13: Update .gitlab-ci.yml
- * 7c6290c - 2019-01-13: Update .gitlab-ci.yml
- * bf51f72 - 2019-01-13: Update .gitlab-ci.yml
- * 560357a - 2019-01-12: Update .gitlab-ci.yml
- * 2543e7c - 2019-01-12: Update .gitlab-ci.yml
- * 6e96928 - 2019-01-12: Refactored processed marker code
- * 60c219a - 2019-01-12: Update Dockerfile
- * 74f25eb - 2019-01-12: Update Dockerfile
- * 5fcae91 - 2019-01-12: Update Dockerfile
- * c27cdf7 - 2019-01-12: Update Dockerfile
- * 68a9176 - 2019-01-12: Update .gitlab-ci.yml
- * 3f76554 - 2019-01-12: Update .gitlab-ci.yml
- * d326930 - 2019-01-12: Update .gitlab-ci.yml
......@@ -200,13 +200,13 @@ class GenericClient(object):
try:
self.response = self.session.request(method.upper(),
self.url,
params=params,
data=data,
auth=(self.username, self.password),
timeout=120,
verify=False,
*args, **kwargs)
self.url,
params=params,
data=data,
auth=(self.username, self.password),
timeout=120,
verify=False,
*args, **kwargs)
except Exception:
return False
......
......@@ -19,6 +19,7 @@
from __future__ import unicode_literals
import datetime
import uuid
from time import sleep
import sickrage
......@@ -53,7 +54,7 @@ class RarbgProvider(TorrentProvider):
login_params = {
'get_token': 'get_token',
'format': 'json',
'app_id': 'sickrage',
'app_id': 'sickrage-{}'.format(uuid.uuid1()),
}
try:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment