extract attributes & improve help
This commit is contained in:
		| @ -35,27 +35,25 @@ | ||||
|         <div class="row"> | ||||
|  | ||||
|             <div class="col"> | ||||
|                 <h6>Examples</h6> | ||||
|                 <h6>Quick Start</h6> | ||||
|             </div> | ||||
|         </div> | ||||
|         <div class="row"> | ||||
|             <div class="col"> | ||||
|                 <div class="alert alert-success small"> | ||||
|                     <p> | ||||
|                         <b>View Help</b>: | ||||
|                         <br>extract() | ||||
|                     </p> | ||||
|                     <p> | ||||
|                         <b>Extract current page</b>: | ||||
|                         <br>extract("table tr", ["td:nth-child(0)","td:nth-child(1)"]) | ||||
|                         <br>extract("list-item", ["a.title", "p.content"]) | ||||
|                     </p> | ||||
|                     <p> | ||||
|                         <b>Extract pages of sample.com (1-10, interval 1)</b>: | ||||
|                         <br>extract("table tr", ["td:nth-child(0)","td:nth-child(1)"],"http://sample.com/?pn=${page}",1,10,1) | ||||
|                         <b>Extract multiple pages (1-10, interval 1)</b>: | ||||
|                         <br>extract("list-item", ["a.title", "p.content"], "http://sample.com/?pn=${page}", 1, 10, 1) | ||||
|  | ||||
|                     </p> | ||||
|                     <p> | ||||
|                         <b>Extract specified pages (1,3,5)</b>: | ||||
|                         <br>extract("table tr", ["td:nth-child(0)","td:nth-child(1)"],"http://sample.com/?pn=${page}",[1,3,5]) | ||||
|  | ||||
|                     </p> | ||||
|  | ||||
|                 </div> | ||||
|             </div> | ||||
|         </div> | ||||
|  | ||||
		Reference in New Issue
	
	Block a user