Creating quotes metadata parsing.
This commit is contained in:
parent
8d87ee3ed7
commit
906b29a7ef
@ -23,4 +23,6 @@ metricsFromNitterHtml: xmlItem
|
|||||||
at: 'pinned'
|
at: 'pinned'
|
||||||
put: (xmlItem xpath: '//div[@class="pinned"]') stringValue trimmed = 'Pinned Tweet';
|
put: (xmlItem xpath: '//div[@class="pinned"]') stringValue trimmed = 'Pinned Tweet';
|
||||||
at: 'replie to'
|
at: 'replie to'
|
||||||
put: (xmlItem xpath: '//div[@class="tweet-body"]//div[@class="replying-to"]') stringValue trimmed.
|
put: (xmlItem xpath: '//div[@class="tweet-body"]//div[@class="replying-to"]') stringValue trimmed;
|
||||||
|
at: 'quote'
|
||||||
|
put: ((((((xmlItem xpath: '//div[@class="tweet-body"]//div[@class="quote quote-big"]//a[@class="quote-link"]') postCopy) asString) splitOn: 'href="/') second) removeSuffix: '"/>)')
|
Loading…
Reference in New Issue
Block a user