Skip to content

Commit

Permalink
Finished CBS Sports integration
Browse files Browse the repository at this point in the history
  • Loading branch information
Your Name committed Oct 12, 2024
1 parent 5e7c9fc commit 98301fe
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion services/cbs-handler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -386,14 +386,16 @@ class CBSHandler {
const dma = await this.getDMACode();
const token = this.generateTimedToken();

const network = event.feed === 'CBSSN' ? 'CBS_SPORTS_NETWORK' : 'CBS_ENTERTAINMENT';

const url = [
'https://',
'www.cbssports.com',
'/api/content',
'/video/syncbak/get-secure-url',
'/1b3c727ca1164a19851a102ea650e49d/',
token,
'/CBS_SPORTS_NETWORK/',
`/${network}/`,
this.mvpd_id,
'/8/',
dma,
Expand Down

0 comments on commit 98301fe

Please sign in to comment.