I was having an issue with the scraper but I think I fixed it:
I was able to import title and details, but not tags (which are the only three fields I’ve tried importing so far). Turned out the issue was the script trying to reference value_parts under the else: statement (line 228), but the default value was only set under the “if.”
I just repeated the declaration under else:.
else:
value_parts = []
value_parts.extend(value.split(','))
It may not be the most elegant, and Notepad++ gave me trouble by using spaces instead of tabs or indentation, but I don’t actual know anything more than RegEx so it’s the most I can do lol.
Also, for anyone curious who got intimated by the Exiv2 documentation, you can use a dumber of different tags that will all by imported to the same field. The mapping I’m using is
ImageTitle => Title
DateTimeOriginal => Date
(The format is “YYYY:mm:dd HH:MM:SS” and it requires all of those elements or Exiftool won’t update the tag)
ImageDescription => Details
XPKeywords => Tags
(These just need to be a comma seperated list)
The script indicates that XPAuthor and Artist can be used to set “Studio” but I haven’t actually tried it yet. I’m not sure if the script distinguishes between “Studio” and “Photographer.”