mirror of
git://github.com/kovidgoyal/calibre.git
synced 2025-12-23 20:34:44 +01:00
Fix typo
This commit is contained in:
parent
b3e96eabab
commit
1c9db52ff6
1 changed files with 2 additions and 2 deletions
|
|
@ -23,7 +23,7 @@
|
|||
|
||||
class Substack(BasicNewsRecipe):
|
||||
title = 'Substack'
|
||||
__author__ ='topynate'
|
||||
__author__ = 'topynate'
|
||||
oldest_article = 7
|
||||
max_articles_per_feed = 100
|
||||
auto_cleanup = True
|
||||
|
|
@ -40,7 +40,7 @@ def get_browser(self):
|
|||
br = BasicNewsRecipe.get_browser(self)
|
||||
if self.username is not None and self.password is not None:
|
||||
br.open('https://substack.com/account/login?redirect=%2F&email=&with_password=')
|
||||
data = json.dumps({'email': self.username, 'password': self.password, 'captch_response':None})
|
||||
data = json.dumps({'email': self.username, 'password': self.password, 'captcha_response':None})
|
||||
req = Request(
|
||||
url='https://substack.com/api/v1/login',
|
||||
headers = {
|
||||
|
|
|
|||
Loading…
Reference in a new issue