Skip to content

Commit

Permalink
fix first
Browse files Browse the repository at this point in the history
  • Loading branch information
Doug Neale committed Sep 16, 2017
1 parent 49da450 commit f322c56
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scraper.js
Expand Up @@ -63,7 +63,7 @@ function run(db) {
var $ = cheerio.load(phraseBody);

var phraseTitle = $(".content h1").text().trim();
var phraseDesc = $(".meanings-body")[0].text().trim();
var phraseDesc = $(".meanings-body").first().text().trim();
var phraseUrl = BASE_URL + phraseLink;

updateRow(db, phraseTitle, phraseDesc, phraseUrl);
Expand Down

0 comments on commit f322c56

Please sign in to comment.