Traceback (most recent call last):
File "C:\Users\user\Downloads\OnlyFans-master\OnlyFans-master\ofd.py", line 60, in
loop.run_until_complete(main())
File "C:\Users\user\AppData\Local\Programs\Python\Python39\lib\asyncio\base_events.py", line 642, in run_until_complete
return future.result()
File "C:\Users\user\Downloads\OnlyFans-master\OnlyFans-master\ofd.py", line 44, in main
api = await main_datascraper.start_datascraper(
File "C:\Users\user\Downloads\OnlyFans-master\OnlyFans-master\datascraper\main_datascraper.py", line 93, in start_datascraper
await main_helper.process_names(
File "C:\Users\user\Downloads\OnlyFans-master\OnlyFans-master\helpers\main_helper.py", line 930, in process_names
result = await module.start_datascraper(authed, username, site_name)
File "C:\Users\user\Downloads\OnlyFans-master\OnlyFans-master\modules\onlyfans.py", line 159, in start_datascraper
await prepare_scraper(authed, site_name, item)
File "C:\Users\user\Downloads\OnlyFans-master\OnlyFans-master\modules\onlyfans.py", line 786, in prepare_scraper
master_set = await subscription.get_posts()
File "C:\Users\user\Downloads\OnlyFans-master\OnlyFans-master\apis\onlyfans\classes\create_user.py", line 300, in get_posts
final_results = [create_post(x, self) for x in results]
File "C:\Users\user\Downloads\OnlyFans-master\OnlyFans-master\apis\onlyfans\classes\create_user.py", line 300, in
final_results = [create_post(x, self) for x in results]
File "C:\Users\user\Downloads\OnlyFans-master\OnlyFans-master\apis\onlyfans\classes\create_post.py", line 13, in init
self.author = create_user.create_user(option["author"])
KeyError: 'author'
Please provide some more context as to when this error is occuring. Right now we can only guess at the problem.
I good start would be providing the python version your using, the OS your using and if you are running native or in a docker.
Current commit. Windows 10. Native. Python 3.9.5
Happens right when the scrape is supposed to start. Checked the user db file and the only thing thats in there is "stories" when there should be several pictures and a few videos
Which user were you scraping
same here . Changed the set-cookie contained in INIT with the one in the first ME response, everything worked.
@bambooLoutre the sess_id is the same in both the init and me responses for me - are they different for you?
@bambooLoutre the sess_id is the same in both the init and me responses for me - are they different for you?
Didn't pay attention sorry :/ but i saw the cookie in INIT was way shorter than the one in the ME response so i assumed the first one wasn't right.
new commit didnt fix my issue
@neuri4848 @DIGITALCRIMINAL Still getting this error, even with the latest commit
yeah this issue hasnt been resolved. bambooloutre had a completely different issue than mine.
@DIGITALCRIMINAL