2023-02-13 13:44:58 +00:00
|
|
|
{
|
|
|
|
"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"
|
|
|
|
}
|
2024-01-07 21:43:17 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "video with mobile web mediaviewer",
|
|
|
|
"url": "https://twitter.com/XSpaces/status/1526955853743546372/mediaViewer?currentTweet=1526955853743546372¤tTweetUser=XSpaces¤tTweet=1526955853743546372¤tTweetUser=XSpaces",
|
|
|
|
"params": {},
|
|
|
|
"expected": {
|
|
|
|
"code": 200,
|
|
|
|
"status": "redirect"
|
|
|
|
}
|
2023-02-13 13:44:58 +00:00
|
|
|
}, {
|
|
|
|
"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"
|
|
|
|
}
|
|
|
|
}, {
|
2023-06-07 16:41:06 +01:00
|
|
|
"name": "picker: mixed media (3 videos)",
|
|
|
|
"url": "https://twitter.com/DankGameAlert/status/1584726006094794774",
|
2023-02-13 13:44:58 +00:00
|
|
|
"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"
|
|
|
|
}
|
2023-03-24 17:16:10 +00:00
|
|
|
}, {
|
|
|
|
"name": "retweeted video",
|
2023-09-06 14:37:03 +01:00
|
|
|
"url": "https://twitter.com/uwukko/status/1696901469633421344",
|
2023-04-27 04:26:19 +01:00
|
|
|
"params": {},
|
|
|
|
"expected": {
|
|
|
|
"code": 200,
|
|
|
|
"status": "redirect"
|
|
|
|
}
|
|
|
|
}, {
|
|
|
|
"name": "age-restricted video",
|
|
|
|
"url": "https://twitter.com/FckyeahCharli/status/1650987582749065220",
|
|
|
|
"params": {},
|
|
|
|
"expected": {
|
|
|
|
"code": 200,
|
|
|
|
"status": "redirect"
|
|
|
|
}
|
|
|
|
}, {
|
2023-08-20 11:11:16 +01:00
|
|
|
"name": "twitter voice + x.com link",
|
|
|
|
"url": "https://x.com/eggsaladscreams/status/1693089534886506756?s=46",
|
|
|
|
"params": {},
|
|
|
|
"expected": {
|
|
|
|
"code": 200,
|
|
|
|
"status": "redirect"
|
|
|
|
}
|
|
|
|
}, {
|
|
|
|
"name": "vxtwitter link",
|
|
|
|
"url": "https://vxtwitter.com/dustbin_nie/status/1624596567188717568?s=20",
|
2023-04-27 04:26:19 +01:00
|
|
|
"params": {},
|
|
|
|
"expected": {
|
|
|
|
"code": 200,
|
|
|
|
"status": "redirect"
|
|
|
|
}
|
|
|
|
}, {
|
|
|
|
"name": "retweeted video, isAudioOnly",
|
2023-08-15 09:37:59 +01:00
|
|
|
"url": "https://twitter.com/hugekiwinuts/status/1618671150829309953?s=46&t=gItGzgwGQQJJaJrO6qc1Pg",
|
2023-03-24 17:16:10 +00:00
|
|
|
"params": {
|
|
|
|
"aFormat": "mp3",
|
|
|
|
"isAudioOnly": false,
|
|
|
|
"isAudioMuted": true
|
|
|
|
},
|
|
|
|
"expected": {
|
|
|
|
"code": 200,
|
|
|
|
"status": "stream"
|
|
|
|
}
|
2023-02-13 13:44:58 +00:00
|
|
|
}, {
|
|
|
|
"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"
|
|
|
|
}
|
2023-05-16 16:20:00 +01:00
|
|
|
}, {
|
|
|
|
"name": "on.soundcloud link",
|
2023-05-16 16:31:11 +01:00
|
|
|
"url": "https://on.soundcloud.com/wLZre",
|
|
|
|
"params": {},
|
|
|
|
"expected": {
|
|
|
|
"code": 200,
|
|
|
|
"status": "stream"
|
|
|
|
}
|
|
|
|
}, {
|
|
|
|
"name": "on.soundcloud link, different stream type",
|
2023-05-16 16:20:00 +01:00
|
|
|
"url": "https://on.soundcloud.com/AG4c",
|
|
|
|
"params": {},
|
|
|
|
"expected": {
|
|
|
|
"code": 200,
|
|
|
|
"status": "stream"
|
|
|
|
}
|
2023-12-25 16:21:06 +00:00
|
|
|
}, {
|
|
|
|
"name": "no opus audio, fallback to mp3",
|
|
|
|
"url": "https://soundcloud.com/frums/credits",
|
|
|
|
"params": {},
|
|
|
|
"expected": {
|
|
|
|
"code": 200,
|
|
|
|
"status": "stream"
|
|
|
|
}
|
2023-02-13 13:44:58 +00:00
|
|
|
}],
|
|
|
|
"youtube": [{
|
2023-02-26 16:49:25 +00:00
|
|
|
"name": "4k video (h264, 1440)",
|
2023-02-13 13:44:58 +00:00
|
|
|
"url": "https://www.youtube.com/watch?v=vPwaXytZcgI",
|
|
|
|
"params": {
|
2023-02-26 16:49:25 +00:00
|
|
|
"vCodec": "h264",
|
|
|
|
"vQuality": "1440"
|
2023-02-13 13:44:58 +00:00
|
|
|
},
|
|
|
|
"expected": {
|
|
|
|
"code": 200,
|
|
|
|
"status": "stream"
|
|
|
|
}
|
|
|
|
}, {
|
2023-02-26 16:49:25 +00:00
|
|
|
"name": "4k video (vp9, 720)",
|
2023-02-13 13:44:58 +00:00
|
|
|
"url": "https://www.youtube.com/watch?v=vPwaXytZcgI",
|
|
|
|
"params": {
|
2023-02-26 16:49:25 +00:00
|
|
|
"vCodec": "vp9",
|
|
|
|
"vQuality": "720"
|
2023-02-13 13:44:58 +00:00
|
|
|
},
|
|
|
|
"expected": {
|
|
|
|
"code": 200,
|
|
|
|
"status": "stream"
|
|
|
|
}
|
|
|
|
}, {
|
2023-02-26 16:49:25 +00:00
|
|
|
"name": "4k video (av1, max)",
|
2023-02-13 13:44:58 +00:00
|
|
|
"url": "https://www.youtube.com/watch?v=vPwaXytZcgI",
|
|
|
|
"params": {
|
2023-02-26 16:49:25 +00:00
|
|
|
"vCodec": "av1",
|
|
|
|
"vQuality": "max"
|
2023-02-13 13:44:58 +00:00
|
|
|
},
|
|
|
|
"expected": {
|
|
|
|
"code": 200,
|
|
|
|
"status": "stream"
|
|
|
|
}
|
|
|
|
}, {
|
2023-02-26 16:49:25 +00:00
|
|
|
"name": "4k video (h264, 720)",
|
2023-02-13 13:44:58 +00:00
|
|
|
"url": "https://www.youtube.com/watch?v=vPwaXytZcgI",
|
|
|
|
"params": {
|
2023-02-26 16:49:25 +00:00
|
|
|
"vCodec": "h264",
|
|
|
|
"vQuality": "720"
|
2023-02-13 13:44:58 +00:00
|
|
|
},
|
|
|
|
"expected": {
|
|
|
|
"code": 200,
|
|
|
|
"status": "stream"
|
|
|
|
}
|
|
|
|
}, {
|
2023-02-26 16:49:25 +00:00
|
|
|
"name": "4k video (vp9, max, isAudioMuted)",
|
2023-02-13 13:44:58 +00:00
|
|
|
"url": "https://www.youtube.com/watch?v=vPwaXytZcgI",
|
|
|
|
"params": {
|
2023-02-26 16:49:25 +00:00
|
|
|
"vCodec": "vp9",
|
2023-02-13 13:44:58 +00:00
|
|
|
"vQuality": "max",
|
|
|
|
"isAudioMuted": true
|
|
|
|
},
|
|
|
|
"expected": {
|
|
|
|
"code": 200,
|
|
|
|
"status": "stream"
|
|
|
|
}
|
|
|
|
}, {
|
2023-02-26 16:49:25 +00:00
|
|
|
"name": "4k video (h264, max, isAudioMuted)",
|
2023-02-13 13:44:58 +00:00
|
|
|
"url": "https://www.youtube.com/watch?v=vPwaXytZcgI",
|
|
|
|
"params": {
|
2023-02-26 16:49:25 +00:00
|
|
|
"vCodec": "h264",
|
2023-02-13 13:44:58 +00:00
|
|
|
"vQuality": "max",
|
|
|
|
"isAudioMuted": true
|
|
|
|
},
|
|
|
|
"expected": {
|
|
|
|
"code": 200,
|
|
|
|
"status": "stream"
|
|
|
|
}
|
|
|
|
}, {
|
2023-02-26 16:49:25 +00:00
|
|
|
"name": "4k video (av1, max, isAudioMuted, isAudioOnly, mp3)",
|
2023-02-13 13:44:58 +00:00
|
|
|
"url": "https://www.youtube.com/watch?v=vPwaXytZcgI",
|
|
|
|
"params": {
|
2023-02-26 16:49:25 +00:00
|
|
|
"vCodec": "av1",
|
2023-02-13 13:44:58 +00:00
|
|
|
"vQuality": "max",
|
|
|
|
"aFormat": "mp3",
|
|
|
|
"isAudioOnly": true,
|
|
|
|
"isAudioMuted": true
|
|
|
|
},
|
|
|
|
"expected": {
|
|
|
|
"code": 200,
|
|
|
|
"status": "stream"
|
|
|
|
}
|
|
|
|
}, {
|
2023-02-26 16:49:25 +00:00
|
|
|
"name": "4k video (av1, max, isAudioMuted, isAudioOnly, best)",
|
2023-02-13 13:44:58 +00:00
|
|
|
"url": "https://www.youtube.com/watch?v=vPwaXytZcgI",
|
|
|
|
"params": {
|
2023-02-26 16:49:25 +00:00
|
|
|
"vCodec": "av1",
|
2023-02-13 13:44:58 +00:00
|
|
|
"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"
|
|
|
|
}
|
2023-03-01 02:37:26 +00:00
|
|
|
}, {
|
|
|
|
"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"
|
|
|
|
}
|
2023-02-13 13:44:58 +00:00
|
|
|
}, {
|
|
|
|
"name": "short, defaults",
|
|
|
|
"url": "https://www.youtube.com/shorts/r5FpeOJItbw",
|
|
|
|
"params": {},
|
|
|
|
"expected": {
|
|
|
|
"code": 200,
|
|
|
|
"status": "stream"
|
|
|
|
}
|
2023-06-05 07:43:04 +01:00
|
|
|
}, {
|
|
|
|
"name": "vr 360, av1, max",
|
|
|
|
"url": "https://www.youtube.com/watch?v=hEdzv7D4CbQ",
|
|
|
|
"params": {
|
|
|
|
"vCodec": "vp9",
|
|
|
|
"vQuality": "max"
|
|
|
|
},
|
|
|
|
"expected": {
|
|
|
|
"code": 200,
|
|
|
|
"status": "stream"
|
|
|
|
}
|
2023-08-25 19:03:24 +01:00
|
|
|
}, {
|
|
|
|
"name": "live link, defaults",
|
|
|
|
"url": "https://www.youtube.com/live/ENxZS6PUDuI?feature=shared",
|
|
|
|
"params": {},
|
|
|
|
"expected": {
|
|
|
|
"code": 200,
|
|
|
|
"status": "stream"
|
|
|
|
}
|
2023-02-13 13:44:58 +00:00
|
|
|
}, {
|
|
|
|
"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"
|
|
|
|
}
|
|
|
|
}, {
|
2023-02-26 16:49:25 +00:00
|
|
|
"name": "clip, 360",
|
2023-02-13 13:44:58 +00:00
|
|
|
"url": "https://vk.com/clip-57274055_456239788",
|
|
|
|
"params": {
|
2023-02-26 16:49:25 +00:00
|
|
|
"vQuality": "360"
|
2023-02-13 13:44:58 +00:00
|
|
|
},
|
|
|
|
"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"
|
|
|
|
}
|
2023-08-20 17:12:09 +01:00
|
|
|
}, {
|
|
|
|
"name": "4k video",
|
|
|
|
"url": "https://vk.com/video-1112285_456248465",
|
|
|
|
"params": {
|
|
|
|
"vQuality": "max"
|
|
|
|
},
|
|
|
|
"expected": {
|
|
|
|
"code": 200,
|
|
|
|
"status": "stream"
|
|
|
|
}
|
2023-04-29 16:30:59 +01:00
|
|
|
}, {
|
|
|
|
"name": "ancient video (fallback to 240p)",
|
|
|
|
"url": "https://vk.com/video-1959_28496479",
|
|
|
|
"params": {},
|
|
|
|
"expected": {
|
|
|
|
"code": 200,
|
|
|
|
"status": "stream"
|
|
|
|
}
|
2023-02-13 13:44:58 +00:00
|
|
|
}, {
|
|
|
|
"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",
|
2023-05-16 21:13:11 +01:00
|
|
|
"url": "https://www.tiktok.com/@matryoshk4/video/7231234675476532526",
|
2023-02-13 13:44:58 +00:00
|
|
|
"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"
|
|
|
|
}
|
2023-06-05 07:43:04 +01:00
|
|
|
}, {
|
|
|
|
"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"
|
|
|
|
}
|
2023-02-13 13:44:58 +00:00
|
|
|
}],
|
|
|
|
"vimeo": [{
|
|
|
|
"name": "4k progressive",
|
|
|
|
"url": "https://vimeo.com/288386543",
|
|
|
|
"params": {
|
2023-02-26 16:49:25 +00:00
|
|
|
"vQuality": "2160"
|
2023-02-13 13:44:58 +00:00
|
|
|
},
|
|
|
|
"expected": {
|
|
|
|
"code": 200,
|
|
|
|
"status": "redirect"
|
|
|
|
}
|
|
|
|
}, {
|
|
|
|
"name": "720p progressive",
|
|
|
|
"url": "https://vimeo.com/288386543",
|
|
|
|
"params": {
|
2023-02-26 16:49:25 +00:00
|
|
|
"vQuality": "720"
|
2023-02-13 13:44:58 +00:00
|
|
|
},
|
|
|
|
"expected": {
|
|
|
|
"code": 200,
|
|
|
|
"status": "redirect"
|
|
|
|
}
|
|
|
|
}, {
|
|
|
|
"name": "1080p dash parcel",
|
|
|
|
"url": "https://vimeo.com/774694040",
|
|
|
|
"params": {
|
2023-02-26 16:49:25 +00:00
|
|
|
"vQuality": "1440"
|
2023-02-13 13:44:58 +00:00
|
|
|
},
|
|
|
|
"expected": {
|
|
|
|
"code": 200,
|
|
|
|
"status": "stream"
|
|
|
|
}
|
|
|
|
}, {
|
|
|
|
"name": "720p dash parcel",
|
|
|
|
"url": "https://vimeo.com/774694040",
|
|
|
|
"params": {
|
2023-02-26 16:49:25 +00:00
|
|
|
"vQuality": "360"
|
2023-02-13 13:44:58 +00:00
|
|
|
},
|
|
|
|
"expected": {
|
|
|
|
"code": 200,
|
|
|
|
"status": "stream"
|
|
|
|
}
|
|
|
|
}],
|
|
|
|
"reddit": [{
|
|
|
|
"name": "video with audio",
|
2023-08-04 19:43:12 +01:00
|
|
|
"url": "https://www.reddit.com/r/TikTokCringe/comments/wup1fg/id_be_escaping_at_the_first_chance_i_got/?utm_source=share&utm_medium=web2x&context=3",
|
2023-02-13 13:44:58 +00:00
|
|
|
"params": {},
|
|
|
|
"expected": {
|
|
|
|
"code": 200,
|
|
|
|
"status": "stream"
|
|
|
|
}
|
|
|
|
}, {
|
|
|
|
"name": "video with audio (isAudioOnly)",
|
2023-08-04 19:43:12 +01:00
|
|
|
"url": "https://www.reddit.com/r/TikTokCringe/comments/wup1fg/id_be_escaping_at_the_first_chance_i_got/?utm_source=share&utm_medium=web2x&context=3",
|
2023-02-13 13:44:58 +00:00
|
|
|
"params": {
|
|
|
|
"isAudioOnly": true
|
|
|
|
},
|
|
|
|
"expected": {
|
|
|
|
"code": 200,
|
|
|
|
"status": "stream"
|
|
|
|
}
|
|
|
|
}, {
|
|
|
|
"name": "video with audio (isAudioMuted)",
|
2023-08-04 19:43:12 +01:00
|
|
|
"url": "https://www.reddit.com/r/TikTokCringe/comments/wup1fg/id_be_escaping_at_the_first_chance_i_got/?utm_source=share&utm_medium=web2x&context=3",
|
2023-02-13 13:44:58 +00:00
|
|
|
"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"
|
|
|
|
}
|
2023-08-04 19:43:12 +01:00
|
|
|
}, {
|
|
|
|
"name": "different audio link, live render",
|
|
|
|
"url": "https://www.reddit.com/r/TikTokCringe/comments/15hce91/asian_daddy_kink/",
|
|
|
|
"params": {},
|
|
|
|
"expected": {
|
|
|
|
"code": 200,
|
|
|
|
"status": "stream"
|
|
|
|
}
|
2023-04-24 20:01:25 +01:00
|
|
|
}],
|
|
|
|
"instagram": [{
|
2023-08-20 14:36:56 +01:00
|
|
|
"name": "single photo post",
|
|
|
|
"url": "https://www.instagram.com/p/CwIgW8Yu5-I/",
|
|
|
|
"params": {},
|
|
|
|
"expected": {
|
|
|
|
"code": 200,
|
|
|
|
"status": "redirect"
|
|
|
|
}
|
|
|
|
}, {
|
2023-08-20 14:14:31 +01:00
|
|
|
"name": "various picker (photos + video)",
|
|
|
|
"url": "https://www.instagram.com/p/CvYrSgnsKjv/",
|
2023-04-24 20:01:25 +01:00
|
|
|
"params": {},
|
|
|
|
"expected": {
|
|
|
|
"code": 200,
|
|
|
|
"status": "picker"
|
|
|
|
}
|
|
|
|
}, {
|
|
|
|
"name": "reel",
|
|
|
|
"url": "https://www.instagram.com/reel/CoEBV3eM4QR/",
|
|
|
|
"params": {},
|
|
|
|
"expected": {
|
|
|
|
"code": 200,
|
|
|
|
"status": "redirect"
|
|
|
|
}
|
2023-05-16 21:13:11 +01:00
|
|
|
}, {
|
|
|
|
"name": "regular video",
|
|
|
|
"url": "https://www.instagram.com/p/CmCVWoIr9OH/",
|
|
|
|
"params": {},
|
|
|
|
"expected": {
|
|
|
|
"code": 200,
|
|
|
|
"status": "redirect"
|
|
|
|
}
|
2023-04-24 20:01:25 +01:00
|
|
|
}, {
|
|
|
|
"name": "reel (isAudioOnly)",
|
|
|
|
"url": "https://www.instagram.com/reel/CoEBV3eM4QR/",
|
|
|
|
"params": {
|
|
|
|
"isAudioOnly": true
|
|
|
|
},
|
|
|
|
"expected": {
|
|
|
|
"code": 200,
|
|
|
|
"status": "stream"
|
|
|
|
}
|
2023-04-29 17:26:49 +01:00
|
|
|
}, {
|
|
|
|
"name": "reel (isAudioMuted)",
|
|
|
|
"url": "https://www.instagram.com/reel/CoEBV3eM4QR/",
|
|
|
|
"params": {
|
|
|
|
"isAudioMuted": true
|
|
|
|
},
|
|
|
|
"expected": {
|
|
|
|
"code": 200,
|
|
|
|
"status": "stream"
|
|
|
|
}
|
2023-04-24 20:01:25 +01:00
|
|
|
}, {
|
|
|
|
"name": "inexistent reel",
|
|
|
|
"url": "https://www.instagram.com/reel/XXXXXXXXXX/",
|
|
|
|
"params": {},
|
|
|
|
"expected": {
|
|
|
|
"code": 400,
|
|
|
|
"status": "error"
|
|
|
|
}
|
|
|
|
}, {
|
|
|
|
"name": "inexistent post",
|
2023-04-24 20:07:26 +01:00
|
|
|
"url": "https://www.instagram.com/p/XXXXXXXXXX/",
|
2023-04-24 20:01:25 +01:00
|
|
|
"params": {},
|
|
|
|
"expected": {
|
|
|
|
"code": 400,
|
|
|
|
"status": "error"
|
|
|
|
}
|
2023-07-04 12:57:58 +01:00
|
|
|
}, {
|
|
|
|
"name": "post info in an array (for whatever reason??)",
|
|
|
|
"url": "https://www.instagram.com/reel/CrVB9tatUDv/?igshid=blaBlABALALbLABULLSHIT==",
|
|
|
|
"params": {},
|
|
|
|
"expected": {
|
|
|
|
"code": 200,
|
|
|
|
"status": "redirect"
|
|
|
|
}
|
|
|
|
}, {
|
|
|
|
"name": "prone to get rate limited",
|
|
|
|
"url": "https://www.instagram.com/reel/CrO-T7Qo6rq/?igshid=fuckYouNoTrackingIdForYou==",
|
|
|
|
"params": {},
|
|
|
|
"expected": {
|
|
|
|
"code": 200,
|
|
|
|
"status": "redirect"
|
|
|
|
}
|
2023-04-29 17:26:49 +01:00
|
|
|
}],
|
|
|
|
"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"
|
|
|
|
}
|
2023-04-29 20:33:36 +01:00
|
|
|
}],
|
2023-05-24 18:32:41 +01:00
|
|
|
"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"
|
|
|
|
}
|
2023-08-19 17:42:10 +01:00
|
|
|
}],
|
|
|
|
"streamable": [{
|
|
|
|
"name": "regular video",
|
|
|
|
"url": "https://streamable.com/03r3c2",
|
|
|
|
"params": {},
|
|
|
|
"expected": {
|
|
|
|
"code": 200,
|
|
|
|
"status": "redirect"
|
|
|
|
}
|
2023-08-20 10:18:21 +01:00
|
|
|
}, {
|
|
|
|
"name": "embedded link",
|
|
|
|
"url": "https://streamable.com/e/rsmo56",
|
|
|
|
"params": {},
|
|
|
|
"expected": {
|
|
|
|
"code": 200,
|
|
|
|
"status": "redirect"
|
|
|
|
}
|
2023-08-19 17:42:10 +01:00
|
|
|
}, {
|
|
|
|
"name": "regular video (isAudioOnly)",
|
|
|
|
"url": "https://streamable.com/03r3c2",
|
|
|
|
"params": {
|
|
|
|
"isAudioOnly": true
|
|
|
|
},
|
|
|
|
"expected": {
|
|
|
|
"code": 200,
|
|
|
|
"status": "stream"
|
|
|
|
}
|
|
|
|
}, {
|
|
|
|
"name": "regular video (isAudioMuted)",
|
|
|
|
"url": "https://streamable.com/03r3c2",
|
|
|
|
"params": {
|
|
|
|
"isAudioMuted": true
|
|
|
|
},
|
|
|
|
"expected": {
|
|
|
|
"code": 200,
|
|
|
|
"status": "stream"
|
|
|
|
}
|
|
|
|
}, {
|
|
|
|
"name": "inexistent video",
|
|
|
|
"url": "https://streamable.com/XXXXXX",
|
|
|
|
"params": {},
|
|
|
|
"expected": {
|
|
|
|
"code": 400,
|
|
|
|
"status": "error"
|
|
|
|
}
|
2023-09-16 10:40:09 +01:00
|
|
|
}],
|
2023-04-29 20:33:36 +01:00
|
|
|
"twitch": [{
|
|
|
|
"name": "clip",
|
|
|
|
"url": "https://twitch.tv/rtgame/clip/TubularInventiveSardineCorgiDerp-PM47mJQQ2vsL5B5G",
|
|
|
|
"params": {},
|
|
|
|
"expected": {
|
|
|
|
"code": 200,
|
|
|
|
"status": "stream"
|
|
|
|
}
|
|
|
|
}, {
|
|
|
|
"name": "clip (isAudioOnly)",
|
|
|
|
"url": "https://twitch.tv/rtgame/clip/TubularInventiveSardineCorgiDerp-PM47mJQQ2vsL5B5G",
|
|
|
|
"params": {
|
|
|
|
"isAudioOnly": true
|
|
|
|
},
|
|
|
|
"expected": {
|
|
|
|
"code": 200,
|
|
|
|
"status": "stream"
|
|
|
|
}
|
|
|
|
}, {
|
|
|
|
"name": "clip (isAudioMuted)",
|
|
|
|
"url": "https://twitch.tv/rtgame/clip/TubularInventiveSardineCorgiDerp-PM47mJQQ2vsL5B5G",
|
|
|
|
"params": {
|
|
|
|
"isAudioMuted": true
|
|
|
|
},
|
|
|
|
"expected": {
|
|
|
|
"code": 200,
|
|
|
|
"status": "stream"
|
|
|
|
}
|
2023-09-16 18:38:07 +01:00
|
|
|
}],
|
|
|
|
"rutube": [{
|
|
|
|
"name": "regular video",
|
|
|
|
"url": "https://rutube.ru/video/b2f6c27649907c2fde0af411b03825eb/",
|
|
|
|
"params": {},
|
|
|
|
"expected": {
|
|
|
|
"code": 200,
|
|
|
|
"status": "stream"
|
|
|
|
}
|
|
|
|
}, {
|
|
|
|
"name": "vertical video (isAudioMuted)",
|
|
|
|
"url": "https://rutube.ru/video/18a281399b96f9184c647455a86f6724/",
|
|
|
|
"params": {
|
|
|
|
"isAudioMuted": true
|
|
|
|
},
|
|
|
|
"expected": {
|
|
|
|
"code": 200,
|
|
|
|
"status": "stream"
|
|
|
|
}
|
|
|
|
}, {
|
|
|
|
"name": "russian region lock",
|
|
|
|
"url": "https://rutube.ru/video/b521653b4f71ece57b8ff54e57ca9b82/",
|
|
|
|
"params": {},
|
|
|
|
"expected": {
|
|
|
|
"code": 200,
|
|
|
|
"status": "stream"
|
|
|
|
}
|
|
|
|
}, {
|
|
|
|
"name": "vertical video",
|
|
|
|
"url": "https://rutube.ru/video/18a281399b96f9184c647455a86f6724/",
|
|
|
|
"params": {},
|
|
|
|
"expected": {
|
|
|
|
"code": 200,
|
|
|
|
"status": "stream"
|
|
|
|
}
|
|
|
|
}, {
|
|
|
|
"name": "vertical video (isAudioOnly)",
|
|
|
|
"url": "https://rutube.ru/video/18a281399b96f9184c647455a86f6724/",
|
|
|
|
"params": {
|
|
|
|
"isAudioOnly": true
|
|
|
|
},
|
|
|
|
"expected": {
|
|
|
|
"code": 200,
|
|
|
|
"status": "stream"
|
|
|
|
}
|
|
|
|
}, {
|
|
|
|
"name": "vertical video (isAudioMuted)",
|
|
|
|
"url": "https://rutube.ru/video/18a281399b96f9184c647455a86f6724/",
|
|
|
|
"params": {
|
|
|
|
"isAudioMuted": true
|
|
|
|
},
|
|
|
|
"expected": {
|
|
|
|
"code": 200,
|
|
|
|
"status": "stream"
|
|
|
|
}
|
2024-01-17 07:17:26 +00:00
|
|
|
}],
|
|
|
|
"ok": [{
|
|
|
|
"name": "regular video",
|
|
|
|
"url": "https://ok.ru/video/7204071410346",
|
|
|
|
"params": {},
|
|
|
|
"expected": {
|
|
|
|
"code": 200,
|
|
|
|
"status": "stream"
|
|
|
|
}
|
2023-02-13 13:44:58 +00:00
|
|
|
}]
|
2023-09-16 10:40:09 +01:00
|
|
|
}
|