Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- headers = """
- Host: api.roblox.com
- Connection: keep-alive
- Content-Length: {}
- Accept: application/json, text/plain, */*
- Origin: https://www.roblox.com
- User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.87 Safari/537.36
- Content-Type: application/x-www-form-urlencoded
- Referer: https://www.roblox.com/
- Accept-Encoding: gzip, deflate, br
- Accept-Language: en-US,en;q=0.8
- """
- data = "isEligibleForHideAdsAbTest=True&username={0.username}&password={0.password}&birthday=18+Dec+1941&gender={1}&context=RollerCoasterSignupForm"
- data = data.format(self, random.randint(2, 3))
- headers = headers.format(len(data))
- r = None
- try:
- r = self.s.post(url = "https://api.roblox.com/signup/v1",
- data = data,
- headers = string_to_dict(headers),
- proxies = self.proxy,
- timeout = 20,
- verify = False)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement