I'm finishing off learning python and want to create a webpage where my users can log into site b, via my site, (site a). So basically is there anyway to do server-side, web automation in python? I've looked it up and found how you can manipulate the browser, does this work the same for server-side? The ways I've found are just taking me to site b. I would like to create a site so my user never leaves site a; and site a can grab data from site b, so the user can interact with site b via site a. Eg user enters username and password into site a, site a sends the input to site b, site a then acts upon the response of site b; eg if login = success site a runs 'success'.
Web automation in python?
- Posted:
- 3+ months ago by cheesefak...
- Topics:
- python, learning, webs, log, vias, web, user, automation
Details:
Responses (1)
Don't do that. It's phishing (ie, you're obtaining passwords by pretending to be the other site) and you likely weren't granted access to run scripts on site B in the first place. The proper way would be through public api, which may include login credentials which circumvent your view such as fb.
You can do what you like in your own browser and at worst risk a ban, but setting up a site like that will result in prosecution.