Socialmetrica/Socialmetrica.package/NitterUser.class/instance/lastTweetsFromHtml.st

5 lines
163 B
Smalltalk

accessing
lastTweetsFromHtml
^ (self documentTree xpath: '//div[@class="timeline-item "]')
asOrderedCollection collect: [ :xmlElement | xmlElement postCopy ]