Browse Source

Merge pull request #3307 from ngosang/extratorrentimp

[search engine] Update ExtraTorrent
adaptive-webui-19844
sledgehammer999 10 years ago
parent
commit
af79ba433c
  1. 4
      src/searchengine/nova/engines/extratorrent.py
  2. 2
      src/searchengine/nova/engines/versions.txt
  3. 4
      src/searchengine/nova3/engines/extratorrent.py
  4. 2
      src/searchengine/nova3/engines/versions.txt

4
src/searchengine/nova/engines/extratorrent.py

@ -1,4 +1,4 @@ @@ -1,4 +1,4 @@
#VERSION: 2.0
#VERSION: 2.01
#AUTHORS: Christophe Dumez (chris@qbittorrent.org)
# Redistribution and use in source and binary forms, with or without
@ -141,7 +141,7 @@ class extratorrent(object): @@ -141,7 +141,7 @@ class extratorrent(object):
""" Performs search """
connection = http("extratorrent.cc")
query = "".join(("/search/?new=1&search=", what, "&s_cat=", self.supported_categories[cat]))
query = "".join(("/advanced_search/?with=", what, "&s_cat=", self.supported_categories[cat]))
connection.request("GET", query)
response = connection.getresponse()

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

@ -1,6 +1,6 @@ @@ -1,6 +1,6 @@
btdigg: 1.30
demonoid: 1.1
extratorrent: 2.0
extratorrent: 2.01
kickasstorrents: 1.28
legittorrents: 2.00
mininova: 2.00

4
src/searchengine/nova3/engines/extratorrent.py

@ -1,4 +1,4 @@ @@ -1,4 +1,4 @@
#VERSION: 2.0
#VERSION: 2.01
#AUTHORS: Christophe Dumez (chris@qbittorrent.org)
# Redistribution and use in source and binary forms, with or without
@ -141,7 +141,7 @@ class extratorrent(object): @@ -141,7 +141,7 @@ class extratorrent(object):
""" Performs search """
connection = http("extratorrent.cc")
query = "".join(("/search/?new=1&search=", what, "&s_cat=", self.supported_categories[cat]))
query = "".join(("/advanced_search/?with=", what, "&s_cat=", self.supported_categories[cat]))
connection.request("GET", query)
response = connection.getresponse()

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

@ -1,6 +1,6 @@ @@ -1,6 +1,6 @@
btdigg: 1.30
demonoid: 1.1
extratorrent: 2.0
extratorrent: 2.01
kickasstorrents: 1.28
legittorrents: 2.00
mininova: 2.00

Loading…
Cancel
Save