Skip to content

Commit

Permalink
fixed `MediaMixin.user_medias_paginated() got an unexpected keyword a…
Browse files Browse the repository at this point in the history
…rgument 'cursor'`
  • Loading branch information
obervinov committed Dec 19, 2024
1 parent 0d7a3af commit bb94c44
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/downloader.py
Original file line number Diff line number Diff line change
Expand Up @@ -402,4 +402,4 @@ def get_account_posts(self, user_id: int = None, cursor: str = None) -> list | N
(list) list of posts
"""
log.info('[Downloader]: extracting the list of posts for the user pk %s...', user_id)
return self.client.user_medias_paginated(user_id=user_id, amount=9, cursor=cursor)
return self.client.user_medias_paginated(user_id=user_id, amount=9, end_cursor=cursor)

0 comments on commit bb94c44

Please sign in to comment.