Code4HR / open-health-inspection-scraper

Scraper for the open-health-inspector app.
Apache License 2.0
7 stars 9 forks source link

make tolerant of UTF-8 chars #2

Closed qwo closed 10 years ago

qwo commented 10 years ago

for example:

Lendy's Café & Raw Bar (01-1176)

unicode(string,'utf-8') is crapping out for me

py", line 74, in <module>
    print 'Insert ' + unicode(placeData['name'],'UTF-8')
TypeError: decoding Unicode is not supported
[Finished in 19.4s with exit code 1]
ttavenner commented 10 years ago

This does not seem to be an issue any more, at least as far as the scraper is concerned. Lendy's is in the system and can be searched for.

qwo commented 10 years ago

cool thanks @ttavenner this was on API v0.1