kinoklub-api
Advanced tools
Comparing version
@@ -14,3 +14,3 @@ import { resolveCinema, resolveDate } from './global.helper.js'; | ||
export const getDescription = (el) => { | ||
const blocks = el.querySelectorAll('.modal-body__mobile-bottom div:first-child'); | ||
const blocks = el.querySelectorAll('.modal-body__mobile-bottom p'); | ||
const blocksCleaned = blocks.map((block) => { var _a, _b; return (_b = (_a = block === null || block === void 0 ? void 0 : block.textContent) === null || _a === void 0 ? void 0 : _a.replace(/(\r\n|\n|\r|\t)/gm, '')) === null || _b === void 0 ? void 0 : _b.trim(); }); | ||
@@ -17,0 +17,0 @@ return blocksCleaned.join('\n'); |
{ | ||
"name": "kinoklub-api", | ||
"version": "0.0.4", | ||
"version": "0.0.5", | ||
"description": "Support library for KinoKlub", | ||
@@ -5,0 +5,0 @@ "main": "./index.js", |
21405
-0.07%