c = [item for item in a if item["item_id"] not in b]
Will be better to make "b" as a set in case of a large amount of items.
1.4m articles
1.4m replys
5 comments
56.9k users