ArthurHeitmann / arctic_shift

Making Reddit data accessible to researchers, moderators and everyone else. Interact with the data through large dumps, an API or web interface.
https://arctic-shift.photon-reddit.com
272 stars 21 forks source link

Small add on. Can you guys add on articles shift the ability to filter by screenshot or gif? #23

Closed Ghother closed 3 months ago

ArthurHeitmann commented 3 months ago

Accurately determining the type of a reddit post (text, image, video, link, gallery, mix of all the previous) is actually a lot harder than it might first seem. The core issue is that reddit has no standardized way of uploading media (compared to other platforms like twitter for example). This because reddit at its core is a link sharing site.

Some of the edge cases:

Technically the "post_hint" field could be used. It has the following possible values: "link"|"image"|"self"|"video"|"hosted:video"|"rich:video"|"gallery". But due to the above concerns, I wouldn't rely on it that much.

TLDR; it's complicated and you will have to do the filtering on your end, so that it fits your needs.