youlish / HowToSpeak

1 stars 2 forks source link

API #12

Open hinh1108 opened 6 years ago

hinh1108 commented 6 years ago

response.txt Json trả về khi search sub của 1 video @HenryNQC dùng cái này để play sub nha @tranducdung có thể parse ra giúp cường

HenryNQC2016 commented 6 years ago

oke bây bê. đã xong

hinh1108 commented 6 years ago

json API search { "listVideoSub": [ { "sub": { "end": "00:00:06,139", "id": 859, "num": 1, "start": "00:00:01,620", "text": "And now '9 Urban Dictionary Definitions You Need To Know'.", "videiId": "FgVmAq22HAM" }, "video": { "categoryId": "24", "channelId": "UCpko_-a4wgz2u_DgDgd9fqA", "id": "FgVmAq22HAM", "level": 1, "title": "9 Urban Dictionary Definitions You Need To Know" } }, { "sub": { "end": "00:00:22,815", "id": 6, "num": 6, "start": "00:00:18,477", "text": "and as part of that you came to the talk", "videiId": "HNP0USRtkIw" }, "video": { "categoryId": "27", "channelId": "UC4a-Gbdw7vOaccHmFo40b9g", "id": "HNP0USRtkIw", "level": 3, "title": "Angela Ahrendts - Former CEO of Burberry | Entrepreneurship | Khan Academy" } } ] }

hinh1108 commented 6 years ago

json sub { "listSub": [ { "end": "00:00:06,139", "id": 859, "num": 1, "start": "00:00:01,620", "text": "And now '9 Urban Dictionary Definitions You Need To Know'.", "videiId": "FgVmAq22HAM" }, { "end": "00:00:09,720", "id": 860, "num": 2, "start": "00:00:06,480", "text": "Farte Blanche - permission to fart freely", "videiId": "FgVmAq22HAM" }, { "end": "00:00:14,219", "id": 861, "num": 3, "start": "00:00:10,080", "text": "Carrie was given fart blanche around the house for the weekend.", "videiId": "FgVmAq22HAM" }, { "end": "00:00:19,620", "id": 862, "num": 4, "start": "00:00:14,759", "text": "Bropocalypse- a large gathering a bros on a mission to get drunk", "videiId": "FgVmAq22HAM" }, { "end": "00:00:25,199", "id": 863, "num": 5, "start": "00:00:19,980", "text": "Quarter beers are a sure sign of the coming bropocalypse.", "videiId": "FgVmAq22HAM" }, { "end": "00:00:29,160", "id": 864, "num": 6, "start": "00:00:25,199", "text": "Make It Snow - to throw diamonds or cocaine in the air.", "videiId": "FgVmAq22HAM" }, { "end": "00:00:33,840", "id": 865, "num": 7, "start": "00:00:29,519", "text": "I'm so rich, when I hit the club, I make it snow.", "videiId": "FgVmAq22HAM" }, { "end": "00:00:37,390", "id": 866, "num": 8, "start": "00:00:34,369", "text": "Dankrupt - to be out of marijuana", "videiId": "FgVmAq22HAM" }, { "end": "00:00:42,479", "id": 867, "num": 9, "start": "00:00:37,619", "text": "Johnny couldn't pack a bowl because he was dankrupt.", "videiId": "FgVmAq22HAM" }, { "end": "00:00:45,539", "id": 868, "num": 10, "start": "00:00:42,479", "text": "Moobs - excessive breast fat on a male", "videiId": "FgVmAq22HAM" }, { "end": "00:00:49,500", "id": 869, "num": 11, "start": "00:00:45,539", "text": "I love to bury my face between his moobs.", "videiId": "FgVmAq22HAM" }, { "end": "00:00:53,280", "id": 870, "num": 12, "start": "00:00:49,859", "text": "Clam Jam - the female version have a cock block", "videiId": "FgVmAq22HAM" }, { "end": "00:00:57,780", "id": 871, "num": 13, "start": "00:00:53,280", "text": "Jennie is a dick because she clam-jammed Rachel.", "videiId": "FgVmAq22HAM" }, { "end": "00:01:02,460", "id": 872, "num": 14, "start": "00:00:57,780", "text": "Nocialize - to ignore friends in public for your smartphone", "videiId": "FgVmAq22HAM" }, { "end": "00:01:06,239", "id": 873, "num": 15, "start": "00:01:02,460", "text": "Jenny is a dick for nocializing at brunch.", "videiId": "FgVmAq22HAM" }, { "end": "00:01:10,739", "id": 874, "num": 16, "start": "00:01:06,599", "text": "Meat Sweats - to perspire while eating large amounts of meat.", "videiId": "FgVmAq22HAM" }, { "end": "00:01:14,699", "id": 875, "num": 17, "start": "00:01:10,739", "text": "Our dinner date was ruined when Mark got the meat sweats.", "videiId": "FgVmAq22HAM" }, { "end": "00:01:19,379", "id": 876, "num": 18, "start": "00:01:15,780", "text": "Screwvenir - items kept after sleeping with someone", "videiId": "FgVmAq22HAM" }, { "end": "00:01:24,060", "id": 877, "num": 19, "start": "00:01:19,379", "text": "Jennie's new shirt is a screwvenir from Ted's house.", "videiId": "FgVmAq22HAM" }, { "end": "00:01:28,560", "id": 878, "num": 20, "start": "00:01:25,140", "text": "YOLO - Carpe Diem for stupid people", "videiId": "FgVmAq22HAM" }, { "end": "00:01:32,159", "id": 879, "num": 21, "start": "00:01:28,560", "text": "Let's have another drink because YOLO!", "videiId": "FgVmAq22HAM" }, { "end": "00:01:35,939", "id": 880, "num": 22, "start": "00:01:32,159", "text": "For more definitions visit UrbanDictionary.com", "videiId": "FgVmAq22HAM" }, { "end": "00:01:40,980", "id": 881, "num": 23, "start": "00:01:36,750", "text": " Be sure to look up "beef walk." It's quite amusing.", "videiId": "FgVmAq22HAM" } ] }

hinh1108 commented 6 years ago

json getVideoBy CategoryId,level { "listVideo": [ { "categoryId": 24, "channelId": "UCpko_-a4wgz2u_DgDgd9fqA", "id": "FgVmAq22HAM", "level": 1, "title": "9 Urban Dictionary Definitions You Need To Know" } ] }