exclude non-tweets

This commit is contained in:
Romain Bignon 2015-05-23 17:55:02 +02:00
commit 5e5a8848fb

View file

@ -125,7 +125,7 @@ class TrendsPage(TwitterJsonHTMLPage):
class TimelineListElement(ListElement): class TimelineListElement(ListElement):
item_xpath = '//*[@data-item-type="tweet"]/div' item_xpath = '//*[@data-item-type="tweet"]/div[@data-tweet-id]'
ignore_duplicate = True ignore_duplicate = True
def get_last_id(self): def get_last_id(self):