Subversion Repositories SmartDukaan

Rev

Rev 267 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 267 Rev 275
Line 79... Line 79...
79
        da = DataHelper()
79
        da = DataHelper()
80
        #UNIVERCELL_VATPLUSTAX = 0
80
        #UNIVERCELL_VATPLUSTAX = 0
81
        #removelist is used for converting price to decimal format containing only numbers and '.'
81
        #removelist is used for converting price to decimal format containing only numbers and '.'
82
        #UNIVERCELL_REMOVELIST = ["Rs",",","-","/"]
82
        #UNIVERCELL_REMOVELIST = ["Rs",",","-","/"]
83
        #list separated by ';'
83
        #list separated by ';'
84
        UNIVERCELL_REMOVELIST = get_code_word("UNIVERCELL_REMOVELIST")
84
        UNIVERCELL_REMOVELIST = str(get_code_word("UNIVERCELL_REMOVELIST"))
-
 
85
        if len(UNIVERCELL_REMOVELIST)>0:
85
        UNIVERCELL_REMOVELIST = UNIVERCELL_REMOVELIST.split(';')
86
            UNIVERCELL_REMOVELIST = UNIVERCELL_REMOVELIST.split(';')
86
        hxs = HtmlXPathSelector(response)
87
        hxs = HtmlXPathSelector(response)
87
        #UNIVERCELL_XPATH4 = '//td[@class="gray-border"]' 
88
        #UNIVERCELL_XPATH4 = '//td[@class="gray-border"]' 
88
        UNIVERCELL_XPATH4 = get_code_word("UNIVERCELL_XPATH4")
89
        UNIVERCELL_XPATH4 = get_code_word("UNIVERCELL_XPATH4")
89
        sites = hxs.select(UNIVERCELL_XPATH4)
90
        sites = hxs.select(UNIVERCELL_XPATH4)
90
        items = []
91
        items = []