I don't know if it helps, but I spotted a typo: Replace the dollar sign in:
'image, format = '$(title)s' with format ='%(title)s'
I don't know if it helps, but I spotted a typo: Replace the dollar sign in:
'image, format = '$(title)s' with format ='%(title)s'