python - pync interacting with tweepy -
am python newbie here. trying filter tweets using tweepy , streaming function, , push alert me via pync.
using notifier function, i've noticed when notification pure text. moment there url in there, no longer see notification.
i've tried decoding/encoding utf-8/ascii suspecting issue has got format, , i've tried using regex extract part without url, nothing seems work.
an example of tweet trying push myself be:
[bukit timah] snorlax until 8:14:00am @ pie http://maps.google.com/maps?q=1.336806,103.809445 … http://sgpokemap.com
would appreciate help! if need more information let me know!
i've solved myself! seems notifier cannot take in character brackers [ , ]. did filter out , ok.
Comments
Post a Comment