From fa5af4949db2e0c398085ec3da5bdafa9bf77cac Mon Sep 17 00:00:00 2001 From: grt1st Date: Thu, 10 Nov 2016 10:06:21 +0800 Subject: [PATCH] Update app2.py --- app2.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app2.py b/app2.py index 6226b6a..7ff5255 100644 --- a/app2.py +++ b/app2.py @@ -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,'')