Update app2.py

This commit is contained in:
grt1st
2016-11-10 10:06:21 +08:00
committed by GitHub
parent 7cd340fdf6
commit fa5af4949d

View File

@@ -27,7 +27,7 @@ for docs in os.listdir(path):
author=xml.xpath("//h3[@class='wybug_author']//a")[0].get('href').replace('http://www.wooyun.org/whitehats/','')
types=xml.xpath("//h3[@class='wybug_type']")[0].text.replace(' ','')
typr1=types.replace(pattern0,'')
type1=types.replace(pattern0,'')
date=xml.xpath("//h3[@class='wybug_date']")[0].text.replace(' ','')
date1=date.replace(pattern1,'')