|
问题youtube 那位大哥帮帮忙
http://www.youtube.com/watch?v=cELfMmaFbjY
请问下 ~~现在那个大哥能采集到网页的源代码啊~~
如果有能采集到的~~请教教小弟
我想采集一下内容 ~~
- initWatchQueue(true);
- var MSG_Hide = 'Hide';
- var MSG_Show = 'Show';
- var MSG_Login = 'Please sign in to perform this operation.';
- var MSG_Loading = 'Loading...';
- var MSG_ShowingAll = 'Showing All Videos';
- var MSG_LoginFavorites = 'You must be logged in to add this video to your favorites';
- var MSG_LoginAddPlaylist = 'You must be logged in to add this video to a playlist.';
- var MSG_LoginReportConcern = 'You must be logged in to report a concern.';
- var MSG_FlagDefault = 'Select a Reason';
- var isLoggedIn = false ;
-
- var swfUrl = canPlayV9Swf() ? 'http://s.ytimg.com/yt/swf/watch-vfl51838.swf' : 'http://s.ytimg.com/yt/swf/watch_v8-vfl51838.swf';
- var swfArgs = {"vq": null, "video_id": "cELfMmaFbjY", "l": 264, "sk": "IzPl5xnNdSZ6Lr5XAe7oU6uFCvz8-K_TC", "fmt_map": "", "t": "OEgsToPDskJ_tmUVUhsKt-0Z7BFHc7bc", "hl": "en", "plid": "AARVMXVGGZ7ThxvuAAAAAAQoIAA"};
- var additionalStatsHonorsUrl = '/watch_ajax?v=cELfMmaFbjY&action_get_honors=1&l=ES';
- var additionalAudioInfoUrl = '/watch_ajax?v=cELfMmaFbjY&action_get_audio_info=1&l=ES';
- var watchMapUrl = '/watch_ajax?v=cELfMmaFbjY&action_get_map=1';
- var fullscreenUrl = '/watch_fullscreen?fs=1&vq=None&video_id=cELfMmaFbjY&l=264&sk=IzPl5xnNdSZ6Lr5XAe7oU6uFCvz8-K_TC&fmt_map=&t=OEgsToPDskJ_tmUVUhsKt-0Z7BFHc7bc&hl=en&plid=AARVMXVGGZ7ThxvuAAAAAAQoIAA&title=[MV]Super Junior-Miracle';
- var watchGamUrl = null;
- var watchDCUrl = null;
- var watchTrackWithHitbox = false;
- var watchIsPlayingAll = false;
- var watchUsername = 'closie';
- var pageVideoId = 'cELfMmaFbjY';
- var pageVideoSearchQueryStr = 'Super Junior-Miracle';
- var pageFillRelatedVideoStartIndex = 14;
- var pageFillRelatedVideoEndIndex = 38;
- var relatedVideoGridUrl = '/related_ajax?action_get_related&video_id=cELfMmaFbjY&view_type=G&watch3=1&search=Super%20Junior-Miracle';
- var relatedVideoListUrl = '/related_ajax?action_get_related&video_id=cELfMmaFbjY&view_type=L&watch3=1&search=Super%20Junior-Miracle';
- var playnextFrom = '';
- var playnextCount = '0';
- var qlAutoscrollDestination = 0;
- var watchSetWmode = false;
- var embedUrl = 'http://www.youtube.com/v/cELfMmaFbjY&hl=en&fs=1';
- var ytLocale = 'en_US';
-
- var ad_eurl = null;
- onLoadFunctionList.push(function() { checkVideoQualitySettings() });
-
- var axc = '';
- var subscribeaxc = '';
-
- function showCommentReplyForm(form_id, reply_parent_id, is_main_comment_form) {
- var msg = new Object();
- msg["post"] = "Please sign in to post a comment.";
- showCommentReplyForm_js(form_id, reply_parent_id, is_main_comment_form, msg);
- }
- function updateCharCount(charCount_id, label_id, textArea) {
- var msg = new Object();
- msg["exceeded"] = "Number of characters over the limit: ";
- msg["remaining"] = "Remaining character count: ";
- updateCharCount_js(charCount_id, label_id, textArea, 500, msg)
- }
- function loginMsg(div_id, display_val) {
- var msg = new Object();
- msg["login"] = 'Please sign in';
- loginMsg_js(div_id, display_val, msg);
- }
- function printCommentReplyForm(form_id, reply_parent_id, is_main_comment_form) {
- var msg = new Object();
- msg["post"] = "Post Comment";
- msg["remaining"] = "Remaining character count: ";
- msg["discard"] = "Discard";
- printCommentReplyForm_js(form_id, reply_parent_id, is_main_comment_form, 'V', 'top.goog.i18n.bidi.setDirAttribute(event,this)', 'video_id', 'cELfMmaFbjY', '', 500, msg);
- }
- function postThreadedComment(comment_form_id) {
- var msg = new Object();
- msg["add"] = "Adding comment...";
- postThreadedComment_js(comment_form_id, msg);
- }
- function commentApproved(xmlHttpRequest) {
- alert("Comment approved.")
- }
- function ThreadedCommentHandler(comment_form, comment_form_id) {
- var msg = new Object();
- msg["empty"] = "You must enter a comment!";
- msg["toolong"] = "Your comment must be shorter than 500 characters!";
- return ThreadedCommentHandler_js(comment_form, comment_form_id, msg);
- }
- function commentResponse(xmlHttpRequest) {
- var msg = new Object();
- msg["ok"] = "Comment Posted!";
- msg["pending"] = "Comment Pending Approval!";
- msg["toolong"] = "The comment you have entered is too long. Limit is 500 characters. Please write a shorter comment and try again";
- msg["tooshort"] = "The comment you have entered is too short. Please write a longer comment and try again";
- msg["toosoon"] = "Commenting Limit Exceeded";
- msg["email"] = "You must confirm your email address before you can submit comments. Click OK to confirm your email address.";
- msg["captchFail"] = "The response to the letters on the image was not correct, please try again.";
- msg["default"] = "Post Comment";
- commentResponse_js(xmlHttpRequest, msg);
- }
- function load_all_comments(video_id, is_watch2) {
- var msg = new Object();
- msg["remove"] = "Loading Comments...";
- load_all_comments_js(video_id, is_watch2, msg);
- }
- onLoadFunctionList.push(function() { applyUserPrefs() });
-
复制代码 |
|