Created
December 12, 2012 20:05
-
-
Save hampelm/4271086 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
fonts = soup.find_all('font') | |
for font in fonts: | |
text = font.get_text() | |
slimmed = ' '.join(text.split()) | |
if "Entity Name: " in slimmed: | |
print slimmed |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment