mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-02-04 10:54:35 +00:00
Merge pull request #2508 from ngosang/mininova_search
Fix: error in mininova search engine
This commit is contained in:
commit
b7898cccd0
@ -1,5 +1,6 @@
|
|||||||
#VERSION: 1.50
|
#VERSION: 1.51
|
||||||
#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:
|
||||||
@ -59,7 +60,7 @@ class mininova(object):
|
|||||||
self.current_item = {}
|
self.current_item = {}
|
||||||
self.td_counter = 0
|
self.td_counter = 0
|
||||||
self.current_item['link']=self.url+params['href'].strip()
|
self.current_item['link']=self.url+params['href'].strip()
|
||||||
elif params['href'].startswith("/tor/"):
|
elif params['href'].startswith("/tor/") and self.current_item is not None:
|
||||||
self.current_item['desc_link']=self.url+params['href'].strip()
|
self.current_item['desc_link']=self.url+params['href'].strip()
|
||||||
|
|
||||||
def handle_data(self, data):
|
def handle_data(self, data):
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
torrentreactor: 1.33
|
torrentreactor: 1.33
|
||||||
mininova: 1.50
|
mininova: 1.51
|
||||||
piratebay: 2.01
|
piratebay: 2.01
|
||||||
extratorrent: 1.2
|
extratorrent: 1.2
|
||||||
kickasstorrents: 1.25
|
kickasstorrents: 1.25
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
#VERSION: 1.50
|
#VERSION: 1.51
|
||||||
#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:
|
||||||
@ -59,7 +60,7 @@ class mininova(object):
|
|||||||
self.current_item = {}
|
self.current_item = {}
|
||||||
self.td_counter = 0
|
self.td_counter = 0
|
||||||
self.current_item['link']=self.url+params['href'].strip()
|
self.current_item['link']=self.url+params['href'].strip()
|
||||||
elif params['href'].startswith("/tor/"):
|
elif params['href'].startswith("/tor/") and self.current_item is not None:
|
||||||
self.current_item['desc_link']=self.url+params['href'].strip()
|
self.current_item['desc_link']=self.url+params['href'].strip()
|
||||||
|
|
||||||
def handle_data(self, data):
|
def handle_data(self, data):
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
torrentreactor: 1.33
|
torrentreactor: 1.33
|
||||||
mininova: 1.50
|
mininova: 1.51
|
||||||
piratebay: 2.01
|
piratebay: 2.01
|
||||||
extratorrent: 1.2
|
extratorrent: 1.2
|
||||||
kickasstorrents: 1.25
|
kickasstorrents: 1.25
|
||||||
|
Loading…
x
Reference in New Issue
Block a user