Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

i have no programming knowledge and im getting an error #185

Open
futagyaru opened this issue Apr 1, 2023 · 4 comments
Open

i have no programming knowledge and im getting an error #185

futagyaru opened this issue Apr 1, 2023 · 4 comments
Labels
bug Something isn't working

Comments

@futagyaru
Copy link

here is the error/text in my cmd terminal:

C:\Users\cutel\Downloads\kemono-dl-2022.04.27\kemono-dl-2022.04.27>py kemono-dl.py --cookies "cookie.txt" --links https://kemono.party/patreon/user/364196
ERROR:Unable to get posts for https://kemono.party/patreon/user/364196
Traceback (most recent call last):
File "C:\Users\cutel\Downloads\kemono-dl-2022.04.27\kemono-dl-2022.04.27\src\main.py", line 641, in start_download
self.get_post(url)
File "C:\Users\cutel\Downloads\kemono-dl-2022.04.27\kemono-dl-2022.04.27\src\main.py", line 161, in get_post
post = self.clean_post(post, user, site)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\cutel\Downloads\kemono-dl-2022.04.27\kemono-dl-2022.04.27\src\main.py", line 329, in clean_post
new_post['post_variables']['user_updated'] = datetime.datetime.strptime(user['updated'], r'%a, %d %b %Y %H:%M:%S %Z').strftime(self.date_strf_pattern) if user['updated'] else None
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: strptime() argument 1 must be str, not float

@futagyaru futagyaru added the bug Something isn't working label Apr 1, 2023
@L4cache
Copy link

L4cache commented Apr 10, 2023

Check some forks that address this problem

@qosky1988
Copy link

did anyone find the branch that works tho?

@OleksiiKulish
Copy link

Looks like currently JSON from kemono.party does not have user['updated'], commenting 329 line in src\main.py helps.

@emojiluxuri
Copy link

#179
#179 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants