node-csfd-api 2.4.2 → 2.4.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/helpers/creator.helper.js +2 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -340,7 +340,7 @@ _Note: You can not use both parameters 'includesOnly' and 'excludes'. Parameter
|
|
|
340
340
|
|
|
341
341
|
- [Dafilms web extension](https://chrome.google.com/webstore/detail/dafilms/hgcgneddmgflnbmhkjnefiobjgobbmdm?hl=en) ([code](https://github.com/bartholomej/dafilms-ext)) – Parser for film ratings (web extension)
|
|
342
342
|
- [bartweb.cz](https://bartweb.cz) – **Last seen** section (Firebase function)
|
|
343
|
-
- KinoKlub – Mobile application for
|
|
343
|
+
- KinoKlub – Mobile application for AeroFilms (native Android + iOS application)
|
|
344
344
|
|
|
345
345
|
## Roadmap
|
|
346
346
|
|
|
@@ -439,7 +439,7 @@ I DO NOT STORE ANY DATA. PERIOD.
|
|
|
439
439
|
|
|
440
440
|
I physically can't. I have nowhere to store it. I don't even have a server database to store it. So even if Justin Bieber asked nicely to see your data, I wouldn't have anything to show him.
|
|
441
441
|
|
|
442
|
-
That's why, with
|
|
442
|
+
That's why, with node-csfd-api, what happens on your device stays on your device till disappear.
|
|
443
443
|
|
|
444
444
|
## License
|
|
445
445
|
|
|
@@ -56,7 +56,8 @@ const parseBirthPlace = (text) => {
|
|
|
56
56
|
};
|
|
57
57
|
exports.parseBirthPlace = parseBirthPlace;
|
|
58
58
|
const getFilms = (el) => {
|
|
59
|
-
|
|
59
|
+
var _a;
|
|
60
|
+
const filmNodes = (_a = el.querySelectorAll('.box')[0]) === null || _a === void 0 ? void 0 : _a.querySelectorAll('table tr');
|
|
60
61
|
let yearCache;
|
|
61
62
|
const films = filmNodes.map((filmNode) => {
|
|
62
63
|
var _a, _b, _c;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "node-csfd-api",
|
|
3
|
-
"version": "2.4.
|
|
3
|
+
"version": "2.4.4",
|
|
4
4
|
"description": "ČSFD API in JavaScript. Amazing NPM library for scrapping csfd.cz :)",
|
|
5
5
|
"main": "./index.js",
|
|
6
6
|
"author": "BART! <bart@bartweb.cz>",
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
},
|
|
24
24
|
"dependencies": {
|
|
25
25
|
"cross-fetch": "^3.1.5",
|
|
26
|
-
"node-html-parser": "^
|
|
26
|
+
"node-html-parser": "^6.1.1"
|
|
27
27
|
},
|
|
28
28
|
"repository": {
|
|
29
29
|
"url": "git+https://github.com/bartholomej/node-csfd-api.git",
|