darkdragn / party

A quick *.party downloader
84 stars 12 forks source link

Error when downloading fansly content from coomer #28

Closed ZapperDJ closed 7 months ago

ZapperDJ commented 7 months ago

I tried to download the archive dfor different creators tha used a fansly account and get this error everytime:

Traceback (most recent call last):

  File "/home/user/.local/bin/party", line 8, in <module>
    sys.exit(APP())

  File "/home/user/.local/lib/python3.10/site-packages/party/cli.py", line 361, in search
    pull_user(

  File "/home/user/.local/lib/python3.10/site-packages/party/cli.py", line 172, in pull_user
    posts = list(

  File "/home/user/.local/lib/python3.10/site-packages/party/user.py", line 112, in generate_posts
    yield schema.load(post)

  File "/home/user/.local/lib/python3.10/site-packages/marshmallow/schema.py", line 722, in load
    return self._do_load(

  File "/home/user/.local/lib/python3.10/site-packages/marshmallow/schema.py", line 909, in _do_load
    raise exc

marshmallow.exceptions.ValidationError: {'id': ['Not a valid integer.']}
darkdragn commented 7 months ago

This is my fault. I'll have a patch up in a couple of minutes. (I accidentally had a regression when doing some other changes)

darkdragn commented 7 months ago

I just checked, actually not where I thought and not a regression, for some fansly posts it's returning a weird ID. For example:

{'id': 'DM370373687712423936370373687527878656'

I'll patch it, but I need to op test against kemono and onlyfans stuff. Shouldn't take long

darkdragn commented 7 months ago

The fix is in v0.7.3. Give it a run and let me know how it works out for you!

ZapperDJ commented 7 months ago

Tried it now and it is downloading, seems like the problem is gone :)