Skip to content

Instantly share code, notes, and snippets.

@davidteather
Created May 26, 2019 16:33
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save davidteather/0be2e495e2de54098e8f2a9594581d27 to your computer and use it in GitHub Desktop.
Save davidteather/0be2e495e2de54098e8f2a9594581d27 to your computer and use it in GitHub Desktop.
This is an example tiktok api response
"itemInfos": {
"id": "6694621537774882054",
"text": "the pranks never stop with @laurengodwin 😳😱 #tiktok #foryou",
"createTime": "1558713042",
"authorId": "8248852",
"musicId": "6681612705071237893",
"covers": [
"https://m-p16.akamaized.net/obj/tos-maliva-p-0068/dbd1b312436f4f4ea117d73a690fb1fa"
],
"coversOrigin": [
"https://m-p16.akamaized.net/obj/tos-maliva-p-0068/184a12bb6f154b45a162046075a20cc0"
],
"coversDynamic": [
"https://m-p16.akamaized.net/obj/tos-maliva-p-0068/311726c8b4f242598c133c40d60cd2e5"
],
"video": {
"urls": [
"https://v19.muscdn.com/7b97fa87fc7154c3621d624d51f1911b/5ceb13bd/video/tos/maliva/tos-maliva-v-0068/9fac5d76a5824d19921b0c6a3c540ea9/?rc=Mzw4aWs7NGo0bTMzZjczM0ApQHRwbndsQG9GOTk7NjM0NDMzNDY0NTM0NW9AaDZ2KUBnM3cpQGYzdSlmc2V6aGhkZjY1QGZnNm5kLWAyaF8tLTUxNnNzNW8jXGxocW8jPi4wNS82LS4uLS4zMzI2LTojbyM6YS1vIzpgLXAjOmBoXitiK2p0OiMwLl4%3D",
"https://v16.muscdn.com/0560adba2162fce1228f37bad86704b2/5ceb13bd/video/tos/maliva/tos-maliva-v-0068/9fac5d76a5824d19921b0c6a3c540ea9/",
"https://api2.musical.ly/aweme/v1/play/?video_id=v090448c0000bjk15gc108ghqf95j9i0&line=0&ratio=720p&watermark=1&media_type=4&vr_type=0&test_cdn=None&improve_bitrate=0&logo_name=tiktok_m",
"https://api2.musical.ly/aweme/v1/play/?video_id=v090448c0000bjk15gc108ghqf95j9i0&line=1&ratio=720p&watermark=1&media_type=4&vr_type=0&test_cdn=None&improve_bitrate=0&logo_name=tiktok_m"
],
"videoMeta": {
"width": 720,
"height": 1280,
"ratio": 15,
"duration": 15
}
},
"diggCount": 1091745,
"shareCount": 10816,
"commentCount": 6400
},
"authorInfos": {
"userId": "8248852",
"uniqueId": "sebastianbails",
"nickName": "sebastianbails",
"signature": "My Girlfriend Caught me cheating... ↗️Why were breaking up. 😣new YT vid.",
"covers": [
"https://p16.muscdn.com/img/musically-maliva-obj/1606852853773317~c5_100x100.jpeg"
],
"coversMedium": [
"https://p16.muscdn.com/img/musically-maliva-obj/1606852853773317~c5_720x720.jpeg"
],
"coversLarger": [
"https://p16.muscdn.com/img/musically-maliva-obj/1606852853773317~c5_1080x1080.jpeg"
]
},
"musicInfos": {
"musicId": "6681612705071237893",
"musicName": "Pretty Ugly by Tierra Whack",
"authorName": "ʟɪᴠɪɴɢᴅᴇᴀᴅɢɪʀʟ",
"original": true,
"playUrl": [
"https://p16.muscdn.com/obj/musically-maliva-obj/1631270944500774.mp3"
],
"covers": [
"https://p16.muscdn.com/img/musically-maliva-obj/1631270944500790~c5_100x100.jpeg"
],
"coversMedium": [
"https://p16.muscdn.com/img/musically-maliva-obj/1631270944500790~c5_200x200.jpeg"
],
"coversLarger": [
"https://p16.muscdn.com/img/musically-maliva-obj/1631270944500790~c5_720x720.jpeg"
]
},
"challengeInfoList": [
{
"challengeId": "23428",
"challengeName": "tiktok",
"text": "",
"covers": [],
"coversMedium": [],
"coversLarger": []
},
{
"challengeId": "42164",
"challengeName": "foryou",
"text": "",
"covers": [],
"coversMedium": [],
"coversLarger": []
}
]
}
@Mateeen
Copy link

Mateeen commented Jan 30, 2020

can you please tell how to download video from url without water mark?

@bhooja
Copy link

bhooja commented Oct 7, 2020

can you please tell how to download video from url without water mark?

https://gist.github.com/davidteather/0be2e495e2de54098e8f2a9594581d27#gistcomment-3161286

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment