Creating quotes metadata parsing.

This commit is contained in:
ruidajo 2022-04-18 18:36:07 -05:00
parent 8d87ee3ed7
commit 906b29a7ef

View File

@ -23,4 +23,6 @@ metricsFromNitterHtml: xmlItem
at: 'pinned'
put: (xmlItem xpath: '//div[@class="pinned"]') stringValue trimmed = 'Pinned Tweet';
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: '"/>)')