HeardLibrary / vandycite

0 stars 0 forks source link

Modify Commonsbot to remove double spaces in labels #33

Closed baskaufs closed 2 years ago

baskaufs commented 2 years ago

When the labels are used to generate Commons filenames, the API turns double spaces into single spaces, causing VanderBot to not match the returned value from the Wikidata API. The failure to capture the UUID from the API results in double image statements.

baskaufs commented 2 years ago

Fixed in https://github.com/HeardLibrary/linked-data/commit/bf68e0005194b9d458f0f9c86d9be7a8304abb56 but not yet tested.

baskaufs commented 2 years ago

Completed testing, works fine.