Adds basic exception handling for some invalid data #39

Merged
merged 1 commit into from Nov 29, 2012

Projects

None yet

3 participants

@ckdake
Contributor
ckdake commented Oct 15, 2012

Fixes issue #38. If some data fails to parse in XmlSimple, convert to ISO-8859-1 and try again.

This is far from perfect, but lets these invalid data points be skipped when walking through api results. It's a shame that Last.fm returns invalid data sometimes :(

Test covers this fix and passes on ruby-1.9.3-p194

@nettofarah

when is this going to be merged?
I'm having a lot of problems with this parsing issue.

@youpy youpy merged commit d0aa7ce into youpy:master Nov 29, 2012

1 check passed

default The Travis build passed
Details
@youpy
Owner
youpy commented Nov 29, 2012

Thanks, sorry for slow reply.

I've merged and released 1.13.1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment