discourse/spec/fixtures/onebox/youku-meta.response
Arpit Jalan 283b08d45f
DEV: Absorb onebox gem into core (#12979)
* Move onebox gem in core library

* Update template file path

* Remove warning for onebox gem caching

* Remove onebox version file

* Remove onebox gem

* Add sanitize gem

* Require onebox library in lazy-yt plugin

* Remove onebox web specific code

This code was used in standalone onebox Sinatra application

* Merge Discourse specific AllowlistedGenericOnebox engine in core

* Fix onebox engine filenames to match class name casing

* Move onebox specs from gem into core

* DEV: Rename `response` helper to `onebox_response`

Fixes a naming collision.

* Require rails_helper

* Don't use `before/after(:all)`

* Whitespace

* Remove fakeweb

* Remove poor unit tests

* DEV: Re-add fakeweb, plugins are using it

* Move onebox helpers

* Stub Instagram API

* FIX: Follow additional redirect status codes (#476)

Don’t throw errors if we encounter 303, 307 or 308 HTTP status codes in responses

* Remove an empty file

* DEV: Update the license file

Using the copy from https://choosealicense.com/licenses/gpl-2.0/#

Hopefully this will enable GitHub to show the license UI?

* DEV: Update embedded copyrights

* DEV: Add Onebox copyright notice

* DEV: Add MIT license, convert COPYRIGHT.txt to md

* DEV: Remove an incorrect copyright claim

Co-authored-by: Jarek Radosz <jradosz@gmail.com>
Co-authored-by: jbrw <jamie@goatforce5.org>
2021-05-26 15:11:35 +05:30

1 line
2.7 KiB
Plaintext

{"data":[{"ct":"f","cs":"2139","logo":"http:\/\/g2.ykimg.com\/1100641F46528C827D38F313B54FF057305EFD-1D91-46C5-821D-DC010415AC44","seed":6981,"tags":["\u674e\u5b97\u76db","\u5317\u4eac\u6f14\u5531\u4f1a","\u9ad8\u6e05"],"categories":"95","videoid":"159325444","vidEncoded":"XNjM3MzAxNzc2","username":"\u7f2a\u65af\u5de6\u53f3\u624b","userid":"330649584","title":"20131116\u674e\u5b97\u76db\u65e2\u7136\u9752\u6625\u7559\u4e0d\u4f4f\u5317\u4eac\u6f14\u5531\u4f1a_\u5c71\u4e18\u9ad8\u6e05","up":0,"down":0,"ts":"eCPhhDOr8KU0kcSeAbfYFkk","tsup":"eCPlljCr8KU0kcSeAqXcFkk","preview":{"thumbs":["05210001528C82AA6A074A508F0ED369"],"sectiontime":"6000","host":"http:\/\/g2.ykimg.com\/"},"key1":"b344b3f4","key2":"f502ea489c71b119","tt":"0","videoSource":"1","seconds":"426.46","streamfileids":{"flv":"38*15*38*38*38*40*38*40*38*38*53*40*30*57*7*0*2*43*53*0*25*57*43*15*48*53*2*63*63*38*38*43*38*40*25*57*32*49*60*32*32*2*58*60*30*48*58*32*60*63*63*0*58*60*38*32*15*63*40*58*63*57*43*2*40*57*","mp4":"38*15*38*38*38*30*38*40*38*38*53*40*30*57*7*25*48*43*53*0*25*57*43*15*48*53*2*63*63*38*38*43*38*40*25*57*32*49*60*32*32*2*58*60*30*48*58*32*60*63*63*0*58*60*38*32*15*63*40*58*63*57*43*2*40*57*","hd2":"38*15*38*38*38*43*38*15*38*38*53*40*30*57*30*40*7*49*53*0*25*57*43*15*48*53*2*63*63*38*38*43*38*40*25*57*32*49*60*32*32*2*58*60*30*48*58*32*60*63*63*0*58*60*38*32*15*63*40*58*63*57*43*2*40*57*"},"segs":{"flv":[{"no":"0","size":"6184613","seconds":205,"k":"37c1eef9d45943ef261e1651","k2":"143edcb51afd4d171"},{"no":"1","size":"9216438","seconds":222,"k":"220a2502b066ad2d24120d63","k2":"1139d718a87e8cc40"}],"mp4":[{"no":"0","size":"13698266","seconds":228,"k":"76da9c943b762c3724120d63","k2":"16661d1c25fdaee0c"},{"no":"1","size":"15953117","seconds":199,"k":"28efdc07f014982624120d63","k2":"13b9062ccfa57562d"}],"hd2":[{"no":"0","size":"27687337","seconds":205,"k":"29f6914d58f7f3a7282a1f3e","k2":"1bd4a6f687452e7fe"},{"no":"1","size":"16198622","seconds":119,"k":"524dd8fbfb7de533261e1651","k2":"163153a4deeaa0408"},{"no":"2","size":"21240220","seconds":102,"k":"e3cafd8cbe886d8e261e1651","k2":"1c4344748c6bdac6c"}]},"streamsizes":{"flv":"15401051","mp4":"29651383","hd2":"65126179"},"stream_ids":{"flv":"34575279","mp4":"34575265","hd2":"34575346"},"streamlogos":{"flv":1,"mp4":1,"hd2":1},"streamtypes":["flv","mp4","hd2"],"streamtypes_o":["hd2","flvhd","mp4"]}],"user":{"id":0},"controller":{"search_count":true,"mp4_restrict":1,"stream_mode":1,"video_capture":true,"hd3_enabled":false,"area_code":617,"dma_code":506,"continuous":0,"playmode":"normal","circle":false,"tsflag":false,"other_disable":false,"xplayer_disable":false,"app_disable":false,"share_disabled":false,"download_disabled":false,"pc_disabled":false,"pad_disabled":false,"mobile_disabled":false,"tv_disabled":false,"comment_disabled":false}}