File tree Expand file tree Collapse file tree
src/searchengine/nova/engines Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- #VERSION: 2.18
1+ #VERSION: 2.19
22#AUTHORS: Diego de las Heras (ngosang@hotmail.es)
33
44# Redistribution and use in source and binary forms, with or without
@@ -92,10 +92,9 @@ def handle_data(self, data):
9292 # display item
9393 self .td_counter = None
9494 self .current_item ['engine_url' ] = self .url
95- if self .current_item ['name' ].find (u' \xc2 ' ):
96- self .current_item ['name' ] = self .current_item ['name' ].split (u' \xc2 ' )[0 ]
97- self .current_item ['link' ] += '&' + urlencode ({'dn' : self .current_item ['name' ]})
98- self .current_item ['name' ] = self .current_item ['name' ].decode ('utf8' )
95+ if self .current_item ['name' ].find (u' \xbb ' ):
96+ self .current_item ['name' ] = self .current_item ['name' ].split (u' \xbb ' )[0 ]
97+ self .current_item ['link' ] += '&' + urlencode ({'dn' : self .current_item ['name' ].encode ('utf-8' )})
9998
10099 prettyPrinter (self .current_item )
101100 self .results .append ('a' )
Original file line number Diff line number Diff line change @@ -7,4 +7,4 @@ mininova: 2.01
77piratebay: 2.14
88torlock: 2.0
99torrentreactor: 1.41
10- torrentz: 2.18
10+ torrentz: 2.19
You can’t perform that action at this time.
0 commit comments