Browse Source

[search engine] Update PirateBay URL. Closes #4470

adaptive-webui-19844
ngosang 9 years ago
parent
commit
1e8299f842
  1. 6
      src/searchengine/nova/engines/piratebay.py
  2. 2
      src/searchengine/nova/engines/versions.txt
  3. 6
      src/searchengine/nova3/engines/piratebay.py
  4. 2
      src/searchengine/nova3/engines/versions.txt

6
src/searchengine/nova/engines/piratebay.py

@ -1,4 +1,4 @@
#VERSION: 2.11 #VERSION: 2.12
#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.gd' url = 'https://thepiratebay.ms'
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.gd") connection = https("thepiratebay.ms")
#prepare query. 7 is filtering by seeders #prepare query. 7 is filtering by seeders
cat = cat.lower() cat = cat.lower()

2
src/searchengine/nova/engines/versions.txt

@ -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.11 piratebay: 2.12
torrentreactor: 1.40 torrentreactor: 1.40
torrentz: 2.17 torrentz: 2.17

6
src/searchengine/nova3/engines/piratebay.py

@ -1,4 +1,4 @@
#VERSION: 2.11 #VERSION: 2.12
#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.gd' url = 'https://thepiratebay.ms'
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.gd") connection = https("thepiratebay.ms")
#prepare query. 7 is filtering by seeders #prepare query. 7 is filtering by seeders
cat = cat.lower() cat = cat.lower()

2
src/searchengine/nova3/engines/versions.txt

@ -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.11 piratebay: 2.12
torrentreactor: 1.40 torrentreactor: 1.40
torrentz: 2.17 torrentz: 2.17

Loading…
Cancel
Save