Go to file
mrjvs 7b9b25acab individual provider runs 2023-09-06 21:24:39 +02:00
.docs Add documentation 2023-09-05 22:18:59 +02:00
.github doc deployment action 2023-09-05 22:24:45 +02:00
.vscode repo setup 2023-06-21 14:50:06 +02:00
examples add support for full url merging 2023-09-06 14:30:21 +02:00
src individual provider runs 2023-09-06 21:24:39 +02:00
.editorconfig repo setup 2023-06-21 14:50:06 +02:00
.eslintrc.js fix some type errors 2023-06-21 15:17:54 +02:00
.gitattributes repo setup 2023-06-21 14:50:06 +02:00
.gitignore add test coverage util 2023-09-06 14:32:13 +02:00
.npmrc repo setup 2023-06-21 14:50:06 +02:00
.prettierrc repo setup 2023-06-21 14:50:06 +02:00
README.md individual provider runs 2023-09-06 21:24:39 +02:00
package-lock.json add test coverage util 2023-09-06 14:32:13 +02:00
package.json version bump 2023-09-06 19:44:00 +02:00
tsconfig.json fix build? 2023-09-06 19:43:45 +02:00
vite.config.js fix build? 2023-09-06 19:43:45 +02:00

README.md

@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?
    • 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
  • fetcher for MW's simple-proxy

Future todos:

  • docs: examples for nodejs + browser
  • docs: how to use + usecases
  • docs: examples for custom fetcher
  • docs: example with tmdb search
  • feature: choose an output environment (for browser or for native)
  • feature: flixhq show support