Update app3.py

This commit is contained in:
grt1st
2016-11-10 10:08:33 +08:00
committed by GitHub
parent fa5af4949d
commit 760bb0a3cc

View File

@@ -26,7 +26,7 @@ for docs in os.listdir(path):
author=xml.xpath("//a[@class='author name ng-binding']")[0].text.replace(' ','').replace(' ','').replace('\n','')
time=xml.xpath("//time[@class='published ng-binding ng-isolate-scope']")[0].text
time=xml.xpath("//time[@class='published ng-binding ng-isolate-scope']")[0].text.replace('/','-')
doc=re.findall(pattern1,docs)
#doc[0]