Skip to content

Commit

Permalink
Merge pull request #4395 from guardian/mk-shutterstock-editorial
Browse files Browse the repository at this point in the history
Match on “Shutterstock Editorial” source
  • Loading branch information
andrew-nowak authored Jan 10, 2025
2 parents 282cd24 + b8b716f commit 25eab01
Showing 1 changed file with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -420,10 +420,11 @@ object RexParser extends ImageProcessor {

(image.metadata.source, image.metadata.credit) match {
// TODO: cleanup byline/credit
case (Some("Rex Features"), _) => image.copy(usageRights = usageRights)
case (_, Some(SlashRex())) => image.copy(usageRights = usageRights)
case (Some("REX/Shutterstock"), _) => image.copy(usageRights = usageRights)
case (Some("Shutterstock"), _) => image.copy(usageRights = usageRights)
case (Some("Rex Features"), _) => image.copy(usageRights = usageRights)
case (_, Some(SlashRex())) => image.copy(usageRights = usageRights)
case (Some("REX/Shutterstock"), _) => image.copy(usageRights = usageRights)
case (Some("Shutterstock"), _) => image.copy(usageRights = usageRights)
case (Some("Shutterstock Editorial"), _) => image.copy(usageRights = usageRights)
case _ => image
}
}
Expand Down

0 comments on commit 25eab01

Please sign in to comment.