日期:2014-05-17  浏览次数:20956 次

阿里巴巴数据抓取问题
http://lgjiexin.cn.alibaba.com/athena/companyprofile/lgjiexin.html
这个页面是阿里巴巴网站上的公司的详细信息页
我用C#实现了获取HTML代码,但是每次都返回401错误但是获取列表页:
http://search.china.alibaba.com/company/k-%C8%ED%B0%FC%D7%B0_n-y.html
每次获取都成功,我查询了401错误的详细信息,如果真的是服务器端做了设置,有啥办法能解决吗?
401错误的百度百科说明:http://baike.baidu.com/view/3734025.htm
求教这里的大神帮忙解决。。。


急啊!

------解决方案--------------------
http://hi.baidu.com/panyuan1988/blog/item/b1904e955538d46154fb96f7.html
这是我以前写的
我刚刚试了下连这个页面是没有错误的!
http://search.china.alibaba.com/company/k-%C8%ED%B0%FC%D7%B0_n-y.html
有数据的
default="company_search_img_1_11_m000000_#_%C8%ED%B0%FC%D7%B0_yonglibao_23" offer-id="offer11"></span>
<a class="Video video-base" href="http://yonglibao.cn.alibaba.com/athena/companyprofile/yonglibao.html" target="_blank" videoid="{id:'yonglibao'}" offer-stat="video" offer-id="offer11"></a>
</h3>
<div class="Summary">
<p class="Description">
本公司主要经营塑料包装等。公司秉承 &quot;顾客至上,锐意进取 &quot;... </p>
<p class="Bisness">
<span class="Biz-type"><strong>经营模式:</strong>生产厂家</span>
<span class="Biz-service"><strong>主营产品:</strong>
<a href="http://yonglibao.cn.alibaba.com/athena/offerlist/yonglibao-sale.html" searchtrace="companylist_tolist_product" target="_blank">塑料包装</a>; <a href="http://yonglibao.cn.alibaba.com/athena/offerlist/yonglibao-sale.html" searchtrace="companylist_tolist_product" target="_blank">塑料包装袋</a>; <a href="http://yonglibao.cn.alibaba.com/athena/offerlist/yonglibao-sale.html" searchtrace="companylist_tolist_product" target="_blank">编织袋</a> </span>
</p>
         <div class="Condition">
<p class="Condition-a">加工方式:来样加工,来料代工加工</p> <p class="Condition-b">工艺:彩印,凹印</p> <p class="Condition-a">服务领域:包装,食品饮料,...</p> </div>

<p class="Address">
经营地址:<a href="http://yonglibao.cn.alibaba.com/athena/contact/yonglibao.html" target="_blank"  offer-stat="local" offer-id="offer11"> 湖北 阳新县兴国镇城北工业区