15 řádky
461 B
Python
15 řádky
461 B
Python
import requests
|
|
import sys
|
|
|
|
signature = sys.argv[2]
|
|
url = sys.argv[1] + "&_signature=" + signature
|
|
referer = "https://www.tiktok.com/@ondymikula/video/6757762109670477061"
|
|
|
|
request = requests.get(url, headers={
|
|
"method": "GET",
|
|
"accept-encoding": "gzip, deflate, br",
|
|
"Referer": referer,
|
|
"user-agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.132 Safari/537.36"
|
|
})
|
|
|
|
print(request.json()) |