mirror of
https://git.wownero.com/wownero/tippero.git
synced 2024-08-15 00:33:14 +00:00
twitter: log list of tweets received, for debugging ease
This commit is contained in:
parent
b757441c15
commit
37b663bcfe
1 changed files with 1 additions and 0 deletions
|
@ -233,6 +233,7 @@ class TwitterNetwork(Network):
|
||||||
# doesn't seem to obey since_id
|
# doesn't seem to obey since_id
|
||||||
#results = self.twitter.mentions_timeline(since_id=self.last_seen_tweet_id)
|
#results = self.twitter.mentions_timeline(since_id=self.last_seen_tweet_id)
|
||||||
results = [status for status in tweepy.Cursor(self.twitter.mentions_timeline,q=self.keyword,since_id=self.last_seen_tweet_id).items(100)]
|
results = [status for status in tweepy.Cursor(self.twitter.mentions_timeline,q=self.keyword,since_id=self.last_seen_tweet_id).items(100)]
|
||||||
|
log_log('tweet list since %d: %s' % (long(self.last_seen_tweet_id),str(results)))
|
||||||
for result in results:
|
for result in results:
|
||||||
self._parse_tweet(result)
|
self._parse_tweet(result)
|
||||||
if long(result.id) > self.last_seen_tweet_id:
|
if long(result.id) > self.last_seen_tweet_id:
|
||||||
|
|
Loading…
Reference in a new issue