set post limit to 320 posts per request

This commit is contained in:
SoXX 2023-06-22 12:18:25 +02:00
parent 8cf25e2ac9
commit b75cacef82

View File

@ -13,7 +13,7 @@ func (c *Client) GetFavorites(user models.E621User) ([]models.Post, error) {
var URIPath string
for {
URIPath = fmt.Sprintf("favorites.json?user_id=%d&page=%d", user.ID, page)
URIPath = fmt.Sprintf("favorites.json?limit=320?user_id=%d&page=%d", user.ID, page)
log.WithFields(log.Fields{
"id": user.ID,
"fav_page": page,