mirror of
https://github.com/iptv-org/epg
synced 2026-05-12 04:14:58 -04:00
10 lines
280 B
TypeScript
10 lines
280 B
TypeScript
import * as epgGrabber from 'epg-grabber'
|
|
import { SITES_DIR } from '../constants'
|
|
import path from 'node:path'
|
|
|
|
export class Channel extends epgGrabber.Channel {
|
|
getConfigPath(): string {
|
|
return path.resolve(SITES_DIR, `${this.site}/${this.site}.config.js`)
|
|
}
|
|
}
|