import requests
with requests.Session() as sess:
fp = open('file_53.tgs', 'rb')
files = {'files': fp}
r = sess.post("https://www.emojibest.com/tgs-to-gif",files = files)
fp.close()
with open('rr.gif', 'wb') as f:
f.write(r.content)