b3yc0d3 / rule34Py

python api wrapper for rule34.xxx rest api
https://pypi.org/project/rule34Py/
GNU General Public License v3.0
24 stars 6 forks source link

Search limit #7

Closed RemNX closed 2 years ago

RemNX commented 2 years ago

Hello, i want more than 1000 posts in the random_post command but even if i use the ignore_max_limit in the search command the command give me a maximum of 1000 posts

a=r3.search(["ass"], limit=2000,ignore_max_limit=True)
for i in a:
    print(i.id)

print(len(a))

len(a)=1000

b3yc0d3 commented 2 years ago

Sorry for the late answer The max limit of 1000 is set by the Rest API of rule34 (or more like how they set danbooru over there), as the official Rest API Documentation sayes