metascraper-title
Advanced tools
Comparing version 3.8.0 to 3.9.2
'use strict' | ||
const { titleize } = require('@metascraper/helpers') | ||
const { getValue, titleize } = require('@metascraper/helpers') | ||
const { isString } = require('lodash') | ||
@@ -23,4 +23,4 @@ | ||
wrap($ => $('h1[class*="title"]').text()), | ||
wrap($ => $('title').text()) | ||
wrap($ => getValue($, $('title'))) | ||
] | ||
}) |
@@ -5,3 +5,3 @@ { | ||
"homepage": "https://metascraper.js.org", | ||
"version": "3.8.0", | ||
"version": "3.9.2", | ||
"main": "index.js", | ||
@@ -20,3 +20,3 @@ "author": { | ||
"dependencies": { | ||
"@metascraper/helpers": "^3.8.0", | ||
"@metascraper/helpers": "^3.9.2", | ||
"lodash": "~4.17.4" | ||
@@ -23,0 +23,0 @@ }, |
2475
Updated@metascraper/helpers@^3.9.2