mirror of
https://github.com/wukko/cobalt.git
synced 2024-11-19 14:49:58 +00:00
7f28dbf2e7
merge pull request #134 from Snazzah/feat/pinterest
971 lines
27 KiB
JSON
971 lines
27 KiB
JSON
{
|
|
"twitter": [{
|
|
"name": "regular video",
|
|
"url": "https://twitter.com/TwitterSpaces/status/1526955853743546372?s=20",
|
|
"params": {
|
|
"aFormat": "mp3",
|
|
"isAudioOnly": false,
|
|
"isAudioMuted": false
|
|
},
|
|
"expected": {
|
|
"code": 200,
|
|
"status": "redirect"
|
|
}
|
|
}, {
|
|
"name": "embedded twitter video",
|
|
"url": "https://twitter.com/dustbin_nie/status/1624596567188717568?s=20",
|
|
"params": {
|
|
"aFormat": "mp3",
|
|
"isAudioOnly": false,
|
|
"isAudioMuted": false
|
|
},
|
|
"expected": {
|
|
"code": 200,
|
|
"status": "redirect"
|
|
}
|
|
}, {
|
|
"name": "mixed media (image + gif)",
|
|
"url": "https://twitter.com/Twitter/status/1580661436132757506?s=20",
|
|
"params": {
|
|
"aFormat": "mp3",
|
|
"isAudioOnly": false,
|
|
"isAudioMuted": false
|
|
},
|
|
"expected": {
|
|
"code": 200,
|
|
"status": "redirect"
|
|
}
|
|
}, {
|
|
"name": "picker: mixed media (2 videos)",
|
|
"url": "https://twitter.com/taehyungsflow/status/1583411488433516544",
|
|
"params": {
|
|
"aFormat": "mp3",
|
|
"isAudioOnly": false,
|
|
"isAudioMuted": false
|
|
},
|
|
"expected": {
|
|
"code": 200,
|
|
"status": "picker"
|
|
}
|
|
}, {
|
|
"name": "audio from embedded twitter video (mp3, isAudioOnly)",
|
|
"url": "https://twitter.com/dustbin_nie/status/1624596567188717568?s=20",
|
|
"params": {
|
|
"aFormat": "mp3",
|
|
"isAudioOnly": true,
|
|
"isAudioMuted": false
|
|
},
|
|
"expected": {
|
|
"code": 200,
|
|
"status": "stream"
|
|
}
|
|
}, {
|
|
"name": "audio from embedded twitter video (best, isAudioOnly)",
|
|
"url": "https://twitter.com/dustbin_nie/status/1624596567188717568?s=20",
|
|
"params": {
|
|
"aFormat": "best",
|
|
"isAudioOnly": true,
|
|
"isAudioMuted": false
|
|
},
|
|
"expected": {
|
|
"code": 200,
|
|
"status": "stream"
|
|
}
|
|
}, {
|
|
"name": "audio from embedded twitter video (ogg, isAudioOnly, isAudioMuted)",
|
|
"url": "https://twitter.com/dustbin_nie/status/1624596567188717568?s=20",
|
|
"params": {
|
|
"aFormat": "best",
|
|
"isAudioOnly": true,
|
|
"isAudioMuted": true
|
|
},
|
|
"expected": {
|
|
"code": 200,
|
|
"status": "stream"
|
|
}
|
|
}, {
|
|
"name": "muted embedded twitter video",
|
|
"url": "https://twitter.com/dustbin_nie/status/1624596567188717568?s=20",
|
|
"params": {
|
|
"aFormat": "mp3",
|
|
"isAudioOnly": false,
|
|
"isAudioMuted": true
|
|
},
|
|
"expected": {
|
|
"code": 200,
|
|
"status": "stream"
|
|
}
|
|
}, {
|
|
"name": "retweeted video",
|
|
"url": "https://twitter.com/winload_exe/status/1639005390854602758",
|
|
"params": {},
|
|
"expected": {
|
|
"code": 200,
|
|
"status": "redirect"
|
|
}
|
|
}, {
|
|
"name": "retweeted video",
|
|
"url": "https://twitter.com/winload_exe/status/1639005390854602758",
|
|
"params": {},
|
|
"expected": {
|
|
"code": 200,
|
|
"status": "redirect"
|
|
}
|
|
}, {
|
|
"name": "age-restricted video",
|
|
"url": "https://twitter.com/FckyeahCharli/status/1650987582749065220",
|
|
"params": {},
|
|
"expected": {
|
|
"code": 200,
|
|
"status": "redirect"
|
|
}
|
|
}, {
|
|
"name": "retweeted video, isAudioOnly",
|
|
"url": "https://twitter.com/winload_exe/status/1633091769482063874",
|
|
"params": {
|
|
"aFormat": "mp3",
|
|
"isAudioOnly": false,
|
|
"isAudioMuted": true
|
|
},
|
|
"expected": {
|
|
"code": 200,
|
|
"status": "stream"
|
|
}
|
|
}, {
|
|
"name": "inexistent post",
|
|
"url": "https://twitter.com/test/status/9487653",
|
|
"params": {
|
|
"aFormat": "best",
|
|
"isAudioOnly": false,
|
|
"isAudioMuted": false
|
|
},
|
|
"expected": {
|
|
"code": 400,
|
|
"status": "error"
|
|
}
|
|
}, {
|
|
"name": "post with no media content",
|
|
"url": "https://twitter.com/elonmusk/status/1604617643973124097?s=20",
|
|
"params": {
|
|
"aFormat": "best",
|
|
"isAudioOnly": false,
|
|
"isAudioMuted": false
|
|
},
|
|
"expected": {
|
|
"code": 400,
|
|
"status": "error"
|
|
}
|
|
}, {
|
|
"name": "recorded space by nyc (best)",
|
|
"url": "https://twitter.com/i/spaces/1gqxvyLoYQkJB",
|
|
"params": {
|
|
"aFormat": "best",
|
|
"isAudioOnly": false,
|
|
"isAudioMuted": false
|
|
},
|
|
"expected": {
|
|
"code": 200,
|
|
"status": "stream"
|
|
}
|
|
}, {
|
|
"name": "recorded space by nyc (mp3)",
|
|
"url": "https://twitter.com/i/spaces/1gqxvyLoYQkJB",
|
|
"params": {
|
|
"aFormat": "mp3",
|
|
"isAudioOnly": false,
|
|
"isAudioMuted": false
|
|
},
|
|
"expected": {
|
|
"code": 200,
|
|
"status": "stream"
|
|
}
|
|
}, {
|
|
"name": "recorded space by nyc (wav, isAudioMuted)",
|
|
"url": "https://twitter.com/i/spaces/1gqxvyLoYQkJB",
|
|
"params": {
|
|
"aFormat": "wav",
|
|
"isAudioOnly": false,
|
|
"isAudioMuted": true
|
|
},
|
|
"expected": {
|
|
"code": 200,
|
|
"status": "stream"
|
|
}
|
|
}, {
|
|
"name": "recorded space by service95 & dualipa (mp3, isAudioMuted, isAudioOnly)",
|
|
"url": "https://twitter.com/i/spaces/1nAJErvvVXgxL",
|
|
"params": {
|
|
"aFormat": "mp3",
|
|
"isAudioOnly": true,
|
|
"isAudioMuted": true
|
|
},
|
|
"expected": {
|
|
"code": 200,
|
|
"status": "stream"
|
|
}
|
|
}, {
|
|
"name": "unavailable space",
|
|
"url": "https://twitter.com/i/spaces/1OwGWwjRjVVGQ?s=20",
|
|
"params": {},
|
|
"expected": {
|
|
"code": 400,
|
|
"status": "error"
|
|
}
|
|
}, {
|
|
"name": "inexistent space",
|
|
"url": "https://twitter.com/i/spaces/10Wkie2j29iiI",
|
|
"params": {},
|
|
"expected": {
|
|
"code": 400,
|
|
"status": "error"
|
|
}
|
|
}],
|
|
"soundcloud": [{
|
|
"name": "public song (best)",
|
|
"url": "https://soundcloud.com/l2share77/loona-butterfly?utm_source=clipboard&utm_medium=text&utm_campaign=social_sharing",
|
|
"params": {
|
|
"aFormat": "best",
|
|
"isAudioOnly": false,
|
|
"isAudioMuted": false
|
|
},
|
|
"expected": {
|
|
"code": 200,
|
|
"status": "stream"
|
|
}
|
|
}, {
|
|
"name": "public song (mp3, isAudioMuted)",
|
|
"url": "https://soundcloud.com/l2share77/loona-butterfly?utm_source=clipboard&utm_medium=text&utm_campaign=social_sharing",
|
|
"params": {
|
|
"aFormat": "mp3",
|
|
"isAudioOnly": false,
|
|
"isAudioMuted": true
|
|
},
|
|
"expected": {
|
|
"code": 200,
|
|
"status": "stream"
|
|
}
|
|
}, {
|
|
"name": "private song",
|
|
"url": "https://soundcloud.com/4kayy/unhappy-new-year-prod4kay/s-9bKbvwLdRWG",
|
|
"params": {
|
|
"aFormat": "mp3",
|
|
"isAudioOnly": false,
|
|
"isAudioMuted": false
|
|
},
|
|
"expected": {
|
|
"code": 200,
|
|
"status": "stream"
|
|
}
|
|
}, {
|
|
"name": "private song (wav, isAudioMuted)",
|
|
"url": "https://soundcloud.com/4kayy/unhappy-new-year-prod4kay/s-9bKbvwLdRWG",
|
|
"params": {
|
|
"aFormat": "wav",
|
|
"isAudioOnly": false,
|
|
"isAudioMuted": true
|
|
},
|
|
"expected": {
|
|
"code": 200,
|
|
"status": "stream"
|
|
}
|
|
}, {
|
|
"name": "private song (ogg, isAudioMuted, isAudioOnly)",
|
|
"url": "https://soundcloud.com/4kayy/unhappy-new-year-prod4kay/s-9bKbvwLdRWG",
|
|
"params": {
|
|
"aFormat": "ogg",
|
|
"isAudioOnly": true,
|
|
"isAudioMuted": true
|
|
},
|
|
"expected": {
|
|
"code": 200,
|
|
"status": "stream"
|
|
}
|
|
}, {
|
|
"name": "on.soundcloud link",
|
|
"url": "https://on.soundcloud.com/wLZre",
|
|
"params": {},
|
|
"expected": {
|
|
"code": 200,
|
|
"status": "stream"
|
|
}
|
|
}, {
|
|
"name": "on.soundcloud link, different stream type",
|
|
"url": "https://on.soundcloud.com/AG4c",
|
|
"params": {},
|
|
"expected": {
|
|
"code": 200,
|
|
"status": "stream"
|
|
}
|
|
}],
|
|
"youtube": [{
|
|
"name": "4k video (h264, 1440)",
|
|
"url": "https://www.youtube.com/watch?v=vPwaXytZcgI",
|
|
"params": {
|
|
"vCodec": "h264",
|
|
"vQuality": "1440"
|
|
},
|
|
"expected": {
|
|
"code": 200,
|
|
"status": "stream"
|
|
}
|
|
}, {
|
|
"name": "4k video (vp9, 720)",
|
|
"url": "https://www.youtube.com/watch?v=vPwaXytZcgI",
|
|
"params": {
|
|
"vCodec": "vp9",
|
|
"vQuality": "720"
|
|
},
|
|
"expected": {
|
|
"code": 200,
|
|
"status": "stream"
|
|
}
|
|
}, {
|
|
"name": "4k video (av1, max)",
|
|
"url": "https://www.youtube.com/watch?v=vPwaXytZcgI",
|
|
"params": {
|
|
"vCodec": "av1",
|
|
"vQuality": "max"
|
|
},
|
|
"expected": {
|
|
"code": 200,
|
|
"status": "stream"
|
|
}
|
|
}, {
|
|
"name": "4k video (h264, 720)",
|
|
"url": "https://www.youtube.com/watch?v=vPwaXytZcgI",
|
|
"params": {
|
|
"vCodec": "h264",
|
|
"vQuality": "720"
|
|
},
|
|
"expected": {
|
|
"code": 200,
|
|
"status": "stream"
|
|
}
|
|
}, {
|
|
"name": "4k video (vp9, max, isAudioMuted)",
|
|
"url": "https://www.youtube.com/watch?v=vPwaXytZcgI",
|
|
"params": {
|
|
"vCodec": "vp9",
|
|
"vQuality": "max",
|
|
"isAudioMuted": true
|
|
},
|
|
"expected": {
|
|
"code": 200,
|
|
"status": "stream"
|
|
}
|
|
}, {
|
|
"name": "4k video (h264, max, isAudioMuted)",
|
|
"url": "https://www.youtube.com/watch?v=vPwaXytZcgI",
|
|
"params": {
|
|
"vCodec": "h264",
|
|
"vQuality": "max",
|
|
"isAudioMuted": true
|
|
},
|
|
"expected": {
|
|
"code": 200,
|
|
"status": "stream"
|
|
}
|
|
}, {
|
|
"name": "4k video (av1, max, isAudioMuted, isAudioOnly, mp3)",
|
|
"url": "https://www.youtube.com/watch?v=vPwaXytZcgI",
|
|
"params": {
|
|
"vCodec": "av1",
|
|
"vQuality": "max",
|
|
"aFormat": "mp3",
|
|
"isAudioOnly": true,
|
|
"isAudioMuted": true
|
|
},
|
|
"expected": {
|
|
"code": 200,
|
|
"status": "stream"
|
|
}
|
|
}, {
|
|
"name": "4k video (av1, max, isAudioMuted, isAudioOnly, best)",
|
|
"url": "https://www.youtube.com/watch?v=vPwaXytZcgI",
|
|
"params": {
|
|
"vCodec": "av1",
|
|
"vQuality": "max",
|
|
"aFormat": "best",
|
|
"isAudioOnly": true,
|
|
"isAudioMuted": true
|
|
},
|
|
"expected": {
|
|
"code": 200,
|
|
"status": "stream"
|
|
}
|
|
}, {
|
|
"name": "music (mp3, isAudioOnly, isAudioMuted)",
|
|
"url": "https://music.youtube.com/watch?v=5rGTsvZCEdk&feature=share",
|
|
"params": {
|
|
"aFormat": "mp3",
|
|
"isAudioOnly": true,
|
|
"isAudioMuted": true
|
|
},
|
|
"expected": {
|
|
"code": 200,
|
|
"status": "stream"
|
|
}
|
|
}, {
|
|
"name": "music (mp3)",
|
|
"url": "https://music.youtube.com/watch?v=5rGTsvZCEdk&feature=share",
|
|
"params": {
|
|
"aFormat": "mp3",
|
|
"isAudioOnly": false,
|
|
"isAudioMuted": false
|
|
},
|
|
"expected": {
|
|
"code": 200,
|
|
"status": "stream"
|
|
}
|
|
}, {
|
|
"name": "audio bitrate higher than video, no vp9 video in response (mp3, isAudioOnly)",
|
|
"url": "https://www.youtube.com/watch?v=t5nC_ucYBrc",
|
|
"params": {
|
|
"aFormat": "mp3",
|
|
"isAudioOnly": true
|
|
},
|
|
"expected": {
|
|
"code": 200,
|
|
"status": "stream"
|
|
}
|
|
}, {
|
|
"name": "audio bitrate higher than video, no vp9 video in response (vp9)",
|
|
"url": "https://www.youtube.com/watch?v=t5nC_ucYBrc",
|
|
"params": {
|
|
"vCodec": "vp9"
|
|
},
|
|
"expected": {
|
|
"code": 400,
|
|
"status": "error"
|
|
}
|
|
}, {
|
|
"name": "short, defaults",
|
|
"url": "https://www.youtube.com/shorts/r5FpeOJItbw",
|
|
"params": {},
|
|
"expected": {
|
|
"code": 200,
|
|
"status": "stream"
|
|
}
|
|
}, {
|
|
"name": "vr 360, av1, max",
|
|
"url": "https://www.youtube.com/watch?v=hEdzv7D4CbQ",
|
|
"params": {
|
|
"vCodec": "vp9",
|
|
"vQuality": "max"
|
|
},
|
|
"expected": {
|
|
"code": 200,
|
|
"status": "stream"
|
|
}
|
|
}, {
|
|
"name": "inexistent video",
|
|
"url": "https://youtube.com/watch?v=gnjuHYWGEW",
|
|
"params": {},
|
|
"expected": {
|
|
"code": 400,
|
|
"status": "error"
|
|
}
|
|
}],
|
|
"vk": [{
|
|
"name": "clip, defaults",
|
|
"url": "https://vk.com/clip-57274055_456239788",
|
|
"params": {},
|
|
"expected": {
|
|
"code": 200,
|
|
"status": "stream"
|
|
}
|
|
}, {
|
|
"name": "clip, 360",
|
|
"url": "https://vk.com/clip-57274055_456239788",
|
|
"params": {
|
|
"vQuality": "360"
|
|
},
|
|
"expected": {
|
|
"code": 200,
|
|
"status": "stream"
|
|
}
|
|
}, {
|
|
"name": "clip different link, max",
|
|
"url": "https://vk.com/clips-57274055?z=clip-57274055_456239788",
|
|
"params": {
|
|
"vQuality": "max"
|
|
},
|
|
"expected": {
|
|
"code": 200,
|
|
"status": "stream"
|
|
}
|
|
}, {
|
|
"name": "video, defaults",
|
|
"url": "https://vk.com/video-57274055_456239399",
|
|
"params": {},
|
|
"expected": {
|
|
"code": 200,
|
|
"status": "stream"
|
|
}
|
|
}, {
|
|
"name": "ancient video (fallback to 240p)",
|
|
"url": "https://vk.com/video-1959_28496479",
|
|
"params": {},
|
|
"expected": {
|
|
"code": 200,
|
|
"status": "stream"
|
|
}
|
|
}, {
|
|
"name": "inexistent video",
|
|
"url": "https://vk.com/video-53333333_456233333",
|
|
"params": {},
|
|
"expected": {
|
|
"code": 400,
|
|
"status": "error"
|
|
}
|
|
}],
|
|
"douyin": [{
|
|
"name": "short link video, with watermark",
|
|
"url": "https://v.douyin.com/2p4Aya7/",
|
|
"params": {},
|
|
"expected": {
|
|
"code": 200,
|
|
"status": "stream"
|
|
}
|
|
}, {
|
|
"name": "short link video (isNoTTWatermark)",
|
|
"url": "https://v.douyin.com/2p4Aya7/",
|
|
"params": {
|
|
"isNoTTWatermark": true
|
|
},
|
|
"expected": {
|
|
"code": 200,
|
|
"status": "stream"
|
|
}
|
|
}, {
|
|
"name": "short link video (isAudioOnly)",
|
|
"url": "https://v.douyin.com/2p4Aya7/",
|
|
"params": {
|
|
"isAudioOnly": true
|
|
},
|
|
"expected": {
|
|
"code": 200,
|
|
"status": "stream"
|
|
}
|
|
}, {
|
|
"name": "short link video (isAudioOnly, isTTFullAudio)",
|
|
"url": "https://v.douyin.com/2p4Aya7/",
|
|
"params": {
|
|
"isAudioOnly": true,
|
|
"isTTFullAudio": true
|
|
},
|
|
"expected": {
|
|
"code": 200,
|
|
"status": "stream"
|
|
}
|
|
}, {
|
|
"name": "long link video (isNoTTWatermark)",
|
|
"url": "https://www.douyin.com/video/7120601033314716968",
|
|
"params": {
|
|
"isNoTTWatermark": true
|
|
},
|
|
"expected": {
|
|
"code": 200,
|
|
"status": "stream"
|
|
}
|
|
}, {
|
|
"name": "images",
|
|
"url": "https://v.douyin.com/MdVwo31/",
|
|
"params": {},
|
|
"expected": {
|
|
"code": 200,
|
|
"status": "picker"
|
|
}
|
|
}, {
|
|
"name": "long link inexistent",
|
|
"url": "https://www.douyin.com/video/7120851458451417478",
|
|
"params": {},
|
|
"expected": {
|
|
"code": 400,
|
|
"status": "error"
|
|
}
|
|
}, {
|
|
"name": "short link inexistent",
|
|
"url": "https://v.douyin.com/2p4ewa7/",
|
|
"params": {},
|
|
"expected": {
|
|
"code": 400,
|
|
"status": "error"
|
|
}
|
|
}],
|
|
"tiktok": [{
|
|
"name": "short link (vt) video, with watermark",
|
|
"url": "https://vt.tiktok.com/ZS85U86aa/",
|
|
"params": {},
|
|
"expected": {
|
|
"code": 200,
|
|
"status": "stream"
|
|
}
|
|
}, {
|
|
"name": "short link (vt) video (isNoTTWatermark)",
|
|
"url": "https://vt.tiktok.com/ZS85U86aa/",
|
|
"params": {
|
|
"isNoTTWatermark": true
|
|
},
|
|
"expected": {
|
|
"code": 200,
|
|
"status": "stream"
|
|
}
|
|
}, {
|
|
"name": "short link (vm) video (isAudioOnly)",
|
|
"url": "https://vm.tiktok.com/ZMYrYAf34/",
|
|
"params": {
|
|
"isAudioOnly": true
|
|
},
|
|
"expected": {
|
|
"code": 200,
|
|
"status": "stream"
|
|
}
|
|
}, {
|
|
"name": "short link (vm) video (isAudioOnly, isTTFullAudio)",
|
|
"url": "https://vm.tiktok.com/ZMYrYAf34/",
|
|
"params": {
|
|
"isAudioOnly": true,
|
|
"isTTFullAudio": true
|
|
},
|
|
"expected": {
|
|
"code": 200,
|
|
"status": "stream"
|
|
}
|
|
}, {
|
|
"name": "long link video (isNoTTWatermark)",
|
|
"url": "https://www.tiktok.com/@fatfatmillycat/video/7195741644585454894",
|
|
"params": {
|
|
"isNoTTWatermark": true
|
|
},
|
|
"expected": {
|
|
"code": 200,
|
|
"status": "stream"
|
|
}
|
|
}, {
|
|
"name": "images",
|
|
"url": "https://www.tiktok.com/@matryoshk4/video/7231234675476532526",
|
|
"params": {},
|
|
"expected": {
|
|
"code": 200,
|
|
"status": "picker"
|
|
}
|
|
}, {
|
|
"name": "long link inexistent",
|
|
"url": "https://www.tiktok.com/@blablabla/video/7120851458451417478",
|
|
"params": {},
|
|
"expected": {
|
|
"code": 400,
|
|
"status": "error"
|
|
}
|
|
}, {
|
|
"name": "short link inexistent",
|
|
"url": "https://vt.tiktok.com/2p4ewa7/",
|
|
"params": {},
|
|
"expected": {
|
|
"code": 400,
|
|
"status": "error"
|
|
}
|
|
}],
|
|
"bilibili": [{
|
|
"name": "1080p video",
|
|
"url": "https://www.bilibili.com/video/BV18i4y1m7xV/",
|
|
"params": {},
|
|
"expected": {
|
|
"code": 200,
|
|
"status": "stream"
|
|
}
|
|
}, {
|
|
"name": "1080p video muted",
|
|
"url": "https://www.bilibili.com/video/BV18i4y1m7xV/",
|
|
"params": {
|
|
"isAudioMuted": true
|
|
},
|
|
"expected": {
|
|
"code": 200,
|
|
"status": "stream"
|
|
}
|
|
}, {
|
|
"name": "1080p vertical video",
|
|
"url": "https://www.bilibili.com/video/BV1uu411z7VV/",
|
|
"params": {},
|
|
"expected": {
|
|
"code": 200,
|
|
"status": "stream"
|
|
}
|
|
}, {
|
|
"name": "1080p vertical video muted",
|
|
"url": "https://www.bilibili.com/video/BV1uu411z7VV/",
|
|
"params": {
|
|
"isAudioMuted": true
|
|
},
|
|
"expected": {
|
|
"code": 200,
|
|
"status": "stream"
|
|
}
|
|
}],
|
|
"tumblr": [{
|
|
"name": "at.tumblr link",
|
|
"url": "https://at.tumblr.com/music/704177038274281472/n7x7pr7x4w2b",
|
|
"params": {},
|
|
"expected": {
|
|
"code": 200,
|
|
"status": "redirect"
|
|
}
|
|
}, {
|
|
"name": "user subdomain link",
|
|
"url": "https://garfield-69.tumblr.com/post/696499862852780032",
|
|
"params": {},
|
|
"expected": {
|
|
"code": 200,
|
|
"status": "redirect"
|
|
}
|
|
}, {
|
|
"name": "web app link",
|
|
"url": "https://www.tumblr.com/rongzhi/707729381162958848/english-added-by-me?source=share",
|
|
"params": {},
|
|
"expected": {
|
|
"code": 200,
|
|
"status": "redirect"
|
|
}
|
|
}, {
|
|
"name": "tumblr audio",
|
|
"url": "https://rf9weu8hjf789234hf9.tumblr.com/post/172006661342/everyone-thats-made-a-video-out-of-this-without",
|
|
"params": {},
|
|
"expected": {
|
|
"code": 200,
|
|
"status": "stream"
|
|
}
|
|
}, {
|
|
"name": "tumblr video converted to audio",
|
|
"url": "https://garfield-69.tumblr.com/post/696499862852780032",
|
|
"params": {
|
|
"isAudioOnly": true
|
|
},
|
|
"expected": {
|
|
"code": 200,
|
|
"status": "stream"
|
|
}
|
|
}],
|
|
"vimeo": [{
|
|
"name": "4k progressive",
|
|
"url": "https://vimeo.com/288386543",
|
|
"params": {
|
|
"vQuality": "2160"
|
|
},
|
|
"expected": {
|
|
"code": 200,
|
|
"status": "redirect"
|
|
}
|
|
}, {
|
|
"name": "720p progressive",
|
|
"url": "https://vimeo.com/288386543",
|
|
"params": {
|
|
"vQuality": "720"
|
|
},
|
|
"expected": {
|
|
"code": 200,
|
|
"status": "redirect"
|
|
}
|
|
}, {
|
|
"name": "1080p dash parcel",
|
|
"url": "https://vimeo.com/774694040",
|
|
"params": {
|
|
"vQuality": "1440"
|
|
},
|
|
"expected": {
|
|
"code": 200,
|
|
"status": "stream"
|
|
}
|
|
}, {
|
|
"name": "720p dash parcel",
|
|
"url": "https://vimeo.com/774694040",
|
|
"params": {
|
|
"vQuality": "360"
|
|
},
|
|
"expected": {
|
|
"code": 200,
|
|
"status": "stream"
|
|
}
|
|
}],
|
|
"reddit": [{
|
|
"name": "video with audio",
|
|
"url": "https://www.reddit.com/r/catvideos/comments/b2rygq/my_new_kittens_1st_day_checking_out_his_new_home/?utm_source=share&utm_medium=web2x&context=3",
|
|
"params": {},
|
|
"expected": {
|
|
"code": 200,
|
|
"status": "stream"
|
|
}
|
|
}, {
|
|
"name": "video with audio (isAudioOnly)",
|
|
"url": "https://www.reddit.com/r/catvideos/comments/b2rygq/my_new_kittens_1st_day_checking_out_his_new_home/?utm_source=share&utm_medium=web2x&context=3",
|
|
"params": {
|
|
"isAudioOnly": true
|
|
},
|
|
"expected": {
|
|
"code": 200,
|
|
"status": "stream"
|
|
}
|
|
}, {
|
|
"name": "video with audio (isAudioMuted)",
|
|
"url": "https://www.reddit.com/r/catvideos/comments/b2rygq/my_new_kittens_1st_day_checking_out_his_new_home/?utm_source=share&utm_medium=web2x&context=3",
|
|
"params": {
|
|
"isAudioMuted": true
|
|
},
|
|
"expected": {
|
|
"code": 200,
|
|
"status": "stream"
|
|
}
|
|
}, {
|
|
"name": "video without audio",
|
|
"url": "https://www.reddit.com/r/catvideos/comments/ftoeo7/luna_doesnt_want_to_be_bothered_while_shes_napping/?utm_source=share&utm_medium=web2x&context=3",
|
|
"params": {},
|
|
"expected": {
|
|
"code": 200,
|
|
"status": "redirect"
|
|
}
|
|
}, {
|
|
"name": "actual gif, not looping video",
|
|
"url": "https://www.reddit.com/r/whenthe/comments/109wqy1/god_really_did_some_trolling/?utm_source=share&utm_medium=web2x&context=3",
|
|
"params": {},
|
|
"expected": {
|
|
"code": 200,
|
|
"status": "redirect"
|
|
}
|
|
}],
|
|
"instagram": [{
|
|
"name": "several videos in a post (picker)",
|
|
"url": "https://www.instagram.com/p/CqifaD0qiDt/",
|
|
"params": {},
|
|
"expected": {
|
|
"code": 200,
|
|
"status": "picker"
|
|
}
|
|
}, {
|
|
"name": "reel",
|
|
"url": "https://www.instagram.com/reel/CoEBV3eM4QR/",
|
|
"params": {},
|
|
"expected": {
|
|
"code": 200,
|
|
"status": "redirect"
|
|
}
|
|
}, {
|
|
"name": "regular video",
|
|
"url": "https://www.instagram.com/p/CmCVWoIr9OH/",
|
|
"params": {},
|
|
"expected": {
|
|
"code": 200,
|
|
"status": "redirect"
|
|
}
|
|
}, {
|
|
"name": "reel (isAudioOnly)",
|
|
"url": "https://www.instagram.com/reel/CoEBV3eM4QR/",
|
|
"params": {
|
|
"isAudioOnly": true
|
|
},
|
|
"expected": {
|
|
"code": 200,
|
|
"status": "stream"
|
|
}
|
|
}, {
|
|
"name": "reel (isAudioMuted)",
|
|
"url": "https://www.instagram.com/reel/CoEBV3eM4QR/",
|
|
"params": {
|
|
"isAudioMuted": true
|
|
},
|
|
"expected": {
|
|
"code": 200,
|
|
"status": "stream"
|
|
}
|
|
}, {
|
|
"name": "inexistent reel",
|
|
"url": "https://www.instagram.com/reel/XXXXXXXXXX/",
|
|
"params": {},
|
|
"expected": {
|
|
"code": 400,
|
|
"status": "error"
|
|
}
|
|
}, {
|
|
"name": "inexistent post",
|
|
"url": "https://www.instagram.com/p/XXXXXXXXXX/",
|
|
"params": {},
|
|
"expected": {
|
|
"code": 400,
|
|
"status": "error"
|
|
}
|
|
}],
|
|
"vine": [{
|
|
"name": "regular vine link (9+10=21)",
|
|
"url": "https://vine.co/v/huwVJIEJW50",
|
|
"params": {},
|
|
"expected": {
|
|
"code": 200,
|
|
"status": "redirect"
|
|
}
|
|
}, {
|
|
"name": "regular vine link (isAudioOnly)",
|
|
"url": "https://vine.co/v/huwVJIEJW50",
|
|
"params": {
|
|
"isAudioOnly": true
|
|
},
|
|
"expected": {
|
|
"code": 200,
|
|
"status": "stream"
|
|
}
|
|
}, {
|
|
"name": "regular vine link (isAudioMuted)",
|
|
"url": "https://vine.co/v/huwVJIEJW50",
|
|
"params": {
|
|
"isAudioMuted": true
|
|
},
|
|
"expected": {
|
|
"code": 200,
|
|
"status": "stream"
|
|
}
|
|
}],
|
|
"pinterest": [{
|
|
"name": "regular video",
|
|
"url": "https://www.pinterest.com/pin/70437485604616/",
|
|
"params": {},
|
|
"expected": {
|
|
"code": 200,
|
|
"status": "redirect"
|
|
}
|
|
}, {
|
|
"name": "regular video (isAudioOnly)",
|
|
"url": "https://www.pinterest.com/pin/70437485604616/",
|
|
"params": {
|
|
"isAudioOnly": true
|
|
},
|
|
"expected": {
|
|
"code": 200,
|
|
"status": "stream"
|
|
}
|
|
}, {
|
|
"name": "regular video (isAudioMuted)",
|
|
"url": "https://www.pinterest.com/pin/70437485604616/",
|
|
"params": {
|
|
"isAudioMuted": true
|
|
},
|
|
"expected": {
|
|
"code": 200,
|
|
"status": "stream"
|
|
}
|
|
}, {
|
|
"name": "regular video (.ca TLD)",
|
|
"url": "https://www.pinterest.ca/pin/70437485604616/",
|
|
"params": {},
|
|
"expected": {
|
|
"code": 200,
|
|
"status": "redirect"
|
|
}
|
|
}, {
|
|
"name": "story",
|
|
"url": "https://www.pinterest.com/pin/gadget-cool-products-amazon-product-technology-kitchen-gadgets--1084663891475263837/",
|
|
"params": {},
|
|
"expected": {
|
|
"code": 200,
|
|
"status": "redirect"
|
|
}
|
|
}]
|
|
} |