prof79 / fansly-downloader-ng

Easy-to-use fansly.com content downloading tool. Written in Python and available as a standalone Windows Executable. 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 & single posts.
GNU General Public License v3.0
280 stars 15 forks source link

An unexpected error occurred #97

Open ChaosMatt opened 1 week ago

ChaosMatt commented 1 week ago

ERROR | 01:53 || An unexpected error occurred: Error during session setup: 401 Client Error: Unauthorized for url: https://apiv3.fansly.com/api/v1/account/me?ngsw-bypass=true Traceback (most recent call last): File "api\fansly.py", line 352, in setup_session File "api\fansly.py", line 508, in get_json_response_contents File "api\fansly.py", line 489, in validate_json_response File "requests\models.py", line 1021, in raise_for_status requests.exceptions.HTTPError: 401 Client Error: Unauthorized for url: https://apiv3.fansly.com/api/v1/account/me?ngsw-bypass=true

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "fansly_downloader_ng.py", line 199, in File "fansly_downloader_ng.py", line 109, in main File "config\validation.py", line 484, in validate_adjust_config File "config\validation.py", line 179, in validate_adjust_token File "config\fanslyconfig.py", line 106, in get_api File "api\fansly.py", line 59, in init File "api\fansly.py", line 359, in setup_session RuntimeError: Error during session setup: 401 Client Error: Unauthorized for url: https://apiv3.fansly.com/api/v1/account/me?ngsw-bypass=true

makurei commented 1 week ago

I get this same error

WARNING | 18:12 || Authorization token '' is unmodified, missing or malformed in the configuration file. Config | 18:12 || Trying to automatically configure Fansly authorization token from any browser storage available on the local system ... Config | 18:12 || Chrome browser is open but it needs to be closed for automatic configurator to search your Fansly account in the browser's storage. Please save any important work within the browser & close the browser yourself or it will be closed automatically after continuing.

               ► Press <ENTER> to continue!

Config | 18:12 || Successfully closed Chrome browser.

ERROR | 18:12 || An unexpected error occurred: Token or user agent error creating Fansly API object. Traceback (most recent call last): File "fansly_downloader_ng.py", line 199, in File "fansly_downloader_ng.py", line 109, in main File "config\validation.py", line 484, in validate_adjust_config File "config\validation.py", line 179, in validate_adjust_token File "config\fanslyconfig.py", line 120, in get_api RuntimeError: Token or user agent error creating Fansly API object.

makurei commented 1 week ago

It was perfect before, now its not working :(

jakob4800 commented 4 days ago

Same here

ERROR | 04:52 || An unexpected error occurred: Error during session setup: 401 Client Error: Unauthorized for url: https://apiv3.fansly.com/api/v1/account/me?ngsw-bypass=true Traceback (most recent call last): File "api\fansly.py", line 352, in setup_session File "api\fansly.py", line 508, in get_json_response_contents File "api\fansly.py", line 489, in validate_json_response File "requests\models.py", line 1021, in raise_for_status requests.exceptions.HTTPError: 401 Client Error: Unauthorized for url: https://apiv3.fansly.com/api/v1/account/me?ngsw-bypass=true

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "fansly_downloader_ng.py", line 199, in File "fansly_downloader_ng.py", line 109, in main File "config\validation.py", line 484, in validate_adjust_config File "config\validation.py", line 179, in validate_adjust_token File "config\fanslyconfig.py", line 106, in get_api File "api\fansly.py", line 59, in init File "api\fansly.py", line 359, in setup_session RuntimeError: Error during session setup: 401 Client Error: Unauthorized for url: https://apiv3.fansly.com/api/v1/account/me?ngsw-bypass=true