Skip to content

bruin-tennis-consulting/ps-match-recorder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 

Repository files navigation

match-recorder

Based on the ITF Match Recorder by awest25. This version utilizes two Python scripts for recording live streams off of PlaySight. These scripts utilize Selenium for browser automation, Beautiful Soup for web scraping, and FFmpeg for live-stream recording .

Requirements

  • requests
  • beautifulsoup4
  • InquirerPy
  • ffmpeg
  • selenium
  • webdriver_manager

To install run:

pip install -r requirements.txt

Ensure you have ffmpeg installed on your system. You can download it from FFmpeg's official website. Otherwise, you can install it using Homebrew on macOS:

brew install ffmpeg

Setting up a virtual environment

**Either use an existing virtual environment or follow the steps below. **

To create a virtual environment called venv and install the required packages, follow these steps:

  1. Open a terminal or command prompt.
  2. Navigate to the project directory: ~/match-recorder.
  3. Run the following command to create a virtual environment:
python -m venv venv
  1. Activate the virtual environment:
  • On Windows:
    venv\Scripts\activate
  • On macOS and Linux:
    source venv/bin/activate
  1. Once the virtual environment is activated, install the required packages from the requirements.txt file:
pip install -r requirements.txt

Now you have successfully set up a virtual environment called venv and installed the required packages.

Selecting team to record

To select the team you want to record, open the site_parser.py file and update the url variable:

url = WEB_URL + "/facility/pepperdine-university/home" # <---- Change This line to team of your choice

Run python3 site_parser.py and follow the prompts. You will be asked to enter your PlaySight credentials, select a court to record, and choose the recording duration."

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages