Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/winstxnhdw/panopto-captions-scraper
A captions scraper for Panopto.
https://github.com/winstxnhdw/panopto-captions-scraper
bun nus panopto scraper
Last synced: 2 months ago
JSON representation
A captions scraper for Panopto.
- Host: GitHub
- URL: https://github.com/winstxnhdw/panopto-captions-scraper
- Owner: winstxnhdw
- Created: 2023-10-04T15:54:24.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-10-17T23:03:45.000Z (2 months ago)
- Last Synced: 2024-10-20T10:15:00.517Z (2 months ago)
- Topics: bun, nus, panopto, scraper
- Language: TypeScript
- Homepage: https://github.com/winstxnhdw/panopto-captions-scraper/releases/download/latest/PanoptoScraper
- Size: 196 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# panopto-captions-scraper
[![main.yml](https://github.com/winstxnhdw/panopto-captions-scraper/actions/workflows/main.yml/badge.svg)](https://github.com/winstxnhdw/panopto-captions-scraper/actions/workflows/main.yml)
[![release.yml](https://github.com/winstxnhdw/panopto-captions-scraper/actions/workflows/release.yml/badge.svg)](https://github.com/winstxnhdw/panopto-captions-scraper/actions/workflows/release.yml)
[![formatter.yml](https://github.com/winstxnhdw/panopto-captions-scraper/actions/workflows/formatter.yml/badge.svg)](https://github.com/winstxnhdw/panopto-captions-scraper/actions/workflows/formatter.yml)`panopto-captions-scraper` is an API-only web scraper for retrieving captions from a Panopto folder. It is used to populate [Examplify's](https://github.com/winstxnhdw/Examplify) vector database for essential educational content. All video captions are scraped within the folder (non-recursively) in an ordered manner.
## Usage
Download `PanoptoScraper` from the [releases](https://github.com/winstxnhdw/panopto-captions-scraper/releases/tag/latest) page and set the `COOKIE` environment variable to your NUS-authorised Panopto cookie. Minimally, the only cookie required is `.ASPXAUTH`.
```bash
export COOKIE='.ASPXAUTH=CE423DEAF34ASDASD234NSLKNKJABSD234'
```Run the scraper and the program will prompt you for the Panopto folder URL.
```bash
./PanoptoScraper
```## Development
Add your NUS-authorised Panopto cookie to the `.env` file.
```bash
echo COOKIE=$COOKIE > .env
```Install the dependencies.
```bash
bun install
```Run the application.
```bash
bun dev
```