kemono-dl icon indicating copy to clipboard operation
kemono-dl copied to clipboard

'TypeError' when downloading favourited posts

Open thumbulonprime opened this issue 2 years ago • 0 comments

Version

Version: 2022.04.28 (downloaded from 'main' branch at 2022.10.09

Your Command


python kemono-dl.py --cookies "kemono.party_cookies.txt" --kemono-fav-posts --content --dirname-pattern "Downloads2" --filename-pattern "[{published}] - {username} ({service}_{user_id}) - {title} ({id}) {index}_{filename}.{ext}" --other-filename-pattern "[{published}] - {username} ({service}_{user_id}) - {title} ({id}).{ext}" --verbose.

Description of bug

Got an unexpected argument when downloading from the favourited posts on kemono.

How To Reproduce

Repeat the command.

Error messages and tracebacks


2022-10-09 21:16:10,248:DEBUG:Getting creator json from https://kemono.party/api/creators/
2022-10-09 21:16:10,659:ERROR:Unable to get favorite posts from kemono.party
Traceback (most recent call last):
  File "D:\****\src\main.py", line 665, in start_download
    self.get_favorites('kemono.party', 'post', retry=self.retry)
TypeError: get_favorites() got an unexpected keyword argument 'retry'

Additional comments

removing "'post', retry=self.retry" from the line seems to fix the error, but I don't know if it breaks something else.

thumbulonprime avatar Oct 09 '22 20:10 thumbulonprime