用 Ruby scrAPI 做数据采集

2014-12-30 0 935
用 Ruby scrAPI 做数据采集
<!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=utf-8">
  <title>This is the scrAPI collect demo page</title>
</head>
<body>
  <div id="header">
    <h1 id="demo">Demo</h1>
    <ul id="nav">
      <li><a href="/" rel="external nofollow" >Home</a></li>
      <li class="current"><a href="/articles" rel="external nofollow" >Articles</a></li>
      <li><a href="/about" rel="external nofollow" >About</a></li>
    </ul>
  </div>
  <div id="container">
    <div id="articles">
      <div class="item">
        <div class="title">
          <a href="/articles/show/1" rel="external nofollow"  rel="external nofollow"  rel="external nofollow" >Sample article title 1</a>
        </div>
        <div class="summary">
          There is the summary text 1.
        </div>
      </div>
      <div class="item">
        <div class="title">
          <a href="/articles/show/1" rel="external nofollow"  rel="external nofollow"  rel="external nofollow" >Sample article title 2</a>
        </div>
        <div class="summary">
          There is the summary text 2.
        </div>
      </div>
      <div class="item">
        <div class="title">
          <a href="/articles/show/1" rel="external nofollow"  rel="external nofollow"  rel="external nofollow" >Sample article title 3</a>
        </div>
        <div class="summary">
          There is the summary text 3.
        </div>
      </div>
    </div>
  </div>
</body>
</html>

遇见资源网 ruby 用 Ruby scrAPI 做数据采集 http://www.ox520.com/16209.html

常见问题

相关文章

发表评论
暂无评论
官方客服团队

为您解决烦忧 - 24小时在线 专业服务