CREATE and FUCK your own AI GIRLFRIEND
TRY FOR FREE
x

Guide Onlyfans Downloading - A complete guide for PC and Mobile

Okay. Now I'm encountering this error:
"AttributeError: 'str' object has no attribute 'get'
What do I do?
 
Okay. Now I'm encountering this error:
"AttributeError: 'str' object has no attribute 'get'
What do I do?
I used this and it worked for me
Screenshot_1-5g6MLU4k.png


In the file apis\onlyfans\classes\create_user.py change the line 270 from:
results = [create_highlight(x) for x in results]
to
results = [create_highlight(x) for x in results.get("data")]
 
I had this problem too and i found a fix for it.
Go to your .settings folder and open the config.json file, once you are there go to line 68 which is "messages": true, and change it to "messages": false,
I hope this works for you too
that works but now it doesnt scrape messages

edit - i was wrong just tested on a profile that hadnt sent any messages
 
Last edited:
I used this and it worked for me
Screenshot_1-5g6MLU4k.png


In the file apis\onlyfans\classes\create_user.py change the line 270 from:
results = [create_highlight(x) for x in results]
to
results = [create_highlight(x) for x in results.get("data")]
Thanks bro! Worked perfectly. I used the scraper again 👐
 
I had this problem too and i found a fix for it.
Go to your .settings folder and open the config.json file, once you are there go to line 68 which is "messages": true, and change it to "messages": false,
I hope this works for you too
There isn't a line like that in my entire config.json file. What can I do?


11937640c15af58e4.md.png
 
Sorry if you've already asked, but I couldn't find a solution to my problem, can someone tell me?
Traceback (most recent call last):
File "C:\Users\oneho\Downloads\OnlyFans-7.6.1\start_ofd.py", line 20, in <module>
main_test.check_config()
File "C:\Users\oneho\Downloads\OnlyFans-7.6.1\tests\main_test.py", line 22, in check_config
json_config, updated = main_helper.get_config(path)
File "C:\Users\oneho\Downloads\OnlyFans-7.6.1\helpers\main_helper.py", line 826, in get_config
json_config = ujson.load(open(config_path))
ValueError: Expected object or value
 
Sorry if you've already asked, but I couldn't find a solution to my problem, can someone tell me?

Here's how I got mine to work. I'm guessing you might have to delete your config and auth files and just let the program create them over again.


First when you start the program again leave the config file exactly as is, just save it and exit. Don't add anything. lol As for the auth file well you just add whatever information that's yours.


These are the main changes I made for mine to work.

Changing the line "from seleniumwire import webdriver " to "from selenium import webdriver" in extras/OFLogin/start_ofl.py


Then this.


apis\onlyfans\classes\create_user.py change the line 270 from:
results = [create_highlight(x) for x in results]
to
results = [create_highlight(x) for x in results.get("data")]


Thing is though in this line the word changed from "data" to "list" so it's this now...


apis\onlyfans\classes\create_user.py change the line 270 from:
results = [create_highlight(x) for x in results]
to

results = [create_highlight(x) for x in results.get("list")]


So this is how I got mine to work. Good luck I guess.
 
Here's how I got mine to work. I'm guessing you might have to delete your config and auth files and just let the program create them over again.


First when you start the program again leave the config file exactly as is, just save it and exit. Don't add anything. lol As for the auth file well you just add whatever information that's yours.


These are the main changes I made for mine to work.

Changing the line "from seleniumwire import webdriver " to "from selenium import webdriver" in extras/OFLogin/start_ofl.py


Then this.


apis\onlyfans\classes\create_user.py change the line 270 from:
results = [create_highlight(x) for x in results]
to
results = [create_highlight(x) for x in results.get("data")]


Thing is though in this line the word changed from "data" to "list" so it's this now...


apis\onlyfans\classes\create_user.py change the line 270 from:
results = [create_highlight(x) for x in results]
to

results = [create_highlight(x) for x in results.get("list")]


So this is how I got mine to work. Good luck I guess.
Thank you very much, your advice helped me!
 
Any solutions for this?

Traceback (most recent call last): File "C:\Users\cheen\Downloads\HW\OnlyFans-7.6.1\start_ofd.py", line 104, in asyncio.run(main()) File "C:\Users\cheen\AppData\Local\Programs\Python\Python310\lib\asyncio\runners.py", line 44, in run return loop.run_until_complete(main) File "C:\Users\cheen\AppData\Local\Programs\Python\Python310\lib\asyncio\base_events.py", line 646, in run_until_complete return future.result() File "C:\Users\cheen\Downloads\HW\OnlyFans-7.6.1\start_ofd.py", line 86, in main api = await main_datascraper.start_datascraper( File "C:\Users\cheen\Downloads\HW\OnlyFans-7.6.1\datascraper\main_datascraper.py", line 94, in start_datascraper await main_helper.process_names( File "C:\Users\cheen\Downloads\HW\OnlyFans-7.6.1\helpers\main_helper.py", line 966, in process_names result = await module.start_datascraper(authed, username, site_name) File "C:\Users\cheen\Downloads\HW\OnlyFans-7.6.1\modules\onlyfans.py", line 161, in start_datascraper await prepare_scraper(authed, site_name, item) File "C:\Users\cheen\Downloads\HW\OnlyFans-7.6.1\modules\onlyfans.py", line 784, in prepare_scraper highlights = await subscription.get_highlights() File "C:\Users\cheen\Downloads\HW\OnlyFans-7.6.1\apis\onlyfans\classes\create_user.py", line 270, in get_highlights results = [create_highlight(x) for x in results] File "C:\Users\cheen\Downloads\HW\OnlyFans-7.6.1\apis\onlyfans\classes\create_user.py", line 270, in results = [create_highlight(x) for x in results] File "C:\Users\cheen\Downloads\HW\OnlyFans-7.6.1\apis\onlyfans\classes\create_highlight.py", line 3, in [B]init[/B] self.id: int = option.get("id") AttributeError: 'str' object has no attribute 'get'
 
Here's how I got mine to work. I'm guessing you might have to delete your config and auth files and just let the program create them over again.


First when you start the program again leave the config file exactly as is, just save it and exit. Don't add anything. lol As for the auth file well you just add whatever information that's yours.


These are the main changes I made for mine to work.

Changing the line "from seleniumwire import webdriver " to "from selenium import webdriver" in extras/OFLogin/start_ofl.py


Then this.


apis\onlyfans\classes\create_user.py change the line 270 from:
results = [create_highlight(x) for x in results]
to
results = [create_highlight(x) for x in results.get("data")]


Thing is though in this line the word changed from "data" to "list" so it's this now...


apis\onlyfans\classes\create_user.py change the line 270 from:
results = [create_highlight(x) for x in results]
to

results = [create_highlight(x) for x in results.get("list")]


So this is how I got mine to work. Good luck I guess.
Thxs dude. it works.
 
in case someone fails to make DC script work, here's an alternative that just did it for me: https://github.com/Voldrix/onlyfans-dl-2

configuration is almost the same as DC's. it downloads content with Y-M-D format and has been working for over a year with very few changes. definitely worth it as a backup method imo
 
How can you download somebody's "story" on onlyfans? I have the OF downloader and allow right click plugins but don't see any way to do it. Right click gives you an html file.
 
Configuration

1. Double click on Start_ofd to start the script​
Ok, so I'm a tad bit stupid and have just been using an extension till now to manually rip each individual post. So, I'm stuck here. I double click on the Start_ofd.py and it simply opens a text document, I've got no idea what I'd be doing wrong so I've got to ask for help
 
Back
Top Bottom