The code cannot detect edited post(s) when there are both edited posts and removed posts during one cycle. Although it is logically impossible to perfectly detect which post is edited and which is deleted if len(pdict_before) > len(pdict_after), there should be some algorithm to compare the initial upload date, uploader, etc.
The code cannot detect edited post(s) when there are both edited posts and removed posts during one cycle. Although it is logically impossible to perfectly detect which post is edited and which is deleted if
len(pdict_before) > len(pdict_after)
, there should be some algorithm to compare the initial upload date, uploader, etc.