Skip to content

evilsloth/crackflix-scraper

Repository files navigation

Crackflix scraper

Configuration

All Debrid agent and api key must be provided. There are two ways that can be done:

  1. Add config file config/.env.local
ALL_DEBRID_AGENT=agent
ALL_DEBRID_API_KEY=api_key
  1. Define environment variables at runtime:
export ALL_DEBRID_AGENT=agent
export ALL_DEBRID_API_KEY=api_key

You may also wish to configure API_KEY property to secure api access.

export API_KEY=some_random_key

This value should be then passed in "apiKey" request header.

Installation

$ npm install

Running the app

# development
$ npm run start

# watch mode
$ npm run start:dev

# production mode
$ npm run start:prod

Test

# unit tests
$ npm run test

# e2e tests
$ npm run test:e2e

# test coverage
$ npm run test:cov

OpenAPI (Swagger)

API documentation in OpenAPI format can be accessed after running the app:

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages