UltimaScraper icon indicating copy to clipboard operation
UltimaScraper copied to clipboard

Auth Error

Open elwoodflame opened this issue 7 years ago • 33 comments

Not sure if I have editted the json file correct or not but I keep getting this error any help would be appreciated. Traceback (most recent call last): File "onlyfans.py", line 14, in j_directory = json_data['directory']+"/Users/" KeyError: 'directory'

elwoodflame avatar Sep 03 '19 06:09 elwoodflame

I'm assuming you actually edited "directory". When you edit the directory value, it's supposed to go from this: "directory":"" To this: "directory":"some/folder" Also, I'm updating the script in 10 minutes, so you might as well wait :p

UltimaHoarder avatar Sep 03 '19 06:09 UltimaHoarder

I'm assuming you actually edited "directory". When you edit the directory value, it's supposed to go from this: "directory":"" To this: "directory":"some/folder" Also, I'm updating the script in 10 minutes, so you might as well wait :p

this is my file i eddited I left out my unique info. {"":"","luciloser_sgh":"{file_name}.{ext}","my number":"","sess number":"","Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/76.0.3809.132 Safari/537.36":""}

elwoodflame avatar Sep 03 '19 06:09 elwoodflame

@elwoodflame I just updated the script. Download the new version.

If you want to change the directory, it has to be like this {"directory":"some/folder","luciloser_sgh":"{file_name}.{ext}","my number":"","sess number":"","Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/76.0.3809.132 Safari/537.36":""}

UltimaHoarder avatar Sep 03 '19 06:09 UltimaHoarder

Figured out from your previous post what I was doing wrong Now i get this error. Access denied. First time? Did you forget to edit your settings.json file? Input a username or profile link

elwoodflame avatar Sep 03 '19 06:09 elwoodflame

Have you downloaded the new script?

UltimaHoarder avatar Sep 03 '19 06:09 UltimaHoarder

doing so now

elwoodflame avatar Sep 03 '19 06:09 elwoodflame

It should work if you follow the same rule as "directory":"some/folder" "sess":"sess_number"

and so on

UltimaHoarder avatar Sep 03 '19 06:09 UltimaHoarder

what do I put for auto choice

elwoodflame avatar Sep 03 '19 06:09 elwoodflame

what do I put for auto choice

directory and auto_choice can be blank if you want it to be.

UltimaHoarder avatar Sep 03 '19 07:09 UltimaHoarder

I get this error now You're not subscribed to the user First time? Did you forget to edit your settings.json file? Input a username or profile link

I am a subscribed user

elwoodflame avatar Sep 03 '19 07:09 elwoodflame

What does your settings.json look like? (Remove the sensitive information again)

UltimaHoarder avatar Sep 03 '19 07:09 UltimaHoarder

{"directory":"luciloser","file_name_format":"{file_name}.{ext}","auto_choice": "", "overwrite_files": true,"app-token":"33***********","sess":"********","user-agent":"Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/76.0.3809.132 Safari/537.36"}

elwoodflame avatar Sep 03 '19 07:09 elwoodflame

settings

elwoodflame avatar Sep 03 '19 07:09 elwoodflame

Are you running the script on the same computer as the one you logged into?

UltimaHoarder avatar Sep 03 '19 07:09 UltimaHoarder

yes

also Input a username or profile link this refers to what? https://onlyfans.com/luciloser_sgh

elwoodflame avatar Sep 03 '19 07:09 elwoodflame

This https://onlyfans.com/luciloser_sgh or luciloser_sgh

By the way, a folder called "luciloser_sgh" will be automatically created. You can remove it from the directory in settings.json

UltimaHoarder avatar Sep 03 '19 07:09 UltimaHoarder

I still get You're not subscribed to the user not sure why I can go to only fans and view everything.

elwoodflame avatar Sep 03 '19 07:09 elwoodflame

Go here https://onlyfans.com/my/subscribes/active And screenshot what it looks like

UltimaHoarder avatar Sep 03 '19 07:09 UltimaHoarder

active

elwoodflame avatar Sep 03 '19 07:09 elwoodflame

Ohh did you just sub today?

UltimaHoarder avatar Sep 03 '19 07:09 UltimaHoarder