Skip to content

adousa/media-scraper-backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Media Scraper Backend

Description

[Media Scraper] Created Using NestJs Framework to handle scraping media from URLs.

Scraper-service used puppeteer headless browser to scrap media from URLs. running scraper-service container was tested successfully Only on Ubuntu.

To run the service locally make sure to install the required libraries.

Installation and Running the App

Using docker-compose

$ docker-compose up

installing the service locally is available by navigating to scraper and gateway folder then run the following commands

$ npm i 

Running the app

Running the service locally is available by navigating to scraper and gateway folder then run one of the following commands

# development
$ npm run start

# watch mode
$ npm run start:dev

# production mode
$ npm run start:prod

Test

Testing the service locally is available by navigating to scraper or gateway folder then run the following command

# unit tests
$ npm run test
or
$ npm run test:e2e

TODO

  • Create Migration to run the application in production environment.
  • Improve video scraping

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published