Browse Source

Merge pull request #3437 from ngosang/extratorrent

[search engine] Remove the word 'torrent' in ExtraTorrent results
adaptive-webui-19844
sledgehammer999 9 years ago
parent
commit
b26724d12b
  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 @@
#VERSION: 2.01 #VERSION: 2.02
#AUTHORS: Christophe Dumez (chris@qbittorrent.org) #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 # Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met: # modification, are permitted provided that the following conditions are met:
@ -75,7 +76,7 @@ class extratorrent(object):
#description #description
self.current_item["desc_link"] = "".join((self.url, link)) self.current_item["desc_link"] = "".join((self.url, link))
#remove view at the beginning #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 self.pending_size = True
elif link[8] == "_": elif link[8] == "_":
#download link #download link

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

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

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

@ -1,5 +1,6 @@
#VERSION: 2.01 #VERSION: 2.02
#AUTHORS: Christophe Dumez (chris@qbittorrent.org) #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 # Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met: # modification, are permitted provided that the following conditions are met:
@ -75,7 +76,7 @@ class extratorrent(object):
#description #description
self.current_item["desc_link"] = "".join((self.url, link)) self.current_item["desc_link"] = "".join((self.url, link))
#remove view at the beginning #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 self.pending_size = True
elif link[8] == "_": elif link[8] == "_":
#download link #download link

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

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

Loading…
Cancel
Save