Update Scientific American

This commit is contained in:
Kovid Goyal 2023-10-18 11:57:56 +05:30
parent 6eb593f663
commit 35622936bf
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -53,7 +53,7 @@ class ScientificAmerican(BasicNewsRecipe):
def get_browser(self, *args):
br = BasicNewsRecipe.get_browser(self)
if self.username and self.password:
br.open("https://www.scientificamerican.com/my-account/login/")
br.open("https://www.scientificamerican.com/account/login/")
br.select_form(predicate=lambda f: f.attrs.get("id") == "login")
br["emailAddress"] = self.username
br["password"] = self.password