Change 'email' field to 'username' in login mediapart.recipe

This commit is contained in:
naudvard 2026-04-19 16:57:38 +02:00 committed by GitHub
parent 9fba48765a
commit fcf6a2cb25
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -108,7 +108,7 @@ class Mediapart(BasicNewsRecipe):
if self.username is not None and self.password is not None:
br.open('https://www.mediapart.fr/login')
br.select_form(nr=0)
br['email'] = self.username
br['username'] = self.username
br['password'] = self.password
br.submit()