projects
/
tweepy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
17cdae7
)
Fix Status.source_url parsing.
author
Josh Roesslein
<jroesslein@gmail.com>
Thu, 1 Oct 2009 20:46:47 +0000
(15:46 -0500)
committer
Josh Roesslein
<jroesslein@gmail.com>
Thu, 1 Oct 2009 20:46:47 +0000
(15:46 -0500)
tweepy/parsers.py
patch
|
blob
|
blame
|
history
diff --git
a/tweepy/parsers.py
b/tweepy/parsers.py
index daae037b4088cf66013662133c7242e3a2efe199..152de4c03c5648e7a81812a5e436e0afa9153f74 100644
(file)
--- a/
tweepy/parsers.py
+++ b/
tweepy/parsers.py
@@
-47,7
+47,9
@@
def _parse_html_value(html):
def _parse_a_href(atag):
- return atag[atag.find('"')+1:atag.find('>')-1]
+ start = atag.find('"') + 1
+ end = atag.find('"', start)
+ return atag[start:end]
def _parse_user(obj, api):