azuline / pixiv-api

A documented, idiomatic, and tested wrapper library around Pixiv's App API.
https://pixiv-api.readthedocs.io/
Apache License 2.0
129 stars 13 forks source link

Offset issue with fetch_illustrations_following? #8

Closed wcronai closed 4 years ago

wcronai commented 4 years ago

Tried to retrieve illustrations from followers but am only able to retrieve 30 illustrations and when I tried

response = client.fetch_illustrations_following(Visibility.PUBLIC, offset=response['next']),

I only get the same 30 illustrations (the first 30) instead of the next 30 illustrations.

Could be an issue in the GET response where offset isn't passed as the params? Not sure or am I just using this fetch_illustrations_following wrongly?

azuline commented 4 years ago

Whoops! Thanks for the report, fixed in v0.3.5.