Skip to content

Crawls and searches for pages found on Oculus Store main page. Stores daily deals in the database. Publishes it on the Telegram's dedicated private channel.

License

Notifications You must be signed in to change notification settings

foxtrotdev/oculus-store-experiences-crawler

Repository files navigation

OculusStoreExperiencesCrawler

Crawls and searches for pages found on Oculus Store main page.
Stores daily deals in the database and publishes them on the Telegram's dedicated channel.

Project's Run/Debug Configuration

Instruction how to configure the project. pictures/run_debug_configuration.png

Configuring TelegramBot

  1. Create Telegram bot through Telegram
  2. Copy obtained token to:
const TELEGRAM_BOT_TOKEN = 'XXXXXXXXXXXXXXXXX';

Configuring TelegramChannel

  1. Create Telegram channel through Telegram
  2. Get id of you newly created channel
  3. Copy obtained token to:
const TELEGRAM_CHANNEL_ID = "@XXXXXXXXXXXXXXXXX";

Running the project

  1. Being in the project's folder execute the below command (or click the green triangle in PhpStorm IDE):
npm start
  1. Open the browser and enter url:
127.0.0.1:3000

Note: Fetching might take a while. Just wait till you get a JSON response about finished work.

Sample of Telegram's channel

pictures/telegram_channel.jpg

About

Crawls and searches for pages found on Oculus Store main page. Stores daily deals in the database. Publishes it on the Telegram's dedicated private channel.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages