node-csfd-api
Advanced tools
Comparing version 2.2.0 to 2.3.0
@@ -30,3 +30,3 @@ "use strict"; | ||
const getRating = (el) => { | ||
const ratingRaw = el.querySelector('.rating-average').textContent; | ||
const ratingRaw = el.querySelector('.film-rating-average').textContent; | ||
const rating = +(ratingRaw === null || ratingRaw === void 0 ? void 0 : ratingRaw.replace(/%/g, '').trim()); | ||
@@ -33,0 +33,0 @@ if (Number.isInteger(rating)) { |
{ | ||
"name": "node-csfd-api", | ||
"version": "2.2.0", | ||
"version": "2.3.0", | ||
"description": "ČSFD API in JavaScript. Amazing NPM library for scrapping csfd.cz :)", | ||
@@ -25,3 +25,3 @@ "main": "./index.js", | ||
"cross-fetch": "^3.1.5", | ||
"node-html-parser": "^5.2.0" | ||
"node-html-parser": "^5.3.2" | ||
}, | ||
@@ -28,0 +28,0 @@ "repository": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
59875
Updatednode-html-parser@^5.3.2