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

API: File objects need thumbnail file extension exposed #561

@N3X15

Description

@N3X15

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions