Browse Source

[search engine] Remove the word 'torrent' in ExtraTorrent results

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

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

@ -1,5 +1,6 @@ @@ -1,5 +1,6 @@
#VERSION: 2.01
#VERSION: 2.02
#AUTHORS: Christophe Dumez (chris@qbittorrent.org)
#CONTRIBUTORS: Diego de las Heras (diegodelasheras@gmail.com)
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
@ -75,7 +76,7 @@ class extratorrent(object): @@ -75,7 +76,7 @@ class extratorrent(object):
#description
self.current_item["desc_link"] = "".join((self.url, link))
#remove view at the beginning
self.current_item["name"] = params["title"][5:].replace("&", "&")
self.current_item["name"] = params["title"][5:-8].replace("&", "&")
self.pending_size = True
elif link[8] == "_":
#download link

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

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

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

@ -1,5 +1,6 @@ @@ -1,5 +1,6 @@
#VERSION: 2.01
#VERSION: 2.02
#AUTHORS: Christophe Dumez (chris@qbittorrent.org)
#CONTRIBUTORS: Diego de las Heras (diegodelasheras@gmail.com)
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
@ -75,7 +76,7 @@ class extratorrent(object): @@ -75,7 +76,7 @@ class extratorrent(object):
#description
self.current_item["desc_link"] = "".join((self.url, link))
#remove view at the beginning
self.current_item["name"] = params["title"][5:].replace("&", "&")
self.current_item["name"] = params["title"][5:-8].replace("&", "&")
self.pending_size = True
elif link[8] == "_":
#download link

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

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

Loading…
Cancel
Save