-
问下json的问题,求大神,我什么都不懂5
这个是视频生成后的地址http://s88.userporn.com/s?v=zUxckNZ0qwOd&r=1&t=1333348339&u=&c=ce3edf6330769976890ece65557ff71d56507c09169c4fe7e27bb576ed24e6b6b32a93e270435c02ddacba6353f8fc94
随机在变
这个是视频的地址
http://userporn.com/player/player.swf?v=zUxckNZ0qwOd&em=TRUE&sd=userporn.com
我嗅探到的这个地址
http://userporn.com/player_control/settings.php?v=zUxckNZ0qwOd&em=TRUE&fv=v1.1.50
里面是{"settings":{"messages":["you still have quota left"],"config":{"isembed":"TRUE","ispublic":"TRUE","usage_amount":"780","usage_limit":"900","usage_reset_timeleft":3600,"uhex":"","ut":0,"vcode":"zUxckNZ0qwOd","icode":"6eb69a5a91bc40c45e8ae765cb110dfc","st":1333348410,"tst":300,"scst":60,"rkts":282800,"pn":"c","thumbnail":"http:\/\/t.userporn.com\/t\/0388\/e8bef7605a3e971d369a9c9d8617f5d0\/e8bef7605a3e971d369a9c9d8617f5d0_00.jpg","banner":"http:\/\/userporn.com\/player_control\/get_banner.php","url":"http:\/\/userporn.com\/video\/zUxckNZ0qwOd","pf":"http:\/\/userporn.com\/player\/p.swf?rv=1_1_50","swf_link":"http:\/\/userporn.com\/f\/zUxckNZ0qwOd.swf","embed":"的问题
视频ID代码里面有 这段代码也有1&t=1333348295 就是我不知道开始的S88怎么来的,和最后这段&u=&c=ce3edf6330769976890ece65557ff71d56507c09169c4fe7e27bb576ed24e6b6b32a93e270435c02ddacba6353f8fc94怎么来的,是怎么生成的,主要是现在我想做个PHP抓取视频的代理,有会的大神说下
我查看了http://userporn.com/player_control/settings.php?v=zUxckNZ0qwOd&em=TRUE&fv=v1.1.50源代码
\/premium.php","ref_url7":"http:\/\/userporn.com\/","ref_url8":"http:\/\/userporn.com\/rewards.php","ref_url9":"http:\/\/userporn.com\/reportabuse.php?v=zUxckNZ0qwOd","ip":"218.89.85.215","bt":1,"sk":"UP_sk","default_seekname":"start","bwc_url":"http:\/\/sc.userporn.com\/bwc","import_video":null},"login_status":{"spn":"Yz00","spen":"e202d11c49699a7d","euno":"4ae2b24e0f2b195436468817a30a4b46dbda8d661485aeeab442adf5b1c60c7dc62bdaadff1981c6e9bd924e236afc9e","ejik":962076,"food":"b92bac1a5a166a7df2531ca6c703475f666b77ab7ae7085e87ffbd02fdb1f","sugar":"430492af5ae577ceaafbd8209b9393cceb07be6ed79b13ac01f0ba49","pepper":956478,"salt":837803,"islogin":"FALSE","ispremium":false,"checkstatus":"","checkinterval":1800},"premium_plans":{"currency":"USD","payment_url":"http:\/\/www.userporn.com\/premium_general.php","promotion":null,"plans":[{"c":"64","premium_plan_period":"30 days","premium_plan_price":19.99,"buy_now_style":1,"promotion_c":null,"promotion_premium_plan_price":null},{"c":"27","premium_plan_period":"180 days","premium_plan_price":44.99,"buy_now_style":1,"promotion_c":null,"promotion_premium_plan_price":null},{"c":"28","premium_plan_period":"365 days","premium_plan_price":79.99,"buy_now_style":1,"promotion_c":null,"promotion_premium_plan_price":null}],"remarks":"\n","text":{"buynow":"Buy Now","remarks_1":"","title_line1":"You have watched ","title_line2":"of video already","title_timelimit":" minutes ","title_timelimit_short":" mins ","title_timelimit_line1":"free watching time is over","title_timelimit_line2a":"Buy Premium to enjoy unlimited videos or wait","title_timelimit_line2b":"mins","premium_membership":"Premium Membership","premium_feature1":"","premium_feature2":"","premium_feature3":"","premium_feature4":""}},"ext_links":{"links":{"facebook":{"name":"Facebook","url":"http:\/\/www.facebook.com\/sharer.php?u=http%3A%2F%2Fuserporn.com%2Fvideo%2FzUxckNZ0qwOd&t=n0683"},"twitter":{"name":"Twitter","url":"http:\/\/twitter.com\/share?count=horizontal&original_referer=http%3A%2F%2Fuserporn.com%2Fvideo%2FzUxckNZ0qwOd&text=n0683&url=http%3A%2F%2Fuserporn.com%2Fvideo%2FzUxckNZ0qwOd&via=userporn"},"myspace":{"name":"MySpace","url":"http:\/\/www.myspace.com\/Modules\/PostTo\/Pages\/?t=n0683&u=http%3A%2F%2Fuserporn.com%2Fvideo%2FzUxckNZ0qwOd&l=1"},"msn":{"name":"MSN","url":"http:\/\/spaces.live.com\/BlogIt.aspx?Title=n0683&SourceURL=http%3A%2F%2Fuserporn.com%2Fvideo%2FzUxckNZ0qwOd&"},"orkut":{"name":"Orkut","url":"http:\/\/www.orkut.com\/FavoriteVideos.aspx?u=http%3A%2F%2Fuserporn.com%2Fvideo%2FzUxckNZ0qwOd&"},"blogger":{"name":"Blogger","url":"http:\/\/www.blogger.com\/blog-this.g?n=n0683&source=userporn&b=http%3A%2F%2Fuserporn.com%2Fvideo%2FzUxckNZ0qwOd&"},"delicious":{"name":"Delicious","url":"http:\/\/del.icio.us\/post?noui&v=4&jump=close&url=http%3A%2F%2Fuserporn.com%2Fvideo%2FzUxckNZ0qwOd&title=n0683&partner=userporn"},"digg":{"name":"Digg","url":"http:\/\/digg.com\/submit?phase=2&url=http%3A%2F%2Fuserporn.com%2Fvideo%2FzUxckNZ0qwOd&title=n0683&bodytext=%20&topic=videos_people"},"reddit":{"name":"Reddit","url":"http:\/\/reddit.com\/submit?url=http%3A%2F%2Fuserporn.com%2Fvideo%2FzUxckNZ0qwOd&title=n0683&"},"yahoobuzz":{"name":"Y! Buzz","url":"http:\/\/www.google.com\/buzz\/post?url=http%3A%2F%2Fuserporn.com%2Fvideo%2FzUxckNZ0qwOd&"},"stumbleupon":{"name":"StumbleUpon","url":"http:\/\/www.stumbleupon.com\/submit?url=http%3A%2F%2Fuserporn.com%2Fvideo%2FzUxckNZ0qwOd&title=n0683&"},"linkedin":{"name":"LinkedIn","url":"http:\/\/www.linkedin.com\/shareArticle?mini=true&summary=&url=http%3A%2F%2Fuserporn.com%2Fvideo%2FzUxckNZ0qwOd&title=n0683&"},"livejournal":{"name":"LiveJournal","url":"http:\/\/www.livejournal.com\/update.bml?event=http%3A%2F%2Fuserporn.com%2Fvideo%2FzUxckNZ0qwOd&subject=n0683&"}}},"video_details":{"sece2":"eed0290398cfb5662ec162cdaba88a9a39dc08bce11e3959b197e218b","video":{"title":"n0683","title_short":"n0683","owner":"pattrick","owner_short":"pattrick","description":"","view_count":"926","comment_count":"0","favor_count":"9","added":"2011-10-12 07:48:54","catagory":"","rated":"0","rate_desc":"Excellent","liked":"5","disliked":"1"}},"banner":{"g_ads":{"url":"92335c1d7c95da20ac6940bd88a0b32e68a597d512a4239c3a601fbae2","type":"83a29395886a1ad4950df7d05db5797fd00549ac1063a2838807fd74a290b0f7","time":"6e22c4e9b5e01291fc06aeef6f60157b6f199bca309f5bf2060a7ae8be619899729b97161482b0ddb687f6017c460dbe"},"lightbox":{"url":"07e336727d405cdb18dc0ccefb0800edf3581cb54a02856a4e339db07e5fb","type":51834,"time":908218},"lightbox2":{"url":"e544e5409407daa37d348bb41177a7ca67d75e07c83788e8ff2d4f14b2654","type":54813,"time":246768},"text_ad":{"time":1000,"title":"To enjoy unlimited porn videos. Let's subscribe our Premium here!","description":"- Super-fast streaming\n- Unlimited Download\n- 100% Secure & Confidential","url_label":"www.userporn.com","url":"http:\/\/userporn.com\/premium.php","type":"txt"},"buffer_ad":{"time":"0","title":"Text Banner","path":"http:\/\/userporn.com\/images\/blank.gif","url":"","type":"swf"},"main_img":{"img":"http:\/\/userporn.com\/images\/blank.gif","url":""},"preload_ad":{"title":"Ads Banner","img":"http:\/\/userporn.com\/images\/blank.gif","url":""},"pause_ad":{"title":"Ads Banner","img":"http:\/\/userporn.com\/images\/blank.gif","url":""},"end_ad":[{"title":"Ads Banner","img":"http:\/\/userporn.com\/images\/blank.gif","url":"","description":""},{"title":"Ads Banner","img":"http:\/\/userporn.com\/images\/blank.gif","url":"","description":""}],"play_banner":{"f_link":"http:\/\/userporn.com\/rewards.php","e_link":"http:\/\/userporn.com\/rewards.php","sf_url":"http:\/\/userporn.com\/images\/blank.gif","lf_url":"http:\/\/userporn.com\/images\/blank.gif","se_url":"http:\/\/userporn.com\/images\/blank.gif","le_url":"http:\/\/userporn.com\/images\/blank.gif","m_link":"","m_url":""},"promotion":{"affiliate_promotion_s":"http:\/\/banners.adultfriendfinder.com\/cgi-bin\/public\/thumbnail.xml?pid=g1292981-pmo&page=gallery&message=r&photo=3&thumb=120","affiliate_promotion_l":"http:\/\/banners.adultfriendfinder.com\/cgi-bin\/public\/thumbnail_160.xml?pid=g1292981-pmo&pg=1&page=gallery&message=r&photo=3"},"popunder":{"url":"http:\/\/userporn.com\/player_control\/popunder.php?pu=843","timeout":60,"identifier":"delivery\/i"}},"res":[{"d":true,"l":"240p","u":"aHR0cDovL3M4MS51c2VycG9ybi5jb206ODAvcz92PXpVeGNrTlowcXdPZCZ0PTEzMzM1MDk4MjkmdT0mcj0x","seekname":"start","p":false,"t":"","r":1},{"d":false,"l":"360p","u":"aHR0cDovL3M4MS51c2VycG9ybi5jb206ODAvcz92PXpVeGNrTlowcXdPZCZ0PTEzMzM1MDk4MjkmdT0mcj0y也不知道是那段 求个高手 QQ 详解说下
2012年4月04日 18:41
目前还没有答案
相关推荐
懂得都懂 json paser 属于idea插件 用于解析json json paser 属于idea插件 用于解析json json paser 属于idea插件 用于解析json json paser 属于idea插件 用于解析json json paser 属于idea插件 用于解析json json ...
JSON(JavaScript Object Notation)是一种轻量级的数据交换格式,...例如,如果你正在开发一个Web应用,你可以先将用户提交的JSON数据转换为JSON Schema,然后用它来验证后续的数据输入,防止因数据不合规导致的问题。
例如,可以将json11的源文件`json11.cpp`和`json11.hpp`放在项目的源代码目录下。 接下来,在MFC项目的`stdafx.h`文件中包含json11的头文件,以便在整个项目中使用该库: ```cpp #include "json11.hpp" ``` 然后...
解决JSON.parse()在IE7下不兼容( JSON在IE下未定义)问题。 直接引用就可以。 摘要必须大于100个字节!摘要必须大于100个字节!
json与labview常见相互转化,能解决大多json问题
从服务端收到的json中有中文 然后JsonData jd = JsonMapper.ToObject(strJson); json中如有中文 会出现\uXXXX\uXXXX等 我改了下 上传了能解决此问题的litjson版本
在MAC操作系统上,对于JSON数据的处理,一个直观且高效的工具——"MAC下Json编辑器Json Editor"显得尤为重要。这款编辑器提供了一个图形化的用户界面,使得查看和编辑JSON对象变得轻松快捷。 在JSON Editor中,你...
总之,解决JSON中文乱码问题的关键在于确保在读写文件以及转化JSON字符串时都正确地指定和处理UTF-8编码。在Python 2.x中,使用`codecs.open`并在`json.dumps`中设置`ensure_ascii=False`;在Python 3.x中,直接使用...
最好用的c++json库 nlohmann json源代码最好用的c++json库 nlohmann json源代码最好用的c++json库 nlohmann json源代码最好用的c++json库 nlohmann json源代码最好用的c++json库 nlohmann json源代码最好用的c++json...
7. **错误处理**:在处理JSON时,可能会遇到解析错误或格式不正确的JSON。`json-lib`提供了异常处理机制,如`JSONException`,帮助你在程序中捕获并处理这些错误。 在实际开发中,使用`json-lib`库可以简化JSON数据...
JSON(JavaScript Object Notation)是一种轻量级的数据交换格式,被广泛用于Web服务和应用程序之间的数据传输。它易于人阅读和编写,同时也易于机器解析和生成。`net.sf.json`是开源项目Apache软件基金会下的一个...
在Windows环境下,开发者经常需要处理来自服务器的JSON响应或者在代码中创建JSON字符串。"JsonFormat"这款工具提供了图形化的界面,可以快速将杂乱无章的JSON数据整理得井井有条。它支持复制、粘贴JSON文本,并能...
总的来说,JsonView是一款必不可少的Android开发辅助工具,无论是在开发阶段还是在生产环境中,都能有效帮助开发者快速理解和处理Json数据,提高工作效率。无论是新手还是经验丰富的开发者,都可以从中受益。通过其...
将json文件夹放到工程所在路径下,然后在工程里包含里面所有的头文件和引用lib文件。添加头文件:#pragma comment(lib, "JsonDLL.lib") #include "json/json.h" #include <fstream> #include 。
总的来说,`org.json.jar`库为Java开发者提供了一个简单易用的JSON处理工具,无论是在解析JSON字符串,还是在构建JSON对象,甚至是与其他格式(如XML、HTTP头、Cookies)之间的转换,都提供了极大的便利。...
在C语言环境中,由于其原生不支持JSON,因此需要借助第三方库来处理JSON数据。`json-c`就是这样一个专门用于C语言的JSON解析库,它提供了对JSON数据的读取、创建、修改和序列化等功能,使得C程序员可以方便地与JSON...
6. 兼容性:既然能在“新测”中使用,说明控件可能已经解决了与最新Delphi版本不兼容的问题,或者至少在一定程度上支持了新的编译器特性。 综上所述,"Delphi_JSON delphi7解析JSON控件"是一个对Delphi 7开发至关...
同时,它可能已经对不同的JSON标准和规范进行了兼容性处理,确保在不同环境下都能正常工作。 总的来说,`net.sf.json`是一个强大且实用的Java JSON处理库,它提供的各种工具和方法使得在Java应用程序中处理JSON变得...
2. **错误检测**:当JSON数据格式不正确时,JsonView能自动检测并指出错误,帮助开发者快速定位问题所在。这在处理大量或复杂的JSON数据时尤其有用,因为它减少了手动检查的繁琐工作。 3. **颜色高亮**:JsonView...
这样,无论是在较新的浏览器还是在旧版IE中,开发者都能使用标准的JSON接口来操作数据。 JSON2.js的工作原理如下: 1. 检查全局环境中是否存在JSON对象。如果存在,那么浏览器已经内置了JSON支持,无需做进一步...