Python google BeautifulSoup login


google login and I want to fill out a form with the session opened BeautifulSoup and I’m trying to progress with requests google login login email a way forward a password in the form of a post I do not know how to create the post part of the gmail email screen I can now pour parameters I can get more how can I bring?

note: I’m already doing webdriver selenium with the browser I’m hiding but never something beautifulSoup, health and nice enough to request so I need to know it thanks

from bs4 import BeautifulSoup
import json, requests

headers = {

    'user-agent': 'Mozilla/5.0 (iPhone; CPU iPhone OS 11_0 like Mac OS X) AppleWebKit/604.1.38 (KHTML, like Gecko) Version/11.0 Mobile/15A372 Safari/604.1'

url = ""

login_data = {

    'id': '',

url = ""
with requests.Session() as s:
    soup = BeautifulSoup(s.get(url).text, "html.parser")

    r =,headers=headers)