dharmafly / noodle

A node server and module which allows for cross-domain page scraping on web documents with JSONP or POST.
https://noodle.dharmafly.com/
745 stars 69 forks source link

How to get lists of <div> with class name #123

Open trduong opened 8 years ago

trduong commented 8 years ago

I am new with noodle. Any one can tell me how to get the information using selector.

<div class="**item trailer**" itemscope="" itemtype="http://schema.org/AudioObject">

  <div class="audio-nada"></div>

  <!-- Player -->
  <div class="player audio-player">

<a href="/d2w/4/1446774/444365601/view/?mp3" class="audio onload" id="zedge1446774">
  <div class="player"></div>
  <div class="carret"></div>
</a>

      </div>

  <!-- Metadata -->
  <a class="meta audio-meta" href="http://www.zedge.net/ringtone/1446774/" title="Mockingjay">
      <h5 class="title audio-title"><b itemprop="name">**Mockingjay**</b></h5>
      in <span itemprop="genre">Sound Effects</span>
      <hr>
      <div class="tags audio-tags">
          district12, hunger games, mockingjay, safesound        </div>
      <div class="downloads audio-downloads">
          **1,510,531 downloads**
      </div>
  </a>

</div>
premasagar commented 6 years ago

Which information are you trying to extract?