mirror of
https://github.com/p-stream/providers.git
synced 2026-01-11 20:10:33 +00:00
Providers and sources for P-Stream
| .docs | ||
| .github | ||
| .vscode | ||
| examples | ||
| src | ||
| .editorconfig | ||
| .eslintrc.js | ||
| .gitattributes | ||
| .gitignore | ||
| .npmrc | ||
| .prettierrc | ||
| package-lock.json | ||
| package.json | ||
| README.md | ||
| tsconfig.json | ||
| vite.config.js | ||
@movie-web/providers
package that holds all providers of movie-web. Feel free to use for your own projects.
features:
- scrape popular streaming websites
- works in both browser and server-side
This package is still WIP
Todos:
- add tests
- ProviderControls.runAll()
- are events called?
- custom source or embed order
- are fetchers called?
- is proxiedFetcher properly defaulted back to normal fetcher?
- makeStandardFetcher()
- do all parameters get passed to real fetch as expected?
- does serialisation work as expected? (formdata + json + string)
- do baseUrl settings work?
- does json responses get automatically parsed?
- makeFullUrl()
- do slashes get converted correctly?
- ProviderControls.runAll()
- running individual scrapers
- finish fetchers:
- make baseUrl param work
- proper serialization (with content-type headers) for standard fetcher
- automatically parse json
- error logging for failed scrapers
- add all real providers
Future todos:
- docs: examples for nodejs + browser
- docs: how to use + usecases
- docs: examples for custom fetcher
- choose an output environment (for browser or for native)
- flixhq show support