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

authed.issues = issues if issues["data"] else None / KeyError: 'data' #2134

Open
tim1f1 opened this issue Jan 14, 2025 · 2 comments
Open

authed.issues = issues if issues["data"] else None / KeyError: 'data' #2134

tim1f1 opened this issue Jan 14, 2025 · 2 comments

Comments

@tim1f1
Copy link

tim1f1 commented Jan 14, 2025

Getting this whenever I try running it


C:\Users\tim_f\Documents\OnlyFans-master>poetry run python start_us.py
Choose Sites: 0 = All | 1 = OnlyFans | 2 = Fansly
1
Traceback (most recent call last):
  File "C:\Users\tim_f\Documents\OnlyFans-master\start_us.py", line 62, in <module>
    asyncio.run(main())
  File "C:\Users\tim_f\AppData\Local\Programs\Python\Python310\lib\asyncio\runners.py", line 44, in run
    return loop.run_until_complete(main)
  File "C:\Users\tim_f\AppData\Local\Programs\Python\Python310\lib\asyncio\base_events.py", line 649, in run_until_complete
    return future.result()
  File "C:\Users\tim_f\Documents\OnlyFans-master\start_us.py", line 44, in main
    _api = await USR.start(
  File "C:\Users\tim_f\Documents\OnlyFans-master\ultima_scraper\ultima_scraper.py", line 50, in start
    await self.start_datascraper(datascraper)
  File "C:\Users\tim_f\Documents\OnlyFans-master\ultima_scraper\ultima_scraper.py", line 67, in start_datascraper
    await self.process_profiles(api, global_settings)
  File "C:\Users\tim_f\Documents\OnlyFans-master\ultima_scraper\ultima_scraper.py", line 171, in process_profiles
    authed = await api.login(json_auth)
  File "C:\Users\tim_f\AppData\Local\pypoetry\Cache\virtualenvs\ultima-scraper-VdS0BOvl-py3.10\lib\site-packages\ultima_scraper_api\apis\onlyfans\onlyfans.py", line 38, in login
    authed.issues = issues if issues["data"] else None
KeyError: 'data'
@tim1f1
Copy link
Author

tim1f1 commented Feb 16, 2025

@DIGITALCRIMINAL any suggestions?

@barthramsay
Copy link

barthramsay commented Feb 25, 2025

I had that too today (after cleaning my browser cache).

Be sure to check x_bc is right (it was wrong in my case). One time wrong something is garbled up and it will never work (just getting the same error message repeatedly).

You maybe need to log out and log in again and check that all values are set right.

Then it will work again without code changes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants