jeudi 31 mai 2018

How to scrape the website using requests?

I was trying to scrape the data from this website I am not able to scrape the website because username input does not have a name attribute.

My code is : import requests session = requests.Session() params = {'username': '<my_username>', 'password': '<my_password>'} s = session.post("https://bpofulfillment.com/Content/BpoLogin/Login.html#/Default", params) in this code username and password are the values of name attribute of input tag. But the problem is there is no name attribute. what should I do now to login




Aucun commentaire:

Enregistrer un commentaire