diff --git a/pixivpy3/aapi.py b/pixivpy3/aapi.py index 39464346..2b9aa29d 100644 --- a/pixivpy3/aapi.py +++ b/pixivpy3/aapi.py @@ -155,11 +155,12 @@ def illust_comments(self, illust_id, offset=None, include_total_comments=None, r return self.parse_result(r) # 相关作品列表 - def illust_related(self, illust_id, filter='for_ios', seed_illust_ids=None, req_auth=True): + def illust_related(self, illust_id, filter='for_ios', seed_illust_ids=None, offset=None, req_auth=True): url = '%s/v2/illust/related' % self.hosts params = { 'illust_id': illust_id, 'filter': filter, + 'offset': offset, } if type(seed_illust_ids) == str: params['seed_illust_ids[]'] = [seed_illust_ids]