1 parent
b19b0775c7
commit
f8631c6d53
2 files changed
+3
-3
No files matched your search
@@ -17,7 +17,7 @@ class Base(TorrentProvider):
|
|||||||
'login': 'https://www.torrentleech.org/user/account/login/',
|
'login': 'https://www.torrentleech.org/user/account/login/',
|
||||||
'login_check': 'https://torrentleech.org/user/messages',
|
'login_check': 'https://torrentleech.org/user/messages',
|
||||||
'detail': 'https://www.torrentleech.org/torrent/%s',
|
'detail': 'https://www.torrentleech.org/torrent/%s',
|
||||||
'search': 'https://www.torrentleech.org/torrents/browse/index/query/%s/categories/%d',
|
'search': 'https://www.torrentleech.org/torrents/browse/index/query/%s/categories/%s',
|
||||||
'download': 'https://www.torrentleech.org%s',
|
'download': 'https://www.torrentleech.org%s',
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -16,12 +16,12 @@ class TorrentLeech(MovieProvider, Base):
|
|||||||
([9], ['ts', 'tc']),
|
([9], ['ts', 'tc']),
|
||||||
([10], ['r5', 'scr']),
|
([10], ['r5', 'scr']),
|
||||||
([11], ['dvdrip']),
|
([11], ['dvdrip']),
|
||||||
([14], ['brrip']),
|
([13, 14], ['brrip']),
|
||||||
([12], ['dvdr']),
|
([12], ['dvdr']),
|
||||||
]
|
]
|
||||||
|
|
||||||
def buildUrl(self, title, media, quality):
|
def buildUrl(self, title, media, quality):
|
||||||
return (
|
return (
|
||||||
tryUrlencode(title.replace(':', '')),
|
tryUrlencode(title.replace(':', '')),
|
||||||
self.getCatId(quality)[0]
|
','.join([str(x) for x in self.getCatId(quality)])
|
||||||
)
|
)
|
||||||
Reference in new issue
Block a user