exclude non-tweets
This commit is contained in:
parent
2706f9bf71
commit
5e5a8848fb
1 changed files with 1 additions and 1 deletions
|
|
@ -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):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue