Closed BDM96 closed 2 years ago
When I run the scraper I get the error " "'TargetedCreator'" is missing or malformed in the configuration file! Read the ReadMe file for assistance."
I copied the authorization and User-Agent from the dev tools as explained in the ReadMe but I still get the error. Should they be in quotes or a space between the = and the information I am putting into the config file?
No quotes or spaces, just read step 7.
For step 7 I'm putting the username of the user pulled from the page and making sure it matches the username in the URL but still receive the same error. For example it is Username=MyCreatorUsername
For step 7 I'm putting the username of the user pulled from the page and making sure it matches the username in the URL but still receive the same error. For example it is Username=lillieadd
Make sure there's no invisible characters(unicode) and that you've really only replaced the ReplaceMe
's with your data. The = and so on has to stay there. The error is clearly pointing at you not managing to properly write the config file in the required format.
Here's the original file for reference https://github.com/Avnsx/fansly/blob/main/config.ini
It has to be in the same file directory as the .exe or .py file you launched the code with.
Also make sure you saved the file after editing it.
When I run the scraper I get the error " "'TargetedCreator'" is missing or malformed in the configuration file! Read the ReadMe file for assistance."
I copied the authorization and User-Agent from the dev tools as explained in the ReadMe but I still get the error. Should they be in quotes or a space between the = and the information I am putting into the config file?
I just reproduced this; for this to happen you must have edited [TargetedCreator]
away from the first line, or edited / removed it in general. Or config.ini
is not in the same directory as the executable file. Your first two lines would need to look like this, for the scraper to read the config file.
[TargetedCreator]
Username=MyCreatorUsername
When I run the scraper I get the error " "'TargetedCreator'" is missing or malformed in the configuration file! Read the ReadMe file for assistance."
I copied the authorization and User-Agent from the dev tools as explained in the ReadMe but I still get the error. Should they be in quotes or a space between the = and the information I am putting into the config file?