KeyError: 'medias'
Hi there, Im receiving the following error since the latest commit
Type: Profile
0.00B [00:00, ?B/s]
Type: Stories
Scraping [photo]. Should take less than a minute.
Scraping [photo]. Should take less than a minute.
Traceback (most recent call last):
File "G:\Photo_OF_Scraper\OnlyFans\start_ofd.py", line 43, in
I get an identical error
Model username?
vickyaisha
also getting this error
I as well on model lushberry.
I am too after moving to 6.4.
Try latest commit
Try latest commit
Got stopped on user zoeyssweettea in new commit.
Scrape Processing
Name: zoeyssweettea
Type: Profile
0.00B [00:00, ?B/s]
Type: Stories
No Stories Found.
Type: Posts
Scrape Attempt: 1/100
Found: Posts
Scraping [photo]. Should take less than a minute.
Scraping [photo]. Should take less than a minute.
Scraping [photo]. Should take less than a minute.
Scraping [photo]. Should take less than a minute.
Scraping [photo]. Should take less than a minute.
Traceback (most recent call last):
File "I:\OnlyFans-6.4-temp\start_ofd.py", line 43, in <module>
apis = main_datascraper.start_datascraper(json_config, site_name_lower)
File "I:\OnlyFans-6.4-temp\datascraper\main_datascraper.py", line 98, in start_datascraper
names = main_helper.process_names(
File "I:\OnlyFans-6.4-temp\helpers\main_helper.py", line 625, in process_names
result = module.start_datascraper(
File "I:\OnlyFans-6.4-temp\modules\onlyfans.py", line 147, in start_datascraper
results = prepare_scraper(
File "I:\OnlyFans-6.4-temp\modules\onlyfans.py", line 704, in prepare_scraper
unrefined_set = pool.starmap(media_scraper, product(
File "C:\Users\user\AppData\Local\Programs\Python\Python39\lib\multiprocessing\pool.py", line 372, in starmap
return self._map_async(func, iterable, starmapstar, chunksize).get()
File "C:\Users\user\AppData\Local\Programs\Python\Python39\lib\multiprocessing\pool.py", line 771, in get
raise self._value
File "C:\Users\user\AppData\Local\Programs\Python\Python39\lib\multiprocessing\pool.py", line 125, in worker
result = (True, func(*args, **kwds))
File "C:\Users\user\AppData\Local\Programs\Python\Python39\lib\multiprocessing\pool.py", line 51, in starmapstar
return list(itertools.starmap(args[0], args[1]))
File "I:\OnlyFans-6.4-temp\modules\onlyfans.py", line 1071, in media_scraper
found_medias = [x for x in post["medias"]
KeyError: 'medias'
Getting also the same error
Can reproduce
Scraping - stefanisomers | 5 / 432
Scraping [photo]. Should take less than a minute.
Scraping [video | stream | gif]. Should take less than a minute.
Traceback (most recent call last):
File "O:\OnlyFans-master\start_ofd.py", line 43, in <module>
apis = main_datascraper.start_datascraper(json_config, site_name_lower)
File "O:\OnlyFans-master\datascraper\main_datascraper.py", line 95, in start_datascraper
paid_content = module.paid_content_scraper(apis, identifiers)
File "O:\OnlyFans-master\modules\onlyfans.py", line 353, in paid_content_scraper
unrefined_set = media_scraper(paid_content, api, subscription,
File "O:\OnlyFans-master\modules\onlyfans.py", line 1071, in media_scraper
found_medias = [x for x in post["medias"]
KeyError: 'medias'
Getting same error on a few accounts.
rileyreidx3, zoeyssweettea, kimmygrangerxxx, evelinstone, kementari
I think all of them worked before the 6.4.1 commit
Updated to 6.4.1 and the error still happens on the same model.
I'm getting the same issue also
Scraping [photo]. Should take less than a minute. Traceback (most recent call last): File "OnlyFans-master 3/start_ofd.py", line 43, in
apis = main_datascraper.start_datascraper(json_config, site_name_lower) File "OnlyFans-master 3/datascraper/main_datascraper.py", line 98, in start_datascraper names = main_helper.process_names( File "OnlyFans-master 3/helpers/main_helper.py", line 625, in process_names result = module.start_datascraper( File "OnlyFans-master 3/modules/onlyfans.py", line 147, in start_datascraper results = prepare_scraper( File "OnlyFans-master 3/modules/onlyfans.py", line 699, in prepare_scraper unrefined_result = pool.starmap(media_scraper, product( File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/multiprocessing/pool.py", line 372, in starmap return self._map_async(func, iterable, starmapstar, chunksize).get() File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/multiprocessing/pool.py", line 771, in get raise self._value File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/multiprocessing/pool.py", line 125, in worker result = (True, func(*args, **kwds)) File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/multiprocessing/pool.py", line 51, in starmapstar return list(itertools.starmap(args[0], args[1])) File "OnlyFans-master 3/modules/onlyfans.py", line 1076, in media_scraper new_media["linked"] = post["api_type"] KeyError: 'api_type'
It's something to do with Archived Posts and Legacy metadata.
You can try the latest commit
You can try the latest commit
Got err on same user as last time.
Scrape Processing
Name: zoeyssweettea
Type: Profile
0.00B [00:00, ?B/s]
Type: Stories
No Stories Found.
Type: Posts
Scrape Attempt: 1/100
Missing 400 Posts... Retrying...
Scrape Attempt: 2/100
Missing 400 Posts... Retrying...
Scrape Attempt: 3/100
Found: Posts
Scraping [photo]. Should take less than a minute.
Scraping [photo]. Should take less than a minute.
Scraping [photo]. Should take less than a minute.
Scraping [photo]. Should take less than a minute.
Scraping [photo]. Should take less than a minute.
Scraping [photo]. Should take less than a minute.
Scraping [photo]. Should take less than a minute.
Scraping [photo]. Should take less than a minute.
Scraping [photo]. Should take less than a minute.
Scraping [photo]. Should take less than a minute.
Scraping [photo]. Should take less than a minute.
Scraping [photo]. Should take less than a minute.
Scraping [photo]. Should take less than a minute.
Scraping [photo]. Should take less than a minute.
Scraping [photo]. Should take less than a minute.
Scraping [photo]. Should take less than a minute.
Scraping [photo]. Should take less than a minute.
Traceback (most recent call last):
File "I:\OnlyFans-6.4-temp2\start_ofd.py", line 43, in <module>
apis = main_datascraper.start_datascraper(json_config, site_name_lower)
File "I:\OnlyFans-6.4-temp2\datascraper\main_datascraper.py", line 98, in start_datascraper
names = main_helper.process_names(
File "I:\OnlyFans-6.4-temp2\helpers\main_helper.py", line 625, in process_names
result = module.start_datascraper(
File "I:\OnlyFans-6.4-temp2\modules\onlyfans.py", line 147, in start_datascraper
results = prepare_scraper(
File "I:\OnlyFans-6.4-temp2\modules\onlyfans.py", line 705, in prepare_scraper
unrefined_set = pool.starmap(media_scraper, product(
File "C:\Users\user\AppData\Local\Programs\Python\Python39\lib\multiprocessing\pool.py", line 372, in starmap
return self._map_async(func, iterable, starmapstar, chunksize).get()
File "C:\Users\user\AppData\Local\Programs\Python\Python39\lib\multiprocessing\pool.py", line 771, in get
raise self._value
File "C:\Users\user\AppData\Local\Programs\Python\Python39\lib\multiprocessing\pool.py", line 125, in worker
result = (True, func(*args, **kwds))
File "C:\Users\user\AppData\Local\Programs\Python\Python39\lib\multiprocessing\pool.py", line 51, in starmapstar
return list(itertools.starmap(args[0], args[1]))
File "I:\OnlyFans-6.4-temp2\modules\onlyfans.py", line 1072, in media_scraper
found_medias = [x for x in post["medias"]
KeyError: 'medias'
Got the same error.
Note: I'm not sure if OF website is lagging or if it's something with my computer(pretty well spec'd) but it took like an hour to reach the point where it errorred out. I only have 21 subs.
Got the same error.
Note: I'm not sure if OF website is lagging or if it's something with my computer(pretty well spec'd) but it took like an hour to reach the point where it errorred out. I only have 21 subs.
It took me much longer to error out as well this time. But it still errored on the same girl.
I too was getting
Scrape Attempt: 1/100
Missing 400 Posts... Retrying...
Scrape Attempt: 2/100
Missing 400 Posts... Retrying...
Scrape Attempt: 3/100
I was about to push a commit to fix it, but it went away.
Still with the latest commit:
Scraping - thenatalinamarie | 9 / 431
Scraping [photo]. Should take less than a minute.
Scraping [video | stream | gif]. Should take less than a minute.
Traceback (most recent call last):
File "O:\OnlyFans-master\start_ofd.py", line 43, in <module>
apis = main_datascraper.start_datascraper(json_config, site_name_lower)
File "O:\OnlyFans-master\datascraper\main_datascraper.py", line 95, in start_datascraper
paid_content = module.paid_content_scraper(apis, identifiers)
File "O:\OnlyFans-master\modules\onlyfans.py", line 353, in paid_content_scraper
unrefined_set = media_scraper(paid_content, api, subscription,
File "O:\OnlyFans-master\modules\onlyfans.py", line 1072, in media_scraper
found_medias = [x for x in post["medias"]
KeyError: 'medias'