Skip to content

Instantly share code, notes, and snippets.

@simpx
Created September 27, 2012 13:12
Show Gist options
  • Save simpx/3793906 to your computer and use it in GitHub Desktop.
Save simpx/3793906 to your computer and use it in GitHub Desktop.
Tell me why
import time
import requests
from BeautifulSoup import BeautifulSoup
if __name__ == '__main__':
fp = open('content.html', 'r')
content = fp.read()
s = time.time()
soup = BeautifulSoup(content)
print time.time() - s
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>梦幻西游藏宝阁</title>
<link href="http://res.xyq.cbg.163.com/top_bar/css/base.last.cbg.css" rel="stylesheet" type="text/css" media="all" />
<link href="http://res.xyq.cbg.163.com/css/global.css?v=0111" rel="stylesheet" type="text/css" media="all" />
<link href="http://res.xyq.cbg.163.com/css/pages.css?v=0111" rel="stylesheet" type="text/css" media="all" />
<script type="text/javascript" src="http://res.xyq.cbg.163.com/top_bar/js/topBar.last.cbg.js"></script>
<script type="text/javascript" src="http://res.xyq.cbg.163.com/js/mootools-core-1.3.2.js"></script>
<script type="text/javascript" src="http://res.xyq.cbg.163.com/js/incsearch_cbg.js"></script>
<script type="text/javascript" src="http://res.xyq.cbg.163.com/js/cbg_ad.js"></script>
<script type="text/javascript" src="http://res.xyq.cbg.163.com/js/util.js?v=0514"></script>
<script type="text/javascript" src="http://res.xyq.cbg.163.com/js/sprite.js"></script>
<script type="text/javascript" src="http://res.xyq.cbg.163.com/js/sprite-hotq.js"></script>
<script type="text/javascript">
var CgiRootUrl = 'http://xyq.cbg.163.com/cgi-bin';
var ResUrl = 'http://res.xyq.cbg.163.com';
var IsLogin = 0;
var StaticFileConfig = {
"is_using" : true,
"res_root" : "http://xyq.cbg.163.com/static_file",
"max_page" : 1
};
var ServerInfo = {
"area_id" : "43",
"area_name" : "广东2区",
"server_id" : "75",
"server_name" : "南澳岛"
};
window.addEvent("domready", function(){
fix_anonymous_menu_link();
});
</script>
</head>
<body>
<div id="NIE-topBar"></div>
<div id="recent_list_templ">
<!--
<% for(var i=0; i<this.order.length; i++){ %>
<%
var equipid = this.order[i];
var equip = this.equips[equipid];
if(!equip){ continue; }
var icon_url = "";
if(equip["storage_type"] == StorageStype["role"]){
var role_info = js_eval(lpc_2_js(equip["equip_desc"]));
var iconid = get_role_iconid(role_info["iIcon"]);
icon_url = ResUrl + "/images/role_icon/small/" + iconid + ".gif";
} else {
icon_url = ResUrl + "/images/small/" + equip["equip_face_img"];
}
%>
<li>
<a href="<%= CgiRootUrl %>/<%= equip["equip_detail_url"] %>" target="_blank"><img src="<%= icon_url %>" width="50" height="50" /></a>
<h3><a href="<%= CgiRootUrl %><%= equip["equip_detail_url"] %>"><%= equip["equip_name"]%></a></h3>
<p class="cBlue"><%= get_color_price(parseFloat(equip["price"])) %></p>
</li>
<% } %>
-->
</div>
<div id="recent_empty_templ">
<!--
<li>没有记录</li>
-->
</div>
<div id="recent_load_templ">
<!--
<p style="padding:20px;"><img src="<%= ResUrl %>/images/loading.gif" /></p>
-->
</div>
<script type="text/javascript">
var sprite_url = 'http://cbg.163.com/sprite.html';
var server_name = Cookie.read('cur_servername') || '';
var roleid = Cookie.read('login_user_roleid') || '';
roleid = (roleid == null) ? '' : roleid;
var level = Cookie.read('login_user_level');
level = (level == null) ? '' : level;
sprite_url += '?server_name='+encodeURIComponent(server_name)+'&roleid='+roleid+'&level='+level;
</script>
<div class="pannel" id="latest_view_panel">
<div class="handler">
<h2 id="latest_view_btn"><a href='#' onclick="return false;">最近浏览</a></h2>
<h2 id="sprite_btn" class="sprite"><a id="sprite_link" href="http://cbg.163.com/sprite.html" target="_blank">在线精灵</a></h2>
</div>
<div class="recentList">
<ul id="recent_list_panel">
</ul>
</div>
<div class="spriteDia" id="spriteDia">
<div class="spriteTab hasLayout">
<ul id="sprList">
<li class="on"><h3><a href="#" id="hotHandler">热门问题</a></h3></li>
<li><h3><a id="qaHandler" href="#">精灵问答</a></h3></li>
<li>&nbsp;&nbsp;<a id="idependent_sprite" target="_blank">更多详情&raquo;</a></li>
</ul>
<a href="javascript:void(0)" title="关闭" class="close" id="sprClose">×</a>
</div>
<div class="sprList" id="dialog_scroll">
<!-- 以下是切换热门问题 -->
<div id="hot_questions">
</div>
<!-- 以上是切换热门问题 -->
<!-- 以下是切换精灵问答 -->
<div id="chat_div" style="display:none;">
<dl id="chat_dialog">
</dl>
<dl>
<dd>
<div class="spriteMM" id="evaluate_panel">
<div id="ask_eval_mm"><h5>小精灵的回答是否解决了您的问题:</h5><input type="button" value="解决" onclick="evaluate_sprite(1);" /><input type="button" value="未解决" onclick="evaluate_sprite(0)" /></div>
<p style="margin:18px 0 0 24px;" id="eval_good_mm">谢谢您的评价!</p>
<p id="eval_bad_mm">小精灵再努力研究一下!<br />您还可以通过“<a href="http://xyq.gm.163.com" target="_blank">客服专区</a>”尝试解决您的问题,谢谢!</p>
</div>
</dd>
</dl>
</div>
<!-- 以上是切换精灵问答 -->
</div>
<div class="sprForm">
<form onsubmit="return false;">
<input type="text" class="q" id="type_box" value="请输入你想查询的问题" autocomplete="off"/><input id="ask_btn" type="button" value="提交" class="s" onclick="ask()" />
</form>
<div class="auto" id="auto">
<ul>
</ul>
</div>
</div>
</div>
</div>
<script type="text/javascript">
window.addEvent('domready', function(){
var latest_view_open = false;
var lvo_fx = new Fx.Tween('latest_view_panel', {duration: 'short'});
$("latest_view_btn").addEvent("click", function(){
if(!latest_view_open){
gen_latest_view();
lvo_fx.start('right', -152, 0);
latest_view_open = true;
}
else{
lvo_fx.start('right', 0, -152);
latest_view_open = false;
}
});
var tt;
if(Browser.ie6){
window.addEvent("scroll", function(){
if(tt){clearTimeout(tt);}
tt = setTimeout(function(){
$('latest_view_panel').setStyle("top", (window.getScroll().y + 24) + "px");
}, 100);
});
}
});
</script>
<div class="newsTip hasLayout" id="newsTip" style="display:none;z-index:15px;">
<p id="new_function_desc">&nbsp;<br/>&nbsp;<br/>&nbsp;</p>
<a id="new_function_link" href="#" class="btn1" target="_blank">点击了解&raquo;</a>
<a href="javascript:close_new_function_pop(0)" class="close">关闭</a>
</div>
<script type="text/javascript">
window.addEvent('domready', function(){
if(new_function_desc.trim() == '')
return;
var tt;
if(Browser.ie6){
window.addEvent("scroll", function(){
if(tt){clearTimeout(tt);}
tt = setTimeout(function(){
$('newsTip').setStyle("top", (window.getScroll().y+window.getSize().y - 150) + "px");
}, 100);
});
}
if(!Cookie.read('new_function_pop')){
$('newsTip').setStyle('display', 'block');
}
$('new_function_desc').set('html', new_function_desc);
$('new_function_link').addEvent('click', function(){
Cookie.write('new_function_pop', 1, {'duration':5});
window.open(new_function_url);
$('newsTip').setStyle('display', 'none');
return false;
});
});
function close_new_function_pop(){
Cookie.write('new_function_pop', 1, {'duration':2});
$('newsTip').setStyle('display', 'none');
}
</script>
<div class="areaTop"></div>
<div class="header area hasLayout">
<div class="logo">
<h1><a href="http://xyq.cbg.163.com" title="梦幻西游藏宝阁首页">梦幻西游藏宝阁</a></h1>
</div>
<div class="userInfo aWhite">
<img src="http://res.xyq.cbg.163.com/images/no_login_user.gif" width="44" height="44" alt="谁谁的头像" />
<div>
您好,<span class="cYellow">梦幻玩家</span><br /> 广东2区-&gt;南澳岛
</div>
<p class="textRight">
<a href="http://xyq.cbg.163.com">首页</a>&nbsp;
<a id="to_login_link" href="#">登录</a>&nbsp;
<a target="_blank" href="http://xyq.163.com/cbghelp/">帮助</a>&nbsp;
<a target="_blank" href="http://xyq.gm.163.com/">客服</a>&nbsp;
<a target="_blank" href="http://xyq.cbg.163.com/cgi-bin/suggest.py" class="white_a">意见反馈</a>
</p>
</div>
</div>
<div class="areaBtm"></div>
<script type="text/javascript" src="http://res.xyq.cbg.163.com/js/kind_data.js"></script>
<script type="text/javascript" src="http://res.xyq.cbg.163.com/js/equip_name.js"></script>
<script type="text/javascript" src="http://res.xyq.cbg.163.com/js/autocomplete.js"></script>
<script type="text/javascript" src="http://res.xyq.cbg.163.com/js/xyq_setting.js"></script>
<script type="text/javascript" src="http://res.xyq.cbg.163.com/js/equip_query.js"></script>
<script type="text/javascript">
var SearchTypes = {"equip_search": 4, "normal_search": 0, "offsale_search": 5, "role_search": 2, "search_by_type": 1, "pet_search": 3};
var SearchType = 0;
var MaxStaticDepth = 2;
var NoStaticKindIds = [23];
window.addEvent('domready', function(){
$("top_fairshow_menu").addClass("on");
show_kind_tree([23,27]);
init_advance_search_box();
if ($("kind_id")){
$("kind_a_" + $("kind_id").value).addClass("on");
}
reg_tips_event();
});
</script>
<div id="kind_tree_node_templ" style="display:none">
<!--
<%
var kind_item = this.kind_info[0];
if(this.hide_kinds.contains(kind_item[0])){
return;
}
var child_list = this.kind_info[1];
var kind_family = this.family;
if (this.is_top){
var lable_begin = "<h3 style='padding-left:25px;'>";
var label_end = "</h3>";
this.h_size = 2;
} else {
var lable_begin = "<h" + this.h_size + ">";
var label_end = "</h" + this.h_size + ">";
}
var has_child = false;
var has_child_cls = "";
var has_child_display = "none";
if (child_list.length != 0){
has_child = true;
has_child_cls = "on";
has_child_display = "block";
}
var li_cls = "";
if (!has_child){
li_cls = "noChild";
}
%>
<li class="<%= li_cls %>">
<%= lable_begin %>
<% if (has_child && !this.is_top) { %>
<button class="off <%= has_child_cls %>" onclick="tree_folding(this, 'tree_node_<%= kind_item[0] %>')"></button>
<% } %>
<a href="#" id="kind_a_<%= kind_item[0] %>" onclick="search_by_kind(<%= kind_item[0] %>, <%= this.kind_depth %>);return false;"><%= kind_item[1] %></a>
<%= label_end %>
<% if (has_child) { %>
<ul id="tree_node_<%= kind_item[0] %>" style="display:<%= has_child_display %>">
<% for (var i=0; i < child_list.length; i++) { %>
<%
var new_size = this.h_size + 1;
var data = {"kind_info":child_list[i],"h_size":new_size, "is_top":false,"family":kind_family, "kind_depth": (this.kind_depth+1), "hide_kinds": this.hide_kinds};
var sub_list_html = render("kind_tree_node_templ", data);
%>
<%= sub_list_html %>
<% } %>
</ul>
<% } %>
</li>
-->
</div>
<div id="kind_tree_templ" style="display:none">
<!--
<ul>
<%
var kindid = $("kind_id").value.toInt();
var kind_family = get_kind_family(kind, kindid);
kind[0][0] = kind[0][0].toInt();
var hide_kinds = this.hide_kinds;
if(this.hide_kinds==undefined){
hide_kinds = [];
}
var data = {"kind_info":kind,"h_size":3, "is_top":true, "family":kind_family, "kind_depth":1, "hide_kinds": hide_kinds};
var tree_html = render("kind_tree_node_templ", data);
%>
<%= tree_html %>
</ul>
-->
</div>
<!-- 浮动层开始,请作为body的顶级子集 -->
<div class="soldDetail" id="TipsBox">
</div>
<div id="common_tips_template">
<!--
<img class="bigPic" width="120" height="120" alt="大图" src="<%= this.icon_url %>" />
<div class="parame" style="font-size:14px;">
<p class="cYellow"><%= this.name %></p>
<p><%= this.type_desc %></p>
<p><%= this.desc %></p>
</div>
-->
</div>
<div id="role_tips_template">
<!--
<img class="bigPic" width="120" height="150" alt="大图" src="<%= this.icon_url %>" />
<div class="parame" style="font-size:14px;">
<p class="cYellow"><%= this.name %></p>
<p><%= this.type_desc %></p>
<p><%= this.desc %></p>
</div>
-->
</div>
<div id="pet_tips_template">
<!--
<%
var pet_attrs = this.pet_attrs;
%>
<div class="col1">
<div class="thum">
<img src="<%= this.icon_src %>" width="120" height="120" alt="大图" />
<p class="f14px cWhite">名字:<span class="cYellow"><%= pet_attrs.pet_name %></span> 等级:<%= pet_attrs.pet_grade %></p>
</div>
<table width="100%" class="tb02" cellspacing="0" cellpadding="0">
<tr>
<th>气血:</th>
<td><%= pet_attrs.blood %>/<%= pet_attrs.max_blood %></td>
<th>体质:</th>
<td><%= pet_attrs.soma %></td>
</tr>
<tr>
<th>魔法:</th>
<td><%= pet_attrs.magic %>/<%= pet_attrs.max_magic %></td>
<th>法力:</th>
<td><%= pet_attrs.magic_powner %></td>
</tr>
<tr>
<th>攻击:</th>
<td><%= pet_attrs.attack %></td>
<th>力量:</th>
<td><%= pet_attrs.strength %></td>
</tr>
<tr>
<th>防御:</th>
<td><%= pet_attrs.defence %></td>
<th>耐力:</th>
<td><%= pet_attrs.endurance %></td>
</tr>
<tr>
<th>速度:</th>
<td><%= pet_attrs.speed %></td>
<th>敏捷:</th>
<td><%= pet_attrs.smartness %></td>
</tr>
<tr>
<th>灵力:</th>
<td><%= pet_attrs.wakan %></td>
<th>潜能:</th>
<td><%= pet_attrs.potential %></td>
</tr>
</table>
</div>
<div class="col2">
<table class="tb02" cellpadding="0" cellspacing="0">
<tr>
<th>攻击资质:</th>
<td><%= pet_attrs.attack_aptitude %></td>
</tr>
<tr>
<th>防御资质:</th>
<td><%= pet_attrs.defence_aptitude %></td>
</tr>
<tr>
<th>体力资质:</th>
<td><%= pet_attrs.physical_aptitude %></td>
</tr>
<tr>
<th>法力资质:</th>
<td><%= pet_attrs.magic_aptitude %></td>
</tr>
<tr>
<th>速度资质:</th>
<td><%= pet_attrs.speed_aptitude %></td>
</tr>
<tr>
<th>躲闪资质:</th>
<td><%= pet_attrs.avoid_aptitude %></td>
</tr>
<tr>
<th>寿  命:</th>
<td><%= pet_attrs.lifetime %></td>
</tr>
<tr>
<th>成  长:</th>
<td><%= pet_attrs.growth %></td>
</tr>
<tr>
<th>五  行:</th>
<td><%= PET_WUXING_INFO[pet_attrs.five_aptitude+""] %></td>
</tr>
</table>
<div class="blank12"></div>
<div id="pet_tip_skill_grid"></div>
<div class="blank6"></div>
<p class="cYellow textRight" id="pet_tip_notice_msg" style="display:none;">更多技能查看详细页面&raquo;</p>
</div>
-->
</div>
<script type="text/javascript" src="http://res.xyq.cbg.163.com/js/xyq_equip_desc_parser.js"></script>
<script type="text/javascript" src="http://res.xyq.cbg.163.com/js/pet.js"></script>
<script>
function get_window_height()
{
return Window.getHeight() + Document.getScrollTop();
}
function show_money_tips_box(el)
{
var data = {
"name": el.getAttribute("data_equip_name"),
"type_desc": el.getAttribute("data_equip_type_desc"),
"desc": parse_style_info($("equip_desc_" + el.getAttribute("data_equipid")).value),
"icon_url": ResUrl + "/images/big/" + el.getAttribute("data_equip_img")
};
render_to_replace("TipsBox", "common_tips_template", data);
adjust_tips_position(el);
}
function show_equip_tips_box(el)
{
var equip_desc = $("equip_desc_" + el.getAttribute("data_equipid")).value.trim();
var maker = equip_desc.lastIndexOf('#W制造者:');
if(maker != -1){
var end = equip_desc.indexOf('#', maker+1);
equip_desc = equip_desc.substring(0, maker) + equip_desc.substring(end+4);
}
var data = {
"name": el.getAttribute("data_equip_name"),
"type_desc": el.getAttribute("data_equip_type_desc"),
"desc": parse_style_info(equip_desc),
"icon_url": ResUrl + "/images/big/" + el.getAttribute("data_equip_img")
};
render_to_replace("TipsBox", "common_tips_template", data);
adjust_tips_position(el);
}
function show_pet_tips_box(el)
{
var pet_desc = $("equip_desc_" + el.getAttribute("data_equipid")).value;
var pet_attrs = get_pet_attrs_info(pet_desc, true);
var icon_src = ResUrl + "/images/big/" + el.getAttribute("data_equip_img");
$('TipsBox').innerHTML = render('pet_tips_template', {"pet_attrs": pet_attrs, "icon_src": icon_src});
//make_grid("pet_tip_skill_grid", 3);
//make_skill(pet_attrs.all_skill, pet_attrs.sp_skill, 'http://res.xyq.cbg.163.com/images/skill/', 3, "pet_tip_notice_msg");
var conf = {"pet_skill_url": "http://res.xyq.cbg.163.com/images/skill/",
"notice_node_name": "pet_tip_notice_msg",
"skill_panel_name": "pet_tip_skill_grid",
"table_class": "tb03"
};
show_pet_skill_in_grade(pet_attrs.all_skill, pet_attrs.sp_skill, 3, 4, conf);
adjust_tips_position(el);
}
function show_role_tips_box(el)
{
var equipid = el.getAttribute("data_equipid");
var raw_info = $("equip_desc_" + equipid).value.trim();
var role_info = js_eval( lpc_2_js(raw_info) );
var school_name = get_school_name(parseInt(role_info["iSchool"]));
if (!school_name){
school_name = "";
}
var role_icon_value = get_role_iconid(role_info["iIcon"]);
var role_kind = role_icon_value % 12;
role_kind = role_kind == 0 ? 12:role_kind;
var role_kind_name = get_role_kind_name(role_kind);
var icon_src = ResUrl + "/images/bigface/" + role_icon_value + ".gif";
var desc = '昵称:' + htmlEncode(role_info['cName']) + '<br />';
desc += 'ID:' + htmlEncode(role_info['usernum']) + '<br />';
desc += '门派:' + htmlEncode(school_name) + '<br />';
desc += '类型:' + htmlEncode(role_kind_name) + '<br />';
desc += '等级:' + htmlEncode(role_info['iGrade']);
data ={
"icon_url": icon_src,
"name": desc,
"type_desc": '',
"desc": ''
};
render_to_replace("TipsBox", "role_tips_template", data);
adjust_tips_position(el);
}
function show_tips_box()
{
var el = $(this);
var storage_type = el.getAttribute("data_storage_type");
if (storage_type == StorageStype["money"]){
show_money_tips_box(el);
} else if (storage_type == StorageStype["equip"]){
show_equip_tips_box(el);
} else if (storage_type == StorageStype["pet"]){
show_pet_tips_box(el);
} else if (storage_type == StorageStype["role"]){
show_role_tips_box(el);
}
}
function hidden_tips_box()
{
$("TipsBox").setStyle("display", "none");
}
function reg_tips_event()
{
var el_list = $$("#soldList .soldImg img");
for (var i=0; i < el_list.length; i++){
var el = el_list[i];
el.addEvent("mouseover", show_tips_box);
el.addEvent("mouseout", hidden_tips_box);
}
}
function get_role_icon(raw_info){
var role_info = js_eval( lpc_2_js(raw_info) );
return get_role_iconid(role_info["iIcon"]);
}
function set_equip_extra_info(equipid, storage_type, equip_face_img)
{
if (storage_type != StorageStype["role"]){
$("equip_img_" + equipid).src = ResUrl + "/images/small/" + equip_face_img;
return;
}
var icon = get_role_icon($("equip_desc_" + equipid).value.trim());
$("equip_img_" + equipid).src = ResUrl + "/images/role_icon/small/" + icon + ".gif";
}
function set_img_icon(){
var el_list = $$("#soldList .soldImg img");
for (var i=0; i<el_list.length; i++){
var el = el_list[i];
var equipid = el.getAttribute("data_equipid");
var storage_type = parseInt(el.getAttribute("data_storage_type"));
var equip_face_img = el.getAttribute("data_equip_img");
if(storage_type != StorageStype["role"]){
var icon_url = ResUrl + "/images/small/" + equip_face_img;
} else {
var icon = get_role_icon($("equip_desc_"+equipid).value.trim());
var icon_url = ResUrl + "/images/role_icon/small/" + icon + ".gif";
}
el.src = icon_url;
}
}
</script>
<div style="display:none">
<form name="magic" method="get" action="http://xyq.cbg.163.com/cgi-bin/equipquery.py">
<input type="hidden" name="act" id="act" value="fair_show_list" />
<input type="hidden" name="server_id" id="server_id" value="75" />
<input type="hidden" name="areaid" id="areaid" value="43" />
<input type="hidden" name="page" id="page" value="1" />
<input type="hidden" name="kind_id" id="kind_id" value="2" />
<input type="hidden" name="query_order" id="query_order" value="create_time DESC" />
<input type="hidden" name="server_name" value="南澳岛" />
<input type="hidden" name="kind_depth" id="kind_depth" value="2" />
</form>
</div>
<div class="areaTop"></div>
<div class="area subArea">
<div class="areaHead">
<div class="nav">
<ul>
<li id="top_buy_menu"><h3><a id="top_buy_menu_a" href="http://xyq.cbg.163.com/cgi-bin/equipquery.py?act=query">我是买家</a></h3></li>
<li id="top_sell_menu"><h3><a id="top_sell_menu_a" href="http://xyq.cbg.163.com/cgi-bin/userinfo.py?act=my_equips">我是卖家</a></h3></li>
<li id="top_mycbg_menu"><h3><a id="top_mycbg_menu_a" href="http://xyq.cbg.163.com/cgi-bin/userinfo.py?act=order">我的藏宝阁</a></h3></li>
<li><h3><a target="_blank" href="https://epay.163.com/servlet/controller?operation=main">我的网易宝</a></h3></li>
<li id="top_fairshow_menu"><h3><a id="top_fairshow_menu_a" href="http://xyq.cbg.163.com/cgi-bin/equipquery.py?act=fair_show_list">公示期物品</a></h3></li>
<li id="top_vip_service_menu"><h3><a id="top_vip_service_menu_a" href="http://xyq.cbg.163.com/cgi-bin/vip_service.py?act=show_vip_service">个性服务</a></h3></li>
<script>fix_buy_menu_url()</script>
<li id="top_gift_menu"><h3 style="width:90px;"><a href="http://xyq.cbg.163.com/cgi-bin/equipquery.py?act=gift&server_id=75">周边商城<img src="http://res.xyq.cbg.163.com/images/new.gif" alt="new" /></a></h3></li>
</ul>
<div class="cart" id="buy_cart_panel" style="display:none"><a href="http://xyq.cbg.163.com/cgi-bin/userinfo.py?act=order">购物车</a><span class="cYellow" id="cart_order_num"></span></div>
</div>
</div>
<div class="subNav" id="querySubNav">
<!-- 搜索框内容,如不需要可以删去 -->
<div class="search">
<form id="search_browse_f" name="search_browse_f" action="http://xyq.cbg.163.com/cgi-bin/equipquery.py" method="post">
<input id="advance_search_box"autocomplete="off" name="search_text" type="text" class="txt1 txt2" value="输入物品名称进行搜索" onfocus="if(this.value=='输入物品名称进行搜索') {this.value=''}" onblur="if(this.value=='') this.value='输入物品名称进行搜索'" size="23"/>&nbsp;&nbsp;
<input type="button" class="btn1" value="搜索" onclick="search_auto_complete(this.form, ename_data);"/>
<input type="text" name="equip_type_ids" style="display:none;"/>
<input type="hidden" name="act" value="search_fairshow" />
<input type="hidden" name="server_id" id="server_id" value="75" />
<input type="hidden" name="areaid" id="areaid" value="43" />
<input type="hidden" name="search_page" id="search_page" />
<input type="hidden" name="query_order" id="query_order" value="create_time DESC" />
<input type="hidden" name="server_name" value="南澳岛" />
</form>
</div>
<!-- 搜索框内容,如不需要可以删去 -->
<a href="#" class="on">公示期物品</a>
</div>
<div class="content hasLayout">
<div class="menu" id="kind_tree_panel"></div>
<div class="rightCont">
<div class="pageTips cRed" style="margin-top:0px;" id="fair_show_tip_new">
1、买家可对未过公示期的道具和召唤兽进行预订,预订需支付商品全额货款及货款5%的信息费。<br />
2、预订成功后在该商品公示期结束的同时交易正式完成,买家可在游戏内取出商品,卖家收到相应的货款。<br />
3、若被预订的商品经查实有异常,则取消该商品的预订状态,货款和5%的信息费全部退还给买家。
</div>
<table width="100%" id="soldList" class="tb01" cellspacing="0" cellpadding="0" border="0">
<tr>
<th width="80">图片</th>
<th>名称</th>
<th>等级</th>
<th>公示期结束时间</th>
<th>价格
<button class="up" onclick="search_order_by('price', 'ASC')" /></button>&nbsp;<button class="down" onclick="search_order_by('price','DESC')"></button>
</th>
<th></th>
</tr>
<tr>
<td>
<a href="http://xyq.cbg.163.com/cgi-bin/equipquery.py?act=buy_show_equip_info&equip_id=96678&server_id=75" class="soldImg">
<img id="equip_img_96678" alt="物品" width="50" height="50" data_equipid='96678' data_equip_name='制造指南书' data_equip_type_desc='记载各种装备武器制造方法的书卷。' data_storage_type='1' data_equip_img="286_612.gif" data_equip_type="612" />
</a>
<textarea id="equip_desc_96678" style="display:none">
种类 斧钺, 等级 150
</textarea>
<script>set_equip_extra_info(96678, 1, "286_612.gif");</script>
</td>
<td>
制造指南书<br />
<span><script>document.write(desc_4_mhb(1));</script></span>
</td>
<td>150</td>
<td>3天5小时42分钟</td>
<td>
<span id="price_96678" style="display:none;">--</span>
</td>
<td>
<span id="btn_con_96678" style="display:none;">--</span>
</td>
<script type="text/javascript">
var equip_status = 2;
var equip_price = 520.00;
var equipid = 96678;
if (equip_status == 2 || equip_status == 3){
$('price_'+equipid).innerHTML = get_color_price(equip_price);
$('btn_con_'+equipid).innerHTML = '<a href="http://xyq.cbg.163.com/cgi-bin/equipquery.py?act=buy_show_equip_info&equip_id=96678&server_id=75" class="btn1" id="btn_96678">预订</a>';
} else if(equip_status == 1 && equip_price>0) {
$('price_'+equipid).innerHTML = get_color_price(equip_price);
$('btn_con_'+equipid).innerHTML = '<a href="http://xyq.cbg.163.com/cgi-bin/equipquery.py?act=buy_show_equip_info&equip_id=96678&server_id=75" class="btn1" id="btn_96678">我想买</a>';
} else if(equip_status == 4) {
$('price_'+equipid).innerHTML = get_color_price(equip_price);
$('btn_con_'+equipid).innerHTML = '已被预订'
}
$('price_'+equipid).style.display='';
$('btn_con_'+equipid).style.display='';
</script>
</tr>
<tr>
<td>
<a href="http://xyq.cbg.163.com/cgi-bin/equipquery.py?act=buy_show_equip_info&equip_id=96674&server_id=75" class="soldImg">
<img id="equip_img_96674" alt="物品" width="50" height="50" data_equipid='96674' data_equip_name='晓风残月' data_equip_type_desc='迅如晓风,刃如残月。此非中土大唐之物,乃是海外大食国宝刀。上面据说蛩伏着能实现愿望的神仙,如何召唤还是个秘密。传说是海外魔术师的发明。&lt;br&gt;【装备角色】剑侠客,巨魔王' data_storage_type='1' data_equip_img="1161.gif" data_equip_type="1161" />
</a>
<textarea id="equip_desc_96674" style="display:none">
#r等级 130 五行 火#r#r伤害 +561 命中 +646#r耐久度 249#r锻炼等级 7 镶嵌宝石 太阳石、 红玛瑙#Y#r#c4DBAF4特技:#c4DBAF4气归术#Y#Y#r#G开运孔数:2孔/5孔#r符石: 耐力 +1 伤害 +1.5#r符石: 气血 +10#r#cEE82EE符石组合: 无懈可击#r门派条件:无#r部位条件:无#r提升自身6点防御#Y#r#W制造者:风影—小娇蕉强化打造#Y
</textarea>
<script>set_equip_extra_info(96674, 1, "1161.gif");</script>
</td>
<td>
晓风残月<br />
<span><script>document.write(desc_4_mhb(1));</script></span>
</td>
<td>130</td>
<td>3天4小时51分钟</td>
<td>
<span id="price_96674" style="display:none;">--</span>
</td>
<td>
<span id="btn_con_96674" style="display:none;">--</span>
</td>
<script type="text/javascript">
var equip_status = 2;
var equip_price = 288.00;
var equipid = 96674;
if (equip_status == 2 || equip_status == 3){
$('price_'+equipid).innerHTML = get_color_price(equip_price);
$('btn_con_'+equipid).innerHTML = '<a href="http://xyq.cbg.163.com/cgi-bin/equipquery.py?act=buy_show_equip_info&equip_id=96674&server_id=75" class="btn1" id="btn_96674">预订</a>';
} else if(equip_status == 1 && equip_price>0) {
$('price_'+equipid).innerHTML = get_color_price(equip_price);
$('btn_con_'+equipid).innerHTML = '<a href="http://xyq.cbg.163.com/cgi-bin/equipquery.py?act=buy_show_equip_info&equip_id=96674&server_id=75" class="btn1" id="btn_96674">我想买</a>';
} else if(equip_status == 4) {
$('price_'+equipid).innerHTML = get_color_price(equip_price);
$('btn_con_'+equipid).innerHTML = '已被预订'
}
$('price_'+equipid).style.display='';
$('btn_con_'+equipid).style.display='';
</script>
</tr>
<tr>
<td>
<a href="http://xyq.cbg.163.com/cgi-bin/equipquery.py?act=buy_show_equip_info&equip_id=96668&server_id=75" class="soldImg">
<img id="equip_img_96668" alt="物品" width="50" height="50" data_equipid='96668' data_equip_name='高级法术暴击' data_equip_type_desc='记载着上古魔兽特技,可供你的召唤兽学习。' data_storage_type='1' data_equip_img="611.gif" data_equip_type="611" />
</a>
<textarea id="equip_desc_96668" style="display:none">
所带技能:高级法术暴击
</textarea>
<script>set_equip_extra_info(96668, 1, "611.gif");</script>
</td>
<td>
高级法术暴击<br />
<span><script>document.write(desc_4_mhb(1));</script></span>
</td>
<td>0</td>
<td>3天3小时34分钟</td>
<td>
<span id="price_96668" style="display:none;">--</span>
</td>
<td>
<span id="btn_con_96668" style="display:none;">--</span>
</td>
<script type="text/javascript">
var equip_status = 2;
var equip_price = 189.80;
var equipid = 96668;
if (equip_status == 2 || equip_status == 3){
$('price_'+equipid).innerHTML = get_color_price(equip_price);
$('btn_con_'+equipid).innerHTML = '<a href="http://xyq.cbg.163.com/cgi-bin/equipquery.py?act=buy_show_equip_info&equip_id=96668&server_id=75" class="btn1" id="btn_96668">预订</a>';
} else if(equip_status == 1 && equip_price>0) {
$('price_'+equipid).innerHTML = get_color_price(equip_price);
$('btn_con_'+equipid).innerHTML = '<a href="http://xyq.cbg.163.com/cgi-bin/equipquery.py?act=buy_show_equip_info&equip_id=96668&server_id=75" class="btn1" id="btn_96668">我想买</a>';
} else if(equip_status == 4) {
$('price_'+equipid).innerHTML = get_color_price(equip_price);
$('btn_con_'+equipid).innerHTML = '已被预订'
}
$('price_'+equipid).style.display='';
$('btn_con_'+equipid).style.display='';
</script>
</tr>
<tr>
<td>
<a href="http://xyq.cbg.163.com/cgi-bin/equipquery.py?act=buy_show_equip_info&equip_id=96662&server_id=75" class="soldImg">
<img id="equip_img_96662" alt="物品" width="50" height="50" data_equipid='96662' data_equip_name='偃月青龙' data_equip_type_desc='此是三国时关公所用心爱配刀,传说刀柄乃青龙所化,刀身如半月,锋利无比,在百万军中取上将首级如探囊取物。关公死,刀柄不知去向,唯余此刀身。&lt;br&gt;【装备角色】剑侠客,巨魔王' data_storage_type='1' data_equip_img="1160.gif" data_equip_type="1160" />
</a>
<textarea id="equip_desc_96662" style="display:none">
#r等级 130 五行 水#r#r伤害 +503 命中 +700#r耐久度 141 修理失败 1次#r锻炼等级 6 镶嵌宝石 太阳石、 红玛瑙#r#G#G魔力 +37#Y#Y#r#W制造者:★恒真★强化打造#Y
</textarea>
<script>set_equip_extra_info(96662, 1, "1160.gif");</script>
</td>
<td>
偃月青龙<br />
<span><script>document.write(desc_4_mhb(1));</script></span>
</td>
<td>130</td>
<td>3天1小时18分钟</td>
<td>
<span id="price_96662" style="display:none;">--</span>
</td>
<td>
<span id="btn_con_96662" style="display:none;">--</span>
</td>
<script type="text/javascript">
var equip_status = 2;
var equip_price = 99.99;
var equipid = 96662;
if (equip_status == 2 || equip_status == 3){
$('price_'+equipid).innerHTML = get_color_price(equip_price);
$('btn_con_'+equipid).innerHTML = '<a href="http://xyq.cbg.163.com/cgi-bin/equipquery.py?act=buy_show_equip_info&equip_id=96662&server_id=75" class="btn1" id="btn_96662">预订</a>';
} else if(equip_status == 1 && equip_price>0) {
$('price_'+equipid).innerHTML = get_color_price(equip_price);
$('btn_con_'+equipid).innerHTML = '<a href="http://xyq.cbg.163.com/cgi-bin/equipquery.py?act=buy_show_equip_info&equip_id=96662&server_id=75" class="btn1" id="btn_96662">我想买</a>';
} else if(equip_status == 4) {
$('price_'+equipid).innerHTML = get_color_price(equip_price);
$('btn_con_'+equipid).innerHTML = '已被预订'
}
$('price_'+equipid).style.display='';
$('btn_con_'+equipid).style.display='';
</script>
</tr>
<tr>
<td>
<a href="http://xyq.cbg.163.com/cgi-bin/equipquery.py?act=buy_show_equip_info&equip_id=96661&server_id=75" class="soldImg">
<img id="equip_img_96661" alt="物品" width="50" height="50" data_equipid='96661' data_equip_name='晓风残月' data_equip_type_desc='迅如晓风,刃如残月。此非中土大唐之物,乃是海外大食国宝刀。上面据说蛩伏着能实现愿望的神仙,如何召唤还是个秘密。传说是海外魔术师的发明。&lt;br&gt;【装备角色】剑侠客,巨魔王' data_storage_type='1' data_equip_img="1161.gif" data_equip_type="1161" />
</a>
<textarea id="equip_desc_96661" style="display:none">
#r等级 130 五行 金#r#r伤害 +491 命中 +652#r耐久度 477#r锻炼等级 6 镶嵌宝石 太阳石、 红玛瑙#r#G#G魔力 +24 #G体质 +12#Y#r#W制造者:阴间特使强化打造#Y#r#Y熔炼效果:#r#Y#r+2体质 +1魔力 #r#Y
</textarea>
<script>set_equip_extra_info(96661, 1, "1161.gif");</script>
</td>
<td>
晓风残月<br />
<span><script>document.write(desc_4_mhb(1));</script></span>
</td>
<td>130</td>
<td>3天1小时18分钟</td>
<td>
<span id="price_96661" style="display:none;">--</span>
</td>
<td>
<span id="btn_con_96661" style="display:none;">--</span>
</td>
<script type="text/javascript">
var equip_status = 2;
var equip_price = 155.99;
var equipid = 96661;
if (equip_status == 2 || equip_status == 3){
$('price_'+equipid).innerHTML = get_color_price(equip_price);
$('btn_con_'+equipid).innerHTML = '<a href="http://xyq.cbg.163.com/cgi-bin/equipquery.py?act=buy_show_equip_info&equip_id=96661&server_id=75" class="btn1" id="btn_96661">预订</a>';
} else if(equip_status == 1 && equip_price>0) {
$('price_'+equipid).innerHTML = get_color_price(equip_price);
$('btn_con_'+equipid).innerHTML = '<a href="http://xyq.cbg.163.com/cgi-bin/equipquery.py?act=buy_show_equip_info&equip_id=96661&server_id=75" class="btn1" id="btn_96661">我想买</a>';
} else if(equip_status == 4) {
$('price_'+equipid).innerHTML = get_color_price(equip_price);
$('btn_con_'+equipid).innerHTML = '已被预订'
}
$('price_'+equipid).style.display='';
$('btn_con_'+equipid).style.display='';
</script>
</tr>
<tr>
<td>
<a href="http://xyq.cbg.163.com/cgi-bin/equipquery.py?act=buy_show_equip_info&equip_id=96622&server_id=75" class="soldImg">
<img id="equip_img_96622" alt="物品" width="50" height="50" data_equipid='96622' data_equip_name='翡翠曜冠' data_equip_type_desc='相传为三清之一灵宝天尊佩戴过的帽冠。七颗翡翠分别代表“日、月、火、水、金、木、土”环绕在玉石宝珠上。&lt;br&gt;【装备条件】等级110&lt;br&gt;【装备角色】男' data_storage_type='1' data_equip_img="2553.gif" data_equip_type="2553" />
</a>
<textarea id="equip_desc_96622" style="display:none">
#r等级 110 五行 木#r#r防御 +192 魔法 +115#r耐久度 284#r锻炼等级 11 镶嵌宝石 月亮石#Y#r#c4DBAF4特技:#c4DBAF4晶清诀#Y#Y#r#c4DBAF4套装效果:附加状态一苇渡江#Y#Y#r#G开运孔数:4孔/4孔#r符石: 魔力 +1 速度 +1.5#r符石: 体质 +1 速度 +1.5#r符石: 速度 +1.5#r符石: 力量 +1 速度 +1.5#r#cEE82EE符石组合: 回眸一笑#r门派条件:无#r部位条件:无#r五行克制能力+3%#Y#r#W制造者:¤七道阳光¤#Y#r#Y熔炼效果:#r#Y#r+6防御 +7魔法 #r#Y
</textarea>
<script>set_equip_extra_info(96622, 1, "2553.gif");</script>
</td>
<td>
翡翠曜冠<br />
<span><script>document.write(desc_4_mhb(1));</script></span>
</td>
<td>110</td>
<td>2天7小时33分钟</td>
<td>
<span id="price_96622" style="display:none;">--</span>
</td>
<td>
<span id="btn_con_96622" style="display:none;">--</span>
</td>
<script type="text/javascript">
var equip_status = 2;
var equip_price = 6500.00;
var equipid = 96622;
if (equip_status == 2 || equip_status == 3){
$('price_'+equipid).innerHTML = get_color_price(equip_price);
$('btn_con_'+equipid).innerHTML = '<a href="http://xyq.cbg.163.com/cgi-bin/equipquery.py?act=buy_show_equip_info&equip_id=96622&server_id=75" class="btn1" id="btn_96622">预订</a>';
} else if(equip_status == 1 && equip_price>0) {
$('price_'+equipid).innerHTML = get_color_price(equip_price);
$('btn_con_'+equipid).innerHTML = '<a href="http://xyq.cbg.163.com/cgi-bin/equipquery.py?act=buy_show_equip_info&equip_id=96622&server_id=75" class="btn1" id="btn_96622">我想买</a>';
} else if(equip_status == 4) {
$('price_'+equipid).innerHTML = get_color_price(equip_price);
$('btn_con_'+equipid).innerHTML = '已被预订'
}
$('price_'+equipid).style.display='';
$('btn_con_'+equipid).style.display='';
</script>
</tr>
<tr>
<td>
<a href="http://xyq.cbg.163.com/cgi-bin/equipquery.py?act=buy_show_equip_info&equip_id=96614&server_id=75" class="soldImg">
<img id="equip_img_96614" alt="物品" width="50" height="50" data_equipid='96614' data_equip_name='七彩花环' data_equip_type_desc='用七彩神花编成的花环,可以起到防御的作用。&lt;br&gt;【装备条件】等级80&lt;br&gt;【装备角色】女' data_storage_type='1' data_equip_img="2518.gif" data_equip_type="2518" />
</a>
<textarea id="equip_desc_96614" style="display:none">
#r等级 80 #r防御 +34 魔法 +80#r耐久度 1000#Y#r#c4DBAF4特技:#c4DBAF4罗汉金钟#Y#Y
</textarea>
<script>set_equip_extra_info(96614, 1, "2518.gif");</script>
</td>
<td>
七彩花环<br />
<span><script>document.write(desc_4_mhb(1));</script></span>
</td>
<td>80</td>
<td>2天4小时51分钟</td>
<td>
<span id="price_96614" style="display:none;">--</span>
</td>
<td>
<span id="btn_con_96614" style="display:none;">--</span>
</td>
<script type="text/javascript">
var equip_status = 2;
var equip_price = 50.00;
var equipid = 96614;
if (equip_status == 2 || equip_status == 3){
$('price_'+equipid).innerHTML = get_color_price(equip_price);
$('btn_con_'+equipid).innerHTML = '<a href="http://xyq.cbg.163.com/cgi-bin/equipquery.py?act=buy_show_equip_info&equip_id=96614&server_id=75" class="btn1" id="btn_96614">预订</a>';
} else if(equip_status == 1 && equip_price>0) {
$('price_'+equipid).innerHTML = get_color_price(equip_price);
$('btn_con_'+equipid).innerHTML = '<a href="http://xyq.cbg.163.com/cgi-bin/equipquery.py?act=buy_show_equip_info&equip_id=96614&server_id=75" class="btn1" id="btn_96614">我想买</a>';
} else if(equip_status == 4) {
$('price_'+equipid).innerHTML = get_color_price(equip_price);
$('btn_con_'+equipid).innerHTML = '已被预订'
}
$('price_'+equipid).style.display='';
$('btn_con_'+equipid).style.display='';
</script>
</tr>
<tr>
<td>
<a href="http://xyq.cbg.163.com/cgi-bin/equipquery.py?act=buy_show_equip_info&equip_id=96611&server_id=75" class="soldImg">
<img id="equip_img_96611" alt="物品" width="50" height="50" data_equipid='96611' data_equip_name='高级感知' data_equip_type_desc='记载着上古魔兽特技,可供你的召唤兽学习。' data_storage_type='1' data_equip_img="611.gif" data_equip_type="611" />
</a>
<textarea id="equip_desc_96611" style="display:none">
所带技能:高级感知
</textarea>
<script>set_equip_extra_info(96611, 1, "611.gif");</script>
</td>
<td>
高级感知<br />
<span><script>document.write(desc_4_mhb(1));</script></span>
</td>
<td>0</td>
<td>2天4小时10分钟</td>
<td>
<span id="price_96611" style="display:none;">--</span>
</td>
<td>
<span id="btn_con_96611" style="display:none;">--</span>
</td>
<script type="text/javascript">
var equip_status = 2;
var equip_price = 70.00;
var equipid = 96611;
if (equip_status == 2 || equip_status == 3){
$('price_'+equipid).innerHTML = get_color_price(equip_price);
$('btn_con_'+equipid).innerHTML = '<a href="http://xyq.cbg.163.com/cgi-bin/equipquery.py?act=buy_show_equip_info&equip_id=96611&server_id=75" class="btn1" id="btn_96611">预订</a>';
} else if(equip_status == 1 && equip_price>0) {
$('price_'+equipid).innerHTML = get_color_price(equip_price);
$('btn_con_'+equipid).innerHTML = '<a href="http://xyq.cbg.163.com/cgi-bin/equipquery.py?act=buy_show_equip_info&equip_id=96611&server_id=75" class="btn1" id="btn_96611">我想买</a>';
} else if(equip_status == 4) {
$('price_'+equipid).innerHTML = get_color_price(equip_price);
$('btn_con_'+equipid).innerHTML = '已被预订'
}
$('price_'+equipid).style.display='';
$('btn_con_'+equipid).style.display='';
</script>
</tr>
<tr>
<td>
<a href="http://xyq.cbg.163.com/cgi-bin/equipquery.py?act=buy_show_equip_info&equip_id=96610&server_id=75" class="soldImg">
<img id="equip_img_96610" alt="物品" width="50" height="50" data_equipid='96610' data_equip_name='高级反震' data_equip_type_desc='记载着上古魔兽特技,可供你的召唤兽学习。' data_storage_type='1' data_equip_img="611.gif" data_equip_type="611" />
</a>
<textarea id="equip_desc_96610" style="display:none">
所带技能:高级反震
</textarea>
<script>set_equip_extra_info(96610, 1, "611.gif");</script>
</td>
<td>
高级反震<br />
<span><script>document.write(desc_4_mhb(1));</script></span>
</td>
<td>0</td>
<td>2天4小时10分钟</td>
<td>
<span id="price_96610" style="display:none;">--</span>
</td>
<td>
<span id="btn_con_96610" style="display:none;">--</span>
</td>
<script type="text/javascript">
var equip_status = 2;
var equip_price = 70.00;
var equipid = 96610;
if (equip_status == 2 || equip_status == 3){
$('price_'+equipid).innerHTML = get_color_price(equip_price);
$('btn_con_'+equipid).innerHTML = '<a href="http://xyq.cbg.163.com/cgi-bin/equipquery.py?act=buy_show_equip_info&equip_id=96610&server_id=75" class="btn1" id="btn_96610">预订</a>';
} else if(equip_status == 1 && equip_price>0) {
$('price_'+equipid).innerHTML = get_color_price(equip_price);
$('btn_con_'+equipid).innerHTML = '<a href="http://xyq.cbg.163.com/cgi-bin/equipquery.py?act=buy_show_equip_info&equip_id=96610&server_id=75" class="btn1" id="btn_96610">我想买</a>';
} else if(equip_status == 4) {
$('price_'+equipid).innerHTML = get_color_price(equip_price);
$('btn_con_'+equipid).innerHTML = '已被预订'
}
$('price_'+equipid).style.display='';
$('btn_con_'+equipid).style.display='';
</script>
</tr>
<tr>
<td>
<a href="http://xyq.cbg.163.com/cgi-bin/equipquery.py?act=buy_show_equip_info&equip_id=96605&server_id=75" class="soldImg">
<img id="equip_img_96605" alt="物品" width="50" height="50" data_equipid='96605' data_equip_name='制造指南书' data_equip_type_desc='记载各种装备武器制造方法的书卷。' data_storage_type='1' data_equip_img="286_612.gif" data_equip_type="612" />
</a>
<textarea id="equip_desc_96605" style="display:none">
种类 项链, 等级 150
</textarea>
<script>set_equip_extra_info(96605, 1, "286_612.gif");</script>
</td>
<td>
制造指南书<br />
<span><script>document.write(desc_4_mhb(1));</script></span>
</td>
<td>150</td>
<td>2天3小时32分钟</td>
<td>
<span id="price_96605" style="display:none;">--</span>
</td>
<td>
<span id="btn_con_96605" style="display:none;">--</span>
</td>
<script type="text/javascript">
var equip_status = 2;
var equip_price = 599.00;
var equipid = 96605;
if (equip_status == 2 || equip_status == 3){
$('price_'+equipid).innerHTML = get_color_price(equip_price);
$('btn_con_'+equipid).innerHTML = '<a href="http://xyq.cbg.163.com/cgi-bin/equipquery.py?act=buy_show_equip_info&equip_id=96605&server_id=75" class="btn1" id="btn_96605">预订</a>';
} else if(equip_status == 1 && equip_price>0) {
$('price_'+equipid).innerHTML = get_color_price(equip_price);
$('btn_con_'+equipid).innerHTML = '<a href="http://xyq.cbg.163.com/cgi-bin/equipquery.py?act=buy_show_equip_info&equip_id=96605&server_id=75" class="btn1" id="btn_96605">我想买</a>';
} else if(equip_status == 4) {
$('price_'+equipid).innerHTML = get_color_price(equip_price);
$('btn_con_'+equipid).innerHTML = '已被预订'
}
$('price_'+equipid).style.display='';
$('btn_con_'+equipid).style.display='';
</script>
</tr>
<tr>
<td>
<a href="http://xyq.cbg.163.com/cgi-bin/equipquery.py?act=buy_show_equip_info&equip_id=96604&server_id=75" class="soldImg">
<img id="equip_img_96604" alt="物品" width="50" height="50" data_equipid='96604' data_equip_name='蝉翼金丝甲' data_equip_type_desc='月宫桂树上的灵蝉身上的蝉翼辅以金丝编织而成的铠甲。绝非寻常仙家之物。&lt;br&gt;【装备条件】等级130&lt;br&gt;【装备角色】男' data_storage_type='1' data_equip_img="2655.gif" data_equip_type="2655" />
</a>
<textarea id="equip_desc_96604" style="display:none">
#r等级 130 五行 火#r#r防御 +215#r耐久度 2#r锻炼等级 7 镶嵌宝石 舍利子#r#G#G魔力 +36#Y #G灵力 +42#Y#Y#r#W制造者:︷旭月东升°强化打造#Y#r#Y熔炼效果:#r#Y#r+4防御#Y
</textarea>
<script>set_equip_extra_info(96604, 1, "2655.gif");</script>
</td>
<td>
蝉翼金丝甲<br />
<span><script>document.write(desc_4_mhb(1));</script></span>
</td>
<td>130</td>
<td>2天3小时29分钟</td>
<td>
<span id="price_96604" style="display:none;">--</span>
</td>
<td>
<span id="btn_con_96604" style="display:none;">--</span>
</td>
<script type="text/javascript">
var equip_status = 2;
var equip_price = 200.00;
var equipid = 96604;
if (equip_status == 2 || equip_status == 3){
$('price_'+equipid).innerHTML = get_color_price(equip_price);
$('btn_con_'+equipid).innerHTML = '<a href="http://xyq.cbg.163.com/cgi-bin/equipquery.py?act=buy_show_equip_info&equip_id=96604&server_id=75" class="btn1" id="btn_96604">预订</a>';
} else if(equip_status == 1 && equip_price>0) {
$('price_'+equipid).innerHTML = get_color_price(equip_price);
$('btn_con_'+equipid).innerHTML = '<a href="http://xyq.cbg.163.com/cgi-bin/equipquery.py?act=buy_show_equip_info&equip_id=96604&server_id=75" class="btn1" id="btn_96604">我想买</a>';
} else if(equip_status == 4) {
$('price_'+equipid).innerHTML = get_color_price(equip_price);
$('btn_con_'+equipid).innerHTML = '已被预订'
}
$('price_'+equipid).style.display='';
$('btn_con_'+equipid).style.display='';
</script>
</tr>
<tr>
<td>
<a href="http://xyq.cbg.163.com/cgi-bin/equipquery.py?act=buy_show_equip_info&equip_id=96591&server_id=75" class="soldImg">
<img id="equip_img_96591" alt="物品" width="50" height="50" data_equipid='96591' data_equip_name='琉璃寒玉带' data_equip_type_desc='天界银河之水经亿万年凝结而成的玉石制成的腰带,不为寻常仙物。&lt;br&gt;【装备条件】等级130' data_storage_type='1' data_equip_img="2955.gif" data_equip_type="2955" />
</a>
<textarea id="equip_desc_96591" style="display:none">
#r等级 130 五行 土#r#r防御 +80 气血 +305#r耐久度 268#r锻炼等级 6 镶嵌宝石 黑宝石#r#G#G速度 +48#Y#Y#r#W制造者:ㄚ尹夏沫←强化打造#Y#r#Y熔炼效果:#r#Y#r+2防御#Y
</textarea>
<script>set_equip_extra_info(96591, 1, "2955.gif");</script>
</td>
<td>
琉璃寒玉带<br />
<span><script>document.write(desc_4_mhb(1));</script></span>
</td>
<td>130</td>
<td>1天23小时40分钟</td>
<td>
<span id="price_96591" style="display:none;">--</span>
</td>
<td>
<span id="btn_con_96591" style="display:none;">--</span>
</td>
<script type="text/javascript">
var equip_status = 2;
var equip_price = 50.00;
var equipid = 96591;
if (equip_status == 2 || equip_status == 3){
$('price_'+equipid).innerHTML = get_color_price(equip_price);
$('btn_con_'+equipid).innerHTML = '<a href="http://xyq.cbg.163.com/cgi-bin/equipquery.py?act=buy_show_equip_info&equip_id=96591&server_id=75" class="btn1" id="btn_96591">预订</a>';
} else if(equip_status == 1 && equip_price>0) {
$('price_'+equipid).innerHTML = get_color_price(equip_price);
$('btn_con_'+equipid).innerHTML = '<a href="http://xyq.cbg.163.com/cgi-bin/equipquery.py?act=buy_show_equip_info&equip_id=96591&server_id=75" class="btn1" id="btn_96591">我想买</a>';
} else if(equip_status == 4) {
$('price_'+equipid).innerHTML = get_color_price(equip_price);
$('btn_con_'+equipid).innerHTML = '已被预订'
}
$('price_'+equipid).style.display='';
$('btn_con_'+equipid).style.display='';
</script>
</tr>
<tr>
<td>
<a href="http://xyq.cbg.163.com/cgi-bin/equipquery.py?act=buy_show_equip_info&equip_id=96584&server_id=75" class="soldImg">
<img id="equip_img_96584" alt="物品" width="50" height="50" data_equipid='96584' data_equip_name='金蟾含珠' data_equip_type_desc='相传“蟾”能口吐金钱为旺财之物。由金身蟾口含夜光珠再辅以金丝编织而成的腰带,世间少有,绝非人界之物。&lt;br&gt;【装备条件】等级110' data_storage_type='1' data_equip_img="2953.gif" data_equip_type="2953" />
</a>
<textarea id="equip_desc_96584" style="display:none">
#r等级 110 五行 金#r#r防御 +60 气血 +230#r耐久度 101#r锻炼等级 9 镶嵌宝石 黑宝石#r#G#G速度 +72#Y#Y#r#c4DBAF4套装效果:附加状态变身#Y#Y#r#W制造者:毛毛の虫#Y#r#Y熔炼效果:#r#Y#r+2防御 +34气血 #r#Y
</textarea>
<script>set_equip_extra_info(96584, 1, "2953.gif");</script>
</td>
<td>
金蟾含珠<br />
<span><script>document.write(desc_4_mhb(1));</script></span>
</td>
<td>110</td>
<td>1天22小时58分钟</td>
<td>
<span id="price_96584" style="display:none;">--</span>
</td>
<td>
<span id="btn_con_96584" style="display:none;">--</span>
</td>
<script type="text/javascript">
var equip_status = 2;
var equip_price = 555.00;
var equipid = 96584;
if (equip_status == 2 || equip_status == 3){
$('price_'+equipid).innerHTML = get_color_price(equip_price);
$('btn_con_'+equipid).innerHTML = '<a href="http://xyq.cbg.163.com/cgi-bin/equipquery.py?act=buy_show_equip_info&equip_id=96584&server_id=75" class="btn1" id="btn_96584">预订</a>';
} else if(equip_status == 1 && equip_price>0) {
$('price_'+equipid).innerHTML = get_color_price(equip_price);
$('btn_con_'+equipid).innerHTML = '<a href="http://xyq.cbg.163.com/cgi-bin/equipquery.py?act=buy_show_equip_info&equip_id=96584&server_id=75" class="btn1" id="btn_96584">我想买</a>';
} else if(equip_status == 4) {
$('price_'+equipid).innerHTML = get_color_price(equip_price);
$('btn_con_'+equipid).innerHTML = '已被预订'
}
$('price_'+equipid).style.display='';
$('btn_con_'+equipid).style.display='';
</script>
</tr>
<tr>
<td>
<a href="http://xyq.cbg.163.com/cgi-bin/equipquery.py?act=buy_show_equip_info&equip_id=96479&server_id=75" class="soldImg">
<img id="equip_img_96479" alt="物品" width="50" height="50" data_equipid='96479' data_equip_name='琉璃寒玉带' data_equip_type_desc='天界银河之水经亿万年凝结而成的玉石制成的腰带,不为寻常仙物。&lt;br&gt;【装备条件】等级130' data_storage_type='1' data_equip_img="2955.gif" data_equip_type="2955" />
</a>
<textarea id="equip_desc_96479" style="display:none">
#r等级 130 五行 金#r#r防御 +73 气血 +294#r耐久度 75#r锻炼等级 10 镶嵌宝石 黑宝石#r#G#G速度 +80#Y#Y#r#c4DBAF4特技:#c4DBAF4破血狂攻#Y#Y#r#G开运孔数:5孔/5孔#r符石: 气血 +10#r符石: 速度 +1.5#r符石: 魔力 +1 伤害 +1.5#r符石: 力量 +1 速度 +1.5#r符石: 敏捷 +1 伤害 +1.5#r#cEE82EE符石组合: 文韬武略符石#r门派条件:大唐官府 #r部位条件:腰带 #r增加门派技能文韬武略6级#Y#r#W制造者:σ°伊达政宗强化打造#Y#r#Y熔炼效果:#r#Y#r+1防御 +14气血 #r#Y
</textarea>
<script>set_equip_extra_info(96479, 1, "2955.gif");</script>
</td>
<td>
琉璃寒玉带<br />
<span><script>document.write(desc_4_mhb(1));</script></span>
</td>
<td>130</td>
<td>1小时13分钟</td>
<td>
<span id="price_96479" style="display:none;">--</span>
</td>
<td>
<span id="btn_con_96479" style="display:none;">--</span>
</td>
<script type="text/javascript">
var equip_status = 2;
var equip_price = 2100.00;
var equipid = 96479;
if (equip_status == 2 || equip_status == 3){
$('price_'+equipid).innerHTML = get_color_price(equip_price);
$('btn_con_'+equipid).innerHTML = '<a href="http://xyq.cbg.163.com/cgi-bin/equipquery.py?act=buy_show_equip_info&equip_id=96479&server_id=75" class="btn1" id="btn_96479">预订</a>';
} else if(equip_status == 1 && equip_price>0) {
$('price_'+equipid).innerHTML = get_color_price(equip_price);
$('btn_con_'+equipid).innerHTML = '<a href="http://xyq.cbg.163.com/cgi-bin/equipquery.py?act=buy_show_equip_info&equip_id=96479&server_id=75" class="btn1" id="btn_96479">我想买</a>';
} else if(equip_status == 4) {
$('price_'+equipid).innerHTML = get_color_price(equip_price);
$('btn_con_'+equipid).innerHTML = '已被预订'
}
$('price_'+equipid).style.display='';
$('btn_con_'+equipid).style.display='';
</script>
</tr>
</table>
<div class="blank12"></div>
</div>
</div>
</div>
<div class="areaBtm"></div>
<!--页脚-->
<script>adjust_table_row_style();</script>
<div class="areaTop"></div>
<div class="footer area">
手机藏宝阁地址:m.cbg.163.com<br /><br />
<script language="JavaScript" type="text/javascript" src="http://res.nie.netease.com/comm/NIE_copyRight/NIE_copyRight.js"></script>
</div>
<div class="areaBtm"></div>
<div class="blank12"></div>
<script src="http://analytics.163.com/ntes.js" type="text/javascript"></script>
<script type="text/javascript">
_ntes_nacc = "cbgxyq"; //站点ID。
neteaseTracker();
</script>
</body>
</html>
<!--gzipped-->
import time
from BeautifulSoup import BeautifulSoup
import requests
if __name__ == '__main__':
fp = open('content.html', 'r')
content = fp.read()
s = time.time()
soup = BeautifulSoup(content)
print time.time() - s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment