[tor-commits] [gettor/master] Fix twitter responder for links limit

hiro at torproject.org hiro at torproject.org
Tue Oct 15 18:07:12 UTC 2019


commit 9dd04d0e64fcfb7faf55ef280b523c57b4b614a2
Author: hiro <hiro at torproject.org>
Date:   Tue Oct 15 20:07:10 2019 +0200

    Fix twitter responder for links limit
---
 gettor/parse/twitter.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gettor/parse/twitter.py b/gettor/parse/twitter.py
index 1c259d5..b132b8d 100644
--- a/gettor/parse/twitter.py
+++ b/gettor/parse/twitter.py
@@ -121,7 +121,7 @@ class TwitterParser(object):
             )
 
             num_requests += yield conn.get_num_requests(
-                id=request['id'], service=request['service']
+                id=str(request['id']), service=request['service']
             )
 
             if num_requests[0][0] < twitter_requests_limit:



More information about the tor-commits mailing list