Documentation
¶
Overview ¶
Package scrape is a web scraper that relies on playwright-go to continuously retrieve the participant count of a specified zoom meeting.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetParticipantsJitsi ¶
func GetParticipantsJitsi(url string, refreshInterval int, data *tui.Data, pw *playwright.Playwright) error
GetParticipantsJitsi retrieves the total participant count from a specified Jitsi URL. It runs in a loop and updates the passed in `Data` struct every `refreshInterval` seconds.
func GetParticipantsZoom ¶
func GetParticipantsZoom(url string, refreshInterval int, data *tui.Data, pw *playwright.Playwright) error
GetParticipantsZoom retrieves the total participant count from a specified zoom URL. It runs in a loop and updates the passed in `Data` struct every `refreshInterval` seconds.
func InitializePlaywright ¶
func InitializePlaywright() (pw *playwright.Playwright, err error)
initializePlaywright starts playwright in a standalone function to circumvent some flaws in the upstream in terms of how it prints logs.
Types ¶
Click to show internal directories.
Click to hide internal directories.