| Line 81... |
Line 81... |
| 81 |
Removelist = To filer the prices so as to make them integer for eg remove ',' or 'Rs'
|
81 |
Removelist = To filer the prices so as to make them integer for eg remove ',' or 'Rs'
|
| 82 |
"""
|
82 |
"""
|
| 83 |
hxs = HtmlXPathSelector(response)
|
83 |
hxs = HtmlXPathSelector(response)
|
| 84 |
#INDIAPLAZA_REMOVELIST = ["Rs.","Rs",",","-","/"]
|
84 |
#INDIAPLAZA_REMOVELIST = ["Rs.","Rs",",","-","/"]
|
| 85 |
#List separated by ';'
|
85 |
#List separated by ';'
|
| 86 |
INDIAPLAZA_REMOVELIST = get_code_word("INDIAPLAZA_REMOVELIST")
|
86 |
INDIAPLAZA_REMOVELIST = str(get_code_word("INDIAPLAZA_REMOVELIST"))
|
| - |
|
87 |
if len(INDIAPLAZA_REMOVELIST)>0:
|
| 87 |
INDIAPLAZA_REMOVELIST = INDIAPLAZA_REMOVELIST.split(';')
|
88 |
INDIAPLAZA_REMOVELIST = INDIAPLAZA_REMOVELIST.split(';')
|
| 88 |
#INDIAPLAZA_XPATH4 = './/div[@class="finDetHdr"]/h1/text()'
|
89 |
#INDIAPLAZA_XPATH4 = './/div[@class="finDetHdr"]/h1/text()'
|
| 89 |
INDIAPLAZA_XPATH4 = get_code_word("INDIAPLAZA_XPATH4")
|
90 |
INDIAPLAZA_XPATH4 = get_code_word("INDIAPLAZA_XPATH4")
|
| 90 |
#INDIAPLAZA_XPATH5 = './/div[@class="priceArea"]/span[1]/text()'
|
91 |
#INDIAPLAZA_XPATH5 = './/div[@class="priceArea"]/span[1]/text()'
|
| 91 |
INDIAPLAZA_XPATH5 = get_code_word("INDIAPLAZA_XPATH5")
|
92 |
INDIAPLAZA_XPATH5 = get_code_word("INDIAPLAZA_XPATH5")
|
| 92 |
#INDIAPLAZA_XPATH6 = './/div[@class="priceArea"]/div[@class="row"][2]/text()'
|
93 |
#INDIAPLAZA_XPATH6 = './/div[@class="priceArea"]/div[@class="row"][2]/text()'
|