diff --git a/modules/twitter/pages.py b/modules/twitter/pages.py index 217a2f83..aeb58da1 100644 --- a/modules/twitter/pages.py +++ b/modules/twitter/pages.py @@ -125,7 +125,7 @@ class TrendsPage(TwitterJsonHTMLPage): class TimelineListElement(ListElement): - item_xpath = '//*[@data-item-type="tweet"]/div' + item_xpath = '//*[@data-item-type="tweet"]/div[@data-tweet-id]' ignore_duplicate = True def get_last_id(self):