Preventing metdata postprocessor from running on skipped posts #8485
Unanswered
powerfulsaber
asked this question in
Q&A
Replies: 1 comment 2 replies
-
|
The current code has no concept of actual posts, let alone "skipped" posts. The only thing that can be skipped are files, nothing else. You can probably implement some form of workaround using a postprocessor |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have a metadata postprocessor running at event
postfor instagram, but I've noticed it will create a metadata file for a post despite skipping over it.I tested this by adding
subcategoryto its filename, downloaded the first page of a user's reels, and then downloaded the first page of the user's posts. Assuming the user has a portion of their reels available on their posts, there'll be two metadata files of the same reel: one with subcategory posts and another with subcategory reels. This can be mitigated by usingtypeinstead ofsubcategory, so it'd have a consistent filename to prevent duplicates, but it's not ideal since it's unnecessarily overwriting it every time.Based on the documentation, event
postisn't meant to run for skipped posts, so this is likely a bug. I also triedpost-afterbut the same issue occurred. I recall experiencing this before when using a filter on a user's tagged page; it'd download metadata files of posts/reels that don't pass the filter, despite the event being only meant for posts it'll download (reminds me of #7814).Beta Was this translation helpful? Give feedback.
All reactions