Commit Graph

1 Commits

Author SHA1 Message Date
Tamás Gulácsi eedf44ef20 pkg/importer/flickr: fix photosSearchItem unmarshal
As Adrian Tritschler reported, Flickr returns Lat/Long
with inconsistent quoting: 0 / "-32.2".

Also ints ("total", for example) can come in quoted ("6236") and
unquoted (6236) form, too.

This commit utilizes an int and a float32 with specialized Unmarshaler.

Change-Id: Ic559059272ba457860bf56a8671d5abd430eb404
2015-07-08 06:41:11 +02:00