Commit c94aafea authored by echel0n's avatar echel0n

Added static app_id to RARBG torrent provider

parent 14f8938b
# Changelog
- * 7b6b1aa - 2019-01-12: Pre-Release v9.4.56.dev4
- * bc951ab - 2019-01-12: Added static app_id to RARBG torrent provider
- * 14f8938 - 2019-01-12: Pre-Release v9.4.56.dev4
- * c0aa31a - 2019-01-12: Added branch version checking for source installs
- * 79db85e - 2019-01-12: Pre-Release v9.4.56.dev3
- * a26f1df - 2019-01-12: Building of DEV docker images now implemented
......
......@@ -43,6 +43,8 @@ class RarbgProvider(TorrentProvider):
self.token = None
self.token_expires = None
self.app_id = 'sickrage-{}'.format(uuid.uuid1())
self.proper_strings = ['{{PROPER|REPACK|REAL|RERIP}}']
self.cache = TVCache(self)
......@@ -54,7 +56,7 @@ class RarbgProvider(TorrentProvider):
login_params = {
'get_token': 'get_token',
'format': 'json',
'app_id': 'sickrage-{}'.format(uuid.uuid1()),
'app_id': self.app_id,
}
try:
......@@ -80,7 +82,7 @@ class RarbgProvider(TorrentProvider):
# Search Params
search_params = {
'app_id': 'sickrage',
'app_id': self.app_id,
'category': 'tv',
'min_seeders': try_int(self.minseed),
'min_leechers': try_int(self.minleech),
......
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