Package Exports
- node-csfd-api
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (node-csfd-api) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
CSFD API
Tiny NPM library for scraping CSFD
[work in progress]
- Browser + Node.js (SSR)
- TypeScript
Install
via yarn
yarn add node-csfd-apivia npm
npm install node-csfd-apiUsage
User Ratings
Get all of my ratings
import { Csfd } from 'node-csfd-api';
const csfd = new Csfd();
csfd.userRatings('912-bart').then((ratings) => console.log(ratings));Results
[
{
title: 'Watchmen - This Extraordinary Being (E06)',
year: 2019,
type: 'epizoda',
rating: 5,
url: 'https://www.csfd.cz',
date: '25.11.2019',
quality: 1
}
];More
Work in progress...
Development
Developing and debugging library
yarn startRun demo locally
You can find and modify it in ./demo.ts file
yarn demoContribution
I welcome you to customize this according to your needs ;)
Pull requests for any improvements would be great!
Donation
If this project have helped you save time please consider making a donation for some 🍺 or 🍵 ;)
Privacy Policy
I DO NOT STORE ANY DATA. PERIOD.
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.
That's why, with CSFD Api, what happens on your device stays on your device till disappear.
License
Copyright © 2020 Lukas Bartak
Proudly powered by nature 🗻, wind 💨, tea 🍵 and beer 🍺 ;)
All contents are licensed under the MIT license.