mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-01-11 15:27:54 +00:00
[search engine] Update PirateBay plugin.
This commit is contained in:
parent
193913129f
commit
398d11a453
@ -1,4 +1,4 @@
|
|||||||
#VERSION: 2.12
|
#VERSION: 2.13
|
||||||
#AUTHORS: Fabien Devaux (fab@gnux.info)
|
#AUTHORS: Fabien Devaux (fab@gnux.info)
|
||||||
#CONTRIBUTORS: Christophe Dumez (chris@qbittorrent.org)
|
#CONTRIBUTORS: Christophe Dumez (chris@qbittorrent.org)
|
||||||
# Arthur (custparasite@gmx.se)
|
# Arthur (custparasite@gmx.se)
|
||||||
@ -36,7 +36,7 @@ from helpers import download_file
|
|||||||
|
|
||||||
class piratebay(object):
|
class piratebay(object):
|
||||||
""" Search engine class """
|
""" Search engine class """
|
||||||
url = 'https://thepiratebay.ms'
|
url = 'https://thepiratebay.se'
|
||||||
name = 'The Pirate Bay'
|
name = 'The Pirate Bay'
|
||||||
supported_categories = {'all': '0', 'music': '100', 'movies': '200', 'games': '400', 'software': '300'}
|
supported_categories = {'all': '0', 'music': '100', 'movies': '200', 'games': '400', 'software': '300'}
|
||||||
|
|
||||||
@ -159,7 +159,7 @@ class piratebay(object):
|
|||||||
|
|
||||||
def search(self, what, cat='all'):
|
def search(self, what, cat='all'):
|
||||||
""" Performs search """
|
""" Performs search """
|
||||||
connection = https("thepiratebay.ms")
|
connection = https("thepiratebay.se")
|
||||||
|
|
||||||
#prepare query. 7 is filtering by seeders
|
#prepare query. 7 is filtering by seeders
|
||||||
cat = cat.lower()
|
cat = cat.lower()
|
||||||
|
@ -4,6 +4,6 @@ extratorrent: 2.02
|
|||||||
kickasstorrents: 1.28
|
kickasstorrents: 1.28
|
||||||
legittorrents: 2.00
|
legittorrents: 2.00
|
||||||
mininova: 2.00
|
mininova: 2.00
|
||||||
piratebay: 2.12
|
piratebay: 2.13
|
||||||
torrentreactor: 1.40
|
torrentreactor: 1.40
|
||||||
torrentz: 2.17
|
torrentz: 2.17
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#VERSION: 2.12
|
#VERSION: 2.13
|
||||||
#AUTHORS: Fabien Devaux (fab@gnux.info)
|
#AUTHORS: Fabien Devaux (fab@gnux.info)
|
||||||
#CONTRIBUTORS: Christophe Dumez (chris@qbittorrent.org)
|
#CONTRIBUTORS: Christophe Dumez (chris@qbittorrent.org)
|
||||||
# Arthur (custparasite@gmx.se)
|
# Arthur (custparasite@gmx.se)
|
||||||
@ -36,7 +36,7 @@ from helpers import download_file
|
|||||||
|
|
||||||
class piratebay(object):
|
class piratebay(object):
|
||||||
""" Search engine class """
|
""" Search engine class """
|
||||||
url = 'https://thepiratebay.ms'
|
url = 'https://thepiratebay.se'
|
||||||
name = 'The Pirate Bay'
|
name = 'The Pirate Bay'
|
||||||
supported_categories = {'all': '0', 'music': '100', 'movies': '200', 'games': '400', 'software': '300'}
|
supported_categories = {'all': '0', 'music': '100', 'movies': '200', 'games': '400', 'software': '300'}
|
||||||
|
|
||||||
@ -157,7 +157,7 @@ class piratebay(object):
|
|||||||
|
|
||||||
def search(self, what, cat='all'):
|
def search(self, what, cat='all'):
|
||||||
""" Performs search """
|
""" Performs search """
|
||||||
connection = https("thepiratebay.ms")
|
connection = https("thepiratebay.se")
|
||||||
|
|
||||||
#prepare query. 7 is filtering by seeders
|
#prepare query. 7 is filtering by seeders
|
||||||
cat = cat.lower()
|
cat = cat.lower()
|
||||||
|
@ -4,6 +4,6 @@ extratorrent: 2.02
|
|||||||
kickasstorrents: 1.28
|
kickasstorrents: 1.28
|
||||||
legittorrents: 2.00
|
legittorrents: 2.00
|
||||||
mininova: 2.00
|
mininova: 2.00
|
||||||
piratebay: 2.12
|
piratebay: 2.13
|
||||||
torrentreactor: 1.40
|
torrentreactor: 1.40
|
||||||
torrentz: 2.17
|
torrentz: 2.17
|
||||||
|
Loading…
Reference in New Issue
Block a user