def brandList(): DL = DownLoader('http://www.xiu.com/brand.html') src = DL.selenium() d = pq(src) text = d.find('li>dl>dd>a').my_text() res = [] for item in text: res.extend(item.split('/')) res = map(lambda x: x.replace(' ', ''), res) return res