Skip to content

Xvideos Web Spider to Collect Data From User Profile Page and Send It To InfluxDB Time Series Database

License

Notifications You must be signed in to change notification settings

aidenvalentine/xvideos-user-stats-tracker

Repository files navigation

xvideos-user-stats-tracker

Xvideos Web Spider to Collect Data From User Profile Page and Send It To InfluxDB Time Series Database. And automatically adds new annotations to Grafana panel when there's new videos uploaded to your Xvideos account. It's pretty slick.

Screenshot

Xvideos User Stats Grafana Dashboard Screenshot

Requirements

  1. Node.js installed on the computer running this program.
  2. NPM installed.
  3. Grafana Server running on an accessible URL. (Optional - For Adding Annotations to your dashboard.)
  4. InfluxDB running on a accessible machine.

Installation

  1. Navigate to project directory in command prompt/shell and install npm packages using npm install.
  2. Create new task on Windows 10 using Task Scheduler.
  3. General Tab - Tick Hidden
  4. General Tab - Run whether user is logged in or not
  5. Trigger - At system startup - After triggered, repeat every 5-10 minutes indefinitely.
  6. Actions > Settings > Action - Start a program - "C:\Program Files\nodejs\node.exe"
  7. Actions > Settings > Add arguments - C:\Users\%USERPROFILE%\Documents\xvideos-user-stats-tracker\index.js
  8. Import grafana-dashboard.json into your grafana server and connect your data source.

About

Xvideos Web Spider to Collect Data From User Profile Page and Send It To InfluxDB Time Series Database

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages