[deviantart] How to filter subscription images #5193
-
I want to skip the subscription locked images (blurred) when downloading galleries from deviantart. Previously I used "fallback": false to achieve this, but recently it started to download blurred versions as well. Other things I tried: "image-filter": "is_downloadable" -- filters out the blurred images, but now some non-blurred are missed too, when they don't have the download button on deviantart. "image-filter": "'locked' not in tier_access" -- this throws errors on non-subscriptions images, because the deviantart api doesn't included the tier_access key for non-sub-locked images. [deviantart][error] FilterError: Evaluating filter expression failed (NameError: name 'tier_access' is not defined) What is the best configuration to filter the subscription(/blurred) images? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
"locals().get('tier_access') != 'locked'" |
Beta Was this translation helpful? Give feedback.
-
It worked, thanks. |
Beta Was this translation helpful? Give feedback.
"locals().get('tier_access') != 'locked'"