This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var http = require('http'); | |
var cheerio = require('cheerio'); | |
http.createServer(function (req, res) { | |
console.log(req.url); | |
http.get(req.url, function (r) { | |
r.setEncoding('utf-8'); | |
var content = ''; | |
r.on('data', function (chunk) { | |
content += chunk; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div id="sayt-results-container" style="left: 18px; top: 159px; display: block;"> | |
<ul class="plugin-list"> | |
<li class="header header-last" style=""> | |
<ul class="plugin-result-list"> | |
<li title="ipsum" class="clearfix odd">ipsum</li> | |
<li title="ipsum dolor" class="clearfix even last-item selected">ipsum dolor</li> | |
</ul> | |
</li> | |
</ul> | |
</div> |