Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/usr/bin/python
- #MarsGame_Bot
- import requests
- def BotAutoBuy(login, password):
- session = requests.Session()
- post = {
- 'id1_hf_0': '',
- 'nick': login,
- 'password': password
- }
- html = session.post('http://marsgame.mobi/login?-1.IFormSubmitListener-loginForm', params=post, verify=False)
- html = session.get('http://marsgame.mobi/game?1-1.ILinkListener-titleLink')
- print(html.text)
Add Comment
Please, Sign In to add comment