Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import requests
- import urllib.request
- import urllib.parse
- import re
- import socket
- import random
- #from keep_alive import keep_alive
- #ru = requests.post("https://chatango.com/updateprofile?css", data={"u": "jacques", "p": "gabby", "auth": "pwd", "arch": "h5", "src": "group", "action": "update", "body_bg_col": "dbd4dc", "body_col": "191421", "body_a_col": "000000", "body_tile_d": 0, "body_tile_a": 0, "body_bg_img": ""})
- #username = input("username: ")
- #password = input("password: ")
- #age = input("age (min -> 13 max ->149: ")
- #gender = input("gender (F / M): ")
- #location = input("location (country/zip code): ")
- #location = "None"
- #auth = re.findall('auth.chatango.com=(.*?);', requests.post("https://chatango.com/login", data={"user_id": username, "password": password, "storecookie": "on", "checkerrors": "yes"}).headers['Set-Cookie'])[0]
- #data = { "s": auth, "auth": "token", "arch": "h5", "src": "group", "action": "update", "age": age, "gender": gender, "location": location, "line": "", "dir": ""}
- #r = requests.post("http://chatango.com/updateprofile", data=data, headers={"Origin": "http://st.chatango.com", "User-Agent": "Mozilla 5/0"})
- print(f"done! \n {ru.text}")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement