Subversion Repositories SmartDukaan

Rev

Rev 5413 | Rev 5761 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 5413 Rev 5639
Line 167... Line 167...
167
            'flipkart': 'http://www.flipkart.com/search-mobiles?query=$$&from=all&searchGroup=mobiles',
167
            'flipkart': 'http://www.flipkart.com/search-mobiles?query=$$&from=all&searchGroup=mobiles',
168
            'homeshop18': 'http://www.homeshop18.com/nokia%20n97/search:$$/categoryid:3024',
168
            'homeshop18': 'http://www.homeshop18.com/nokia%20n97/search:$$/categoryid:3024',
169
            'adexmart': 'http://adexmart.com/search.php?orderby=position&orderway=desc&search_query=$$',
169
            'adexmart': 'http://adexmart.com/search.php?orderby=position&orderway=desc&search_query=$$',
170
            'infibeam': 'http://www.infibeam.com/Mobiles/search?q=$$',
170
            'infibeam': 'http://www.infibeam.com/Mobiles/search?q=$$',
171
            'letsbuy': 'http://www.letsbuy.com/advanced_search_result.php?cPath=254&keywords=$$',
171
            'letsbuy': 'http://www.letsbuy.com/advanced_search_result.php?cPath=254&keywords=$$',
172
            'snapdeal': '$$'
172
            'snapdeal': '$$',
-
 
173
            'sulekha': 'http://mobiles.sulekha.com/search.htm?cx=partner-pub-3470583419345383%3A8ggsimfcaaa&cof=FORID%3A10&ie=ISO-8859-1&q=$$&sa=Go',
-
 
174
            'tradus': 'http://www.tradus.com/search/tradus_search/?query=$$'
173
        }
175
        }
174
        
176
        
175
        for key in search_urls.iterkeys():
177
        for key in search_urls.iterkeys():
176
            try:
178
            try:
177
                if map[key]['url'] == 'Not Found':
179
                if map[key]['url'] == 'Not Found':
Line 329... Line 331...
329
            
331
            
330
            if 'price' in display_info['snapdeal'] and display_info['snapdeal']['price'] is not None:
332
            if 'price' in display_info['snapdeal'] and display_info['snapdeal']['price'] is not None:
331
                row += display_info['snapdeal']['price'] + tab
333
                row += display_info['snapdeal']['price'] + tab
332
            else:
334
            else:
333
                row += tab
335
                row += tab
-
 
336
                
-
 
337
            if 'price' in display_info['sulekha'] and display_info['sulekha']['price'] is not None:
-
 
338
                row += display_info['sulekha']['price'] + tab
-
 
339
            else:
-
 
340
                row += tab
-
 
341
            
-
 
342
            if 'price' in display_info['tradus'] and display_info['tradus']['price'] is not None:
-
 
343
                row += display_info['tradus']['price'] + tab
-
 
344
            else:
-
 
345
                row += tab
334
            responseText += row + newLine
346
            responseText += row + newLine
335
        
347
        
336
        self.write(responseText)
348
        self.write(responseText)
337
    
349
    
338
settings  = {
350
settings  = {