Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
S
sickrage
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
25
Issues
25
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
Operations
Operations
Incidents
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
SiCKRAGE
sickrage
Commits
c94aafea
Commit
c94aafea
authored
Jan 12, 2019
by
echel0n
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added static app_id to RARBG torrent provider
parent
14f8938b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
3 deletions
+6
-3
changelog.md
changelog.md
+2
-1
sickrage/providers/torrent/rarbg.py
sickrage/providers/torrent/rarbg.py
+4
-2
No files found.
changelog.md
View file @
c94aafea
# 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
...
...
sickrage/providers/torrent/rarbg.py
View file @
c94aafea
...
...
@@ -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
),
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment