L4cache / kemono-dl

(personal fork of) A simple kemono.party downloader using python.
93 stars 14 forks source link

'TypeError' when downloading favourited posts #6

Closed thumbulonprime closed 1 year ago

thumbulonprime commented 1 year ago

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.