Ask Question

Name:
Title:
Your Question:

Answer Question

Name:
Your Answer:
User Submitted Source Code!


Description:
  aaa
Language: C/C++
Code:
    session = requests.Session()
    jar = requests.cookies.RequestsCookieJar()
    print('''
       ______    ____                             __ 
      /_  __/   / __ _________  ____ ___  ____  / /_
       / /_____/ /_/ / ___/ __ / __ `__ / __ / __/
      / /_____/ ____/ /  / /_/ / / / / / / /_/ / /_  
     /_/     /_/   /_/   ____/_/ /_/ /_/ .___/__/  
                                       /_/    Tyris#0001       
    ''')
    print('-------------------------------')
    GameId = input('GameId:n')
    print('-------------')
    GameLink = 'https://www.roblox.com/games/' + GameId
    voteurl = 'https://www.roblox.com/voting/vote?assetId=' + GameId + '&vote=true'

    with open('Cookies.txt') as file_in:
        lines = []
        for line in file_in:
            jar.set('.ROBLOSECURITY', line.strip('n'))
            session.cookies = jar
            r = session.post(voteurl, headers = {'UserAgent':'Roblox/WinInet'})
            xcs = r.headers['x-csrf-token']
            r = session.post(voteurl, headers={'UserAgent': 'Roblox/WinInet', 'x-csrf-token':xcs})
            print('Like request sent.')
    print('Returning in 3')
    time.sleep(3)
          
Comments: