Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Zahra Rajabi
tweepy
Commits
c53e9252
Commit
c53e9252
authored
Oct 12, 2009
by
Josh Roesslein
Browse files
Give credit to Fredrik Lundh for html unescape code.
parent
0a954c9f
Changes
2
Hide whitespace changes
Inline
Side-by-side
CONTRIBUTORS
View file @
c53e9252
...
...
@@ -6,3 +6,5 @@ Mark Lango
- Ignore key arguments with value of None
Pascal Jurgens
- Streaming API fix
Fredrik Lundh
- html unescape (http://effbot.org/zone/re-sub.htm#unescape-html)
tweepy/parsers.py
View file @
c53e9252
...
...
@@ -43,6 +43,7 @@ def _parse_search_datetime(str):
def
unescape_html
(
text
):
"""Created by Fredrik Lundh (http://effbot.org/zone/re-sub.htm#unescape-html)"""
def
fixup
(
m
):
text
=
m
.
group
(
0
)
if
text
[:
2
]
==
"&#"
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment