Notice: Do you have an artist tag on Gelbooru? Let us know so we can properly credit you!

Ticket Information - ID: #886

ID:Category:SeverityReproducibilityDate SubmittedUpdated By:
0000886Feature Requestnormalalways05/22/17 12:23AMnand
Assigned to:geltas
View StatusPublic
Target Version:N/A
Summary:Allow using the API through HTTP
Description:Currently, the HTTP API endpoint always redirects to HTTPS, incurring needless performance loss and CPU time if you're trying to scrape a lot of posts. It would be cool if you could disable the forced https redirect for the API.
Additional Info:
Jerl replied at 2017-05-22 19:29:00
Unless you're a public search engine, you shouldn't be scraping hard enough for CPU load to be an issue. Our Terms of Service prohibits automated retrieval or indexing of any portion of the site.

nand replied at 2017-05-28 15:34:16
Yeah fair enough; I also figured out how to re-use HTTPS connections instead of opening new ones; which makes this a non-issue.