Avnsx / fansly-downloader

Easy to use fansly.com content downloading tool. Written in python, but ships as a standalone Executable App for Windows too. Enjoy your Fansly content offline anytime, anywhere in the highest possible content resolution! Fully customizable to download in bulk or single: photos, videos & audio from timeline, messages, collection & specific posts 👍
https://fansly.com/
GNU General Public License v3.0
1.27k stars 63 forks source link

Getting Error When Running #6

Closed BDM96 closed 2 years ago

BDM96 commented 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?

Avnsx commented 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.

BDM96 commented 2 years ago

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

Avnsx commented 2 years ago

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.

Avnsx commented 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?

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