This commit is contained in:
Kovid Goyal 2024-03-07 07:33:26 +05:30
parent 7780dafdf6
commit cf7842c0c6
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -43,7 +43,7 @@ class Substack(BasicNewsRecipe):
br.open('https://substack.com/account/login?redirect=%2F&email=&with_password=')
data = json.dumps({'email': self.username, 'password': self.password, 'captcha_response':None})
req = Request(
url='https://substack.com/api/v1/login',
url='https://substack.com/api/v1/email-login',
headers={
'Accept': '*/*',
'Content-Type': 'application/json',