Skip to content
This repository has been archived by the owner on Jun 13, 2020. It is now read-only.

API: File objects need thumbnail file extension exposed #561

Open
N3X15 opened this issue Dec 18, 2017 · 0 comments
Open

API: File objects need thumbnail file extension exposed #561

N3X15 opened this issue Dec 18, 2017 · 0 comments

Comments

@N3X15
Copy link

N3X15 commented Dec 18, 2017

Thumbnails occasionally have differing file extensions than the originating file. While it appears 8ch currently uses thumbnails with the same extension and type as the originating file (and .jpg when webm/mp4/etc), it appears config was changed in the distant past, and there are posts on many slower boards where the thumbnail extension is forced to JPG.

Therefore, it'd be nice if thumb_ext for each file was exposed. Right now, my bot is making up to two HTTP requests trying to bruteforce the file extension when the usual rules fail, and this is an undesirable, hacky solution.


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant