[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.
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 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
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
- Create Migration to run the application in production environment.
- Improve video scraping