providers/README.md

41 lines
1.2 KiB
Markdown
Raw Normal View History

2023-06-21 12:58:34 +00:00
# @movie-web/providers
package that holds all providers of movie-web.
Feel free to use for your own projects.
2023-06-21 13:31:18 +00:00
features:
- scrape popular streaming websites
2023-08-27 17:47:09 +00:00
- works in both browser and server-side
2023-06-21 13:31:18 +00:00
2023-09-06 15:58:28 +00:00
> **This package is still WIP**
2023-08-24 19:51:43 +00:00
2023-08-27 18:57:24 +00:00
Todos:
- add tests
- ProviderControls.runAll()
- are events called?
- custom source or embed order
- are fetchers called?
- is proxiedFetcher properly defaulted back to normal fetcher?
2023-09-06 19:24:39 +00:00
- ProviderControls.runSourceScraper()
- is source scraper called?
- does it return as expected?
- does it error when invalid type or id?
- ProviderControls.runEmbedScraper()
- is embed scraper called?
- does it return as expected?
- does it error when invalid id?
- makeStandardFetcher()
- do all parameters get passed to real fetch as expected?
- does serialisation work as expected? (formdata + json + string)
- does json responses get automatically parsed?
- add all real providers
2023-09-06 19:24:39 +00:00
- fetcher for MW's simple-proxy
2023-08-27 18:57:24 +00:00
Future todos:
- docs: examples for nodejs + browser
- docs: how to use + usecases
- docs: examples for custom fetcher
2023-09-06 19:24:39 +00:00
- docs: example with tmdb search
- feature: choose an output environment (for browser or for native)
- feature: flixhq show support