1
0
mirror of https://github.com/d47081/qBittorrent.git synced 2025-01-11 07:18:08 +00:00

Merge pull request #3437 from ngosang/extratorrent

[search engine] Remove the word 'torrent' in ExtraTorrent results
This commit is contained in:
sledgehammer999 2015-07-16 00:47:23 +03:00
commit b26724d12b
4 changed files with 8 additions and 6 deletions

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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