node-csfd-api
Advanced tools
Comparing version 0.2.0 to 0.2.1
@@ -25,4 +25,5 @@ "use strict"; | ||
exports.getUrl = (el) => { | ||
// console.log(el.querySelector('td a.film')); | ||
return 'https://www.csfd.cz'; // TODO | ||
var _a; | ||
const url = (_a = el.querySelector('td a.film')) === null || _a === void 0 ? void 0 : _a.rawAttributes.href; | ||
return `https://www.csfd.cz${url}`; | ||
}; |
{ | ||
"name": "node-csfd-api", | ||
"version": "0.2.0", | ||
"version": "0.2.1", | ||
"description": "Simple NPM library for scraping CSFD", | ||
@@ -5,0 +5,0 @@ "main": "./index.js", |
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
8620
133