m = MultipartEncoder(fields={'Content-Disposition': 'form-data; name="url"', 'url': 'https://www.tiktok.com/@lisaandlena/video/6926975884846992645'})
r = requests.post(_url_parse, data=m, headers=headers)
print(r.content)
s = requests.Session()
headers = {
'accept': '*/*',
'accept-language': 'ru,en;q=0.9',
'content-length': '263',
'content-type': 'multipart/form-data; boundary=----WebKitFormBoundaryWAubJkiU77iGCuEI',
'origin': 'https://snaptik.app',
'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.152 YaBrowser/21.2.2.101 Yowser/2.5 Safari/537.36'
}
data = {
'Content-Disposition': 'form-data; name="url"',
'url': 'https://www.tiktok.com/@lisaandlena/video/6926975884846992645'
}
payload = {
'lang': 'ru'
}
r = s.post(_url_parse, headers=headers, params=payload, data=data)
print(r.content)
var test = httpClient.SendAsync(request).ToString();
MessageBox.Show(test);