Twitterãããªã¢ã«ã¿ã¤ã ã«Tweetãåä¿¡ã§ããStreaming APIã試ãã¦ã¿ã Pythonããå©ç¨ããããã«ãTwitterç¨ã©ã¤ãã©ãªã®tweepyãã¤ã³ã¹ãã¼ã«ãã # easy_install tweepy ãã®tweepyã®Streamç¨APIçµç±ã§ãTwitterã®Streaming APIãå©ç¨ã㦠Public TLããæ¥æ¬èªã ãã®Tweetãåãåºãã¦ã¿ãã # -*- coding: utf-8 -*- import sys import tweepy import re Q = sys.argv[1:] class CustomStreamListener(tweepy.StreamListener): def on_status(self, status): try: # æ¼¢åãã²ãããªãã«ã¿ã«ããä¸æåã§ãããã°ç°¡æçã«æ¥æ¬èªã®TLã¨ãã if(re
{{#tags}}- {{label}}
{{/tags}}