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

AttributeError: 'dict' object has no attribute 'get_authed' #5

Open
ChillyP opened this issue May 15, 2023 · 2 comments
Open

AttributeError: 'dict' object has no attribute 'get_authed' #5

ChillyP opened this issue May 15, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@ChillyP
Copy link

ChillyP commented May 15, 2023

Hey DC,

I seem to be having an issue with the latest commit, seems like its an issue with USAPI

PS C:\Users\user\Documents\GitHub\UltimaScraper> poetry run python start_us.py
Traceback (most recent call last):
  File "C:\Users\user\Documents\GitHub\UltimaScraper\start_us.py", line 62, in <module>
    asyncio.run(main())
  File "C:\Users\user\AppData\Local\Programs\Python\Python310\lib\asyncio\runners.py", line 44, in run
    return loop.run_until_complete(main)
  File "C:\Users\user\AppData\Local\Programs\Python\Python310\lib\asyncio\base_events.py", line 649, in run_until_complete
    return future.result()
  File "C:\Users\user\Documents\GitHub\UltimaScraper\start_us.py", line 44, in main
    _api = await USR.start(
  File "C:\Users\user\Documents\GitHub\UltimaScraper\ultima_scraper\ultima_scraper.py", line 52, in start
    await self.start_datascraper(datascraper)
  File "C:\Users\user\Documents\GitHub\UltimaScraper\ultima_scraper\ultima_scraper.py", line 136, in start_datascraper
    final_job_user_list = await datascraper.configure_datascraper_jobs()
  File "C:\Users\user\AppData\Local\pypoetry\Cache\virtualenvs\ultima-scraper-BeqlQt5t-py3.10\lib\site-packages\ultima_scraper_collection\modules\module_streamliner.py", line 121, in configure_datascraper_jobs
    paid_contents = await authed.get_paid_content()
  File "C:\Users\user\AppData\Local\pypoetry\Cache\virtualenvs\ultima-scraper-BeqlQt5t-py3.10\lib\site-packages\ultima_scraper_api\apis\onlyfans\classes\auth_model.py", line 469, in get_paid_content
    content = create_message(final_result, user)
  File "C:\Users\user\AppData\Local\pypoetry\Cache\virtualenvs\ultima-scraper-BeqlQt5t-py3.10\lib\site-packages\ultima_scraper_api\apis\onlyfans\classes\message_model.py", line 15, in __init__
    author = user.get_authed().find_user_by_identifier(option["fromUser"]["id"])
AttributeError: 'dict' object has no attribute 'get_authed'
@akiba-geek
Copy link

@DIGITALCRIMINAL DIGITALCRIMINAL added the bug Something isn't working label May 30, 2023
@DIGITALCRIMINAL
Copy link
Collaborator

DIGITALCRIMINAL commented May 30, 2023

Error is caused by having paid content from a user who deleted their account

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

3 participants