ma2za / python-substack

Substack API python implementation
https://pypi.org/project/python-substack/
MIT License
83 stars 16 forks source link

Complete/bypass captcha #14

Closed jetnew closed 11 months ago

jetnew commented 1 year ago

Hi, I am testing my code and have repeatedly logged into my Substack account via the API, and it has resulted in SubstackAPIException: APIError(code=401): Please complete the captcha to continue. How can I complete the captcha (either manually or bypass)?

Thank you so much for your contribution on this package.

ma2za commented 1 year ago

Hi, are you using the api locally or on cloud? Because I used to get this error when I tried to make api calls from the cloud and I was not able to solve it

jetnew commented 1 year ago

Indeed, I am running it on the cloud. It works for me locally too. I might inspect the API response to try to manually complete the captcha then. Otherwise, I may shift to Ghost. Thank you for your help.

dominicdev commented 1 year ago

hi how are you able to solve this? and how do you do the captcha? I'm running it in google colab

jetnew commented 1 year ago

Hi, unfortunately I have migrated to Ghost.

suhan1996 commented 1 year ago

Works when run locally

ma2za commented 11 months ago

Workaround with #25