UltimaScraper icon indicating copy to clipboard operation
UltimaScraper copied to clipboard

Need help with error

Open Nido21100 opened this issue 5 years ago • 1 comments

Hi, just updated to the new version but every time I try to pull from a source it come up with the follower error :=

Traceback (most recent call last): File "T:\OF\start_ofd.py", line 43, in apis = main_datascraper.start_datascraper(json_config, site_name_lower) File "T:\OF\datascraper\main_datascraper.py", line 98, in start_datascraper names = main_helper.process_names( File "T:\OF\helpers\main_helper.py", line 625, in process_names result = module.start_datascraper( File "T:\OF\modules\onlyfans.py", line 147, in start_datascraper results = prepare_scraper( File "T:\OF\modules\onlyfans.py", line 705, in prepare_scraper unrefined_set = pool.starmap(media_scraper, product( File "C:\Users\Omega Gaming\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\Omega Gaming\AppData\Local\Programs\Python\Python39\lib\multiprocessing\pool.py", line 771, in get raise self._value File "C:\Users\Omega Gaming\AppData\Local\Programs\Python\Python39\lib\multiprocessing\pool.py", line 125, in worker result = (True, func(*args, **kwds)) File "C:\Users\Omega Gaming\AppData\Local\Programs\Python\Python39\lib\multiprocessing\pool.py", line 51, in starmapstar return list(itertools.starmap(args[0], args[1])) File "T:\OF\modules\onlyfans.py", line 1075, in media_scraper found_medias = [x for x in medias File "T:\OF\modules\onlyfans.py", line 1076, in if x["filename"] == new_media["filename"]] KeyError: 'filename'

Anyone have any ideas on how to resolve thie?

Nido21100 avatar Mar 02 '21 15:03 Nido21100

check this thread https://github.com/DIGITALCRIMINAL/OnlyFans/issues/868. You have to edit the file manually

Also check this pull request - https://github.com/DIGITALCRIMINAL/OnlyFans/pull/867

lEtranger1942 avatar Mar 02 '21 15:03 lEtranger1942