| Line 126... |
Line 126... |
| 126 |
search_urls = {
|
126 |
search_urls = {
|
| 127 |
'flipkart': 'http://www.flipkart.com/search-mobiles?query=$$&from=all&searchGroup=mobiles',
|
127 |
'flipkart': 'http://www.flipkart.com/search-mobiles?query=$$&from=all&searchGroup=mobiles',
|
| 128 |
'homeshop18': 'http://www.homeshop18.com/$$/search:$$/categoryid:3024',
|
128 |
'homeshop18': 'http://www.homeshop18.com/$$/search:$$/categoryid:3024',
|
| 129 |
'adexmart': 'http://adexmart.com/search.php?orderby=position&orderway=desc&search_query=$$',
|
129 |
'adexmart': 'http://adexmart.com/search.php?orderby=position&orderway=desc&search_query=$$',
|
| 130 |
'infibeam': 'http://www.infibeam.com/Mobiles/search?q=$$',
|
130 |
'infibeam': 'http://www.infibeam.com/Mobiles/search?q=$$',
|
| 131 |
'letsbuy': 'http://www.letsbuy.com/advanced_search_result.php?cPath=254&keywords=$$'
|
131 |
'letsbuy': 'http://www.letsbuy.com/advanced_search_result.php?cPath=254&keywords=$$',
|
| - |
|
132 |
'snapdeal': 'http://www.snapdeal.com/search?catId=&categoryId=12&locUsed=false&vertical=p&keyword=$$'
|
| 132 |
}
|
133 |
}
|
| 133 |
return search_urls[source].replace('$$', name)
|
134 |
return search_urls[source].replace('$$', name)
|
| 134 |
|
135 |
|
| 135 |
def getDisplayInfo(filtered_cluster, product_name):
|
136 |
def getDisplayInfo(filtered_cluster, product_name):
|
| 136 |
display_info = {'adexmart': {}, 'flipkart': {}, 'homeshop18': {}, 'infibeam': {}, 'snapdeal': {}}
|
137 |
display_info = {'adexmart': {}, 'flipkart': {}, 'homeshop18': {}, 'infibeam': {}, 'snapdeal': {}}
|