Skip to content

[Zerochan] Requesting support for URLs with sorting and filter parameters in tag extractor #8377

@taskhawk

Description

@taskhawk

I recently discovered there's a 20,000 posts limit in the Zerochan API. For tags with a higher amount than that, the earlier posts are inaccessible as results are sorted by id in descending order by default, with no option to reverse the order.

I see no obvious way to get around the limit. Their docs suggest each page reaches a maximum of 250 posts but they actually top at 200, and the limit kicks in after 100 pages. The post limit in the website is way lower than the API.

The only way I can think of to squeeze a bit more is to support other sorting methods and filters that work in the API and hope they return some posts beyond the limit. That would be strict mode (strict), sorting by popular (fav), and the dimensions (d) and color (c) filters. The random option seems useless as it returns very few results.

Browser examples:

https://www.zerochan.net/Saber+(Fate%2Fstay+night)
https://www.zerochan.net/Saber+(Fate%2Fstay+night)?strict
https://www.zerochan.net/Saber+(Fate%2Fstay+night)?s=fav
https://www.zerochan.net/Saber+(Fate%2Fstay+night)?d=large
https://www.zerochan.net/Saber+(Fate%2Fstay+night)?c=red
https://www.zerochan.net/Saber+(Fate%2Fstay+night)?s=fav&d=large
https://www.zerochan.net/Saber+(Fate%2Fstay+night)?s=fav&d=large&c=red

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions