projects
/
whoisi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a612a8e
)
Twitter has changed from Atom to RSS.
author
Andrew Ruthven
<andrew@etc.gen.nz>
Mon, 22 Jun 2009 10:38:30 +0000
(22:38 +1200)
committer
Andrew Ruthven
<andrew@etc.gen.nz>
Mon, 22 Jun 2009 10:38:30 +0000
(22:38 +1200)
services/command/twitter.py
patch
|
blob
|
history
diff --git
a/services/command/twitter.py
b/services/command/twitter.py
index e3fdd1cb53be9d321ffcb1ce1049acb5f89a4277..305080db630832cba9ccab8043a786ca716c1afd 100644
(file)
--- a/
services/command/twitter.py
+++ b/
services/command/twitter.py
@@
-39,7
+39,7
@@
class Twitter:
def getPreferredFeed(self, feeds):
for i in range(0, len(feeds)):
- if feeds[i][1] == u'application/
atom
+xml' and re.match('http://twitter.com/statuses/user_timeline/', feeds[i][0]):
+ if feeds[i][1] == u'application/
rss
+xml' and re.match('http://twitter.com/statuses/user_timeline/', feeds[i][0]):
print(" Found preferred feed at %s" % feeds[i][0])
return feeds[i]