Skip to content

Minuta po minute (Dennik N) web scraper that sends new posts using Discord webhooks to Discord server.

License

Notifications You must be signed in to change notification settings

jurajtrappl/mpm-reporter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

News page reporter

News web scraper that sends new posts using Discord webhooks to a Discord server.

Program flow

  • News page is being checked every minute using custom Cron job.
  • When a new post appears
    • data are scraped from the webpage using cheerio-js
    • sent as Discord embed using Discord webhook to a server

dotenv variables

  1. WEBHOOK_URL - URL of the server's webhook integration
  2. MPM_URL and MPM_LOGO are two environment variables representing the news page URL and the embed's thumbnail logo

About

Minuta po minute (Dennik N) web scraper that sends new posts using Discord webhooks to Discord server.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published