Giter Club home page Giter Club logo

providers's Introduction

@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

Visit documentation here: https://providers.docs.movie-web.app/

Development

To make testing scrapers easier during development a CLI tool is available to run specific sources. To run the CLI testing tool, use npm run cli. The script supports 2 execution modes

  • CLI Mode, for passing in arguments directly to the script
  • Question Mode, where the script asks you questions about which source you wish to test

The following CLI Mode arguments are available

Argument Alias Description Default
--fetcher -f Fetcher type. Either node-fetch or native node-fetch
--source-id -sid Source ID for the source to be tested
--tmdb-id -tid TMDB ID for the media to scrape. Only used if source is a provider
--type -t Media type. Either movie or show. Only used if source is a provider movie
--season -s Season number. Only used if type is show 0
--episode -e Episode number. Only used if type is show 0
--url -u URL to a video embed. Only used if source is an embed
--help -h Shows help for the command arguments

Example testing the FlixHQ source on the movie "Spirited Away"

npm run cli -- -sid flixhq -tid 129 -t movie

providers's People

Contributors

mrjvs avatar zisra avatar jonbarrow avatar binaryoverload avatar memecornucopia avatar erynith avatar jipfr avatar jorrinkievit avatar dependabot[bot] avatar elpaxel avatar lonelil avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.