Fixed PtP provider login as per link included

http://passthepopcorn.me/forums.php?action=viewthread&threadid=15602&post=68#post535328
This commit is contained in:
Arsecroft authored and Ruud committed 2012-12-11 21:49:48 +01:00
1 parent f1a1db8d5b
commit b2b396bf17
2 files changed
+6 -1

No files matched your search

@@ -31,6 +31,10 @@ config = [{
'name': 'password', 'name': 'password',
'default': '', 'default': '',
'type': 'password', 'type': 'password',
},
{
'name': 'passkey',
'default': '',
} }
], ],
} }
@@ -21,7 +21,7 @@ class PassThePopcorn(TorrentProvider):
'domain': 'https://tls.passthepopcorn.me', 'domain': 'https://tls.passthepopcorn.me',
'detail': 'https://tls.passthepopcorn.me/torrents.php?torrentid=%s', 'detail': 'https://tls.passthepopcorn.me/torrents.php?torrentid=%s',
'torrent': 'https://tls.passthepopcorn.me/torrents.php', 'torrent': 'https://tls.passthepopcorn.me/torrents.php',
'login': 'https://tls.passthepopcorn.me/login.php', 'login': 'https://tls.passthepopcorn.me/ajax.php?action=login',
'search': 'https://tls.passthepopcorn.me/search/%s/0/7/%d' 'search': 'https://tls.passthepopcorn.me/search/%s/0/7/%d'
} }
@@ -249,6 +249,7 @@ class PassThePopcorn(TorrentProvider):
return tryUrlencode({ return tryUrlencode({
'username': self.conf('username'), 'username': self.conf('username'),
'password': self.conf('password'), 'password': self.conf('password'),
'passkey': self.conf('passkey'),
'keeplogged': '1', 'keeplogged': '1',
'login': 'Login' 'login': 'Login'
}) })