From 85a7c7303d725dded842d62527a5ebc2a3bee11f Mon Sep 17 00:00:00 2001 From: ngosang Date: Sat, 27 Jun 2015 03:45:27 +0200 Subject: [PATCH] [search engine] Update ExtraTorrent --- src/searchengine/nova/engines/extratorrent.py | 4 ++-- src/searchengine/nova/engines/versions.txt | 2 +- src/searchengine/nova3/engines/extratorrent.py | 4 ++-- src/searchengine/nova3/engines/versions.txt | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/searchengine/nova/engines/extratorrent.py b/src/searchengine/nova/engines/extratorrent.py index 4fe940b24..077602b46 100644 --- a/src/searchengine/nova/engines/extratorrent.py +++ b/src/searchengine/nova/engines/extratorrent.py @@ -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): """ 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() diff --git a/src/searchengine/nova/engines/versions.txt b/src/searchengine/nova/engines/versions.txt index a64157841..a666ff976 100644 --- a/src/searchengine/nova/engines/versions.txt +++ b/src/searchengine/nova/engines/versions.txt @@ -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 diff --git a/src/searchengine/nova3/engines/extratorrent.py b/src/searchengine/nova3/engines/extratorrent.py index d0bd10bb8..448132fa1 100644 --- a/src/searchengine/nova3/engines/extratorrent.py +++ b/src/searchengine/nova3/engines/extratorrent.py @@ -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): """ 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() diff --git a/src/searchengine/nova3/engines/versions.txt b/src/searchengine/nova3/engines/versions.txt index a64157841..a666ff976 100644 --- a/src/searchengine/nova3/engines/versions.txt +++ b/src/searchengine/nova3/engines/versions.txt @@ -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