]>
jfr.im git - irc/rizon/acid.git/blob - pyva/src/main/python/esim/api/article.py
3 header
= a
.getpath(a
.xpath("//a[@class='articleTitle']")[0])[:-3]
5 self
.title
= a
.xpath(header
+ "/a[1]//text()")
6 self
.writer
= a
.xpath(header
+ "/a[2]//text()")
7 self
.votes
= a
.xpath(header
+ "/div")[1].text
.strip()
8 self
.subs
= a
.xpath("//div[@class='bigArticleTab']")[1].text
.strip()