L4cache / kemono-dl

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

Error: Unable to to get favorite posts from kemono.su #26

Closed slormo closed 7 months ago

slormo commented 1 year ago

Version

Version: 2022.04.28 (latest github pull as 11/11/23)

Your Command


python3 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

Gives the error "Unable to to get favorite posts from kemono.su"

How To Reproduce

Run command with cookie file

Error messages and tracebacks


DEBUG:Getting creator json from https://kemono.su/api/v1/creators/
ERROR:Unable to get favorite posts from kemono.su
Traceback (most recent call last):
  File "D:\Nothing in particular\kemono\src\main.py", line 813, in start_download
    self.get_favorites(self.cookie_domains['kemono'], 'post', retry=self.retry)
TypeError: get_favorites() got an unexpected keyword argument 'retry'

Additional comments

L4cache commented 1 year ago

Please try with the latest change

AsiaIceorb commented 1 year ago

I tried the latest version but failed.

ERROR:Unable to get favorite users from kemono.su Traceback (most recent call last): File "G:\kemono-dl-main\src\main.py", line 827, in start_download self.get_favorites(self.cookie_domains['kemono'], 'artist', self.k_fav_users) File "G:\kemono-dl-main\src\main.py", line 147, in get_favorites if not (favorite['service'] in services or 'all' in services): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ TypeError: argument of type 'NoneType' is not iterable

L4cache commented 1 year ago

I tried the latest version but failed.

ERROR:Unable to get favorite users from kemono.su Traceback (most recent call last): File "G:\kemono-dl-main\src\main.py", line 827, in start_download self.get_favorites(self.cookie_domains['kemono'], 'artist', self.k_fav_users) File "G:\kemono-dl-main\src\main.py", line 147, in get_favorites if not (favorite['service'] in services or 'all' in services): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ TypeError: argument of type 'NoneType' is not iterable

Different issue. Did you provide argument value to --kemono-fav-users?

AsiaIceorb commented 1 year ago

I tried the latest version but failed. ERROR:Unable to get favorite users from kemono.su Traceback (most recent call last): File "G:\kemono-dl-main\src\main.py", line 827, in start_download self.get_favorites(self.cookie_domains['kemono'], 'artist', self.k_fav_users) File "G:\kemono-dl-main\src\main.py", line 147, in get_favorites if not (favorite['service'] in services or 'all' in services): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ TypeError: argument of type 'NoneType' is not iterable

Different issue. Did you provide argument value to --kemono-fav-users?

My command is: python kemono-dl.py --cookies cookie.txt --kemono-fav-users fanbox --extract-links It works before.

L4cache commented 1 year ago

I tried the latest version but failed. ERROR:Unable to get favorite users from kemono.su Traceback (most recent call last): File "G:\kemono-dl-main\src\main.py", line 827, in start_download self.get_favorites(self.cookie_domains['kemono'], 'artist', self.k_fav_users) File "G:\kemono-dl-main\src\main.py", line 147, in get_favorites if not (favorite['service'] in services or 'all' in services): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ TypeError: argument of type 'NoneType' is not iterable

Different issue. Did you provide argument value to --kemono-fav-users?

My command is: python kemono-dl.py --cookies cookie.txt --kemono-fav-users fanbox --extract-links It works before.

My bad. Should be fixed now.

AsiaIceorb commented 1 year ago

I tried the latest version but failed. ERROR:Unable to get favorite users from kemono.su Traceback (most recent call last): File "G:\kemono-dl-main\src\main.py", line 827, in start_download self.get_favorites(self.cookie_domains['kemono'], 'artist', self.k_fav_users) File "G:\kemono-dl-main\src\main.py", line 147, in get_favorites if not (favorite['service'] in services or 'all' in services): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ TypeError: argument of type 'NoneType' is not iterable

Different issue. Did you provide argument value to --kemono-fav-users?

My command is: python kemono-dl.py --cookies cookie.txt --kemono-fav-users fanbox --extract-links It works before.

My bad. Should be fixed now.

Thanks alot.Looking forward to your updates!