jjrh / CBC_VIDEO

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CBC_VIDEO

CBC web player does not provide direct MP4 urls, however they can be queried directly from: http://feed.theplatform.com/f/h9dtGB/r3VD0FujBumK?%27+%22&form=json&range=1-100

This simply queries the URL (from the client browser) and parses the results.

Technology

Server

Client

Install

web client

While this doesn’t HAVE to be run from Node for development reasons it express was used. Other reason is to beable to deploy the code to Heroku.

Typical Node/express setup:

$ git clone git@github.com:jjrh/CBC_VIDEO.git
$ cd CBC_VIDEO
$ npm install
$ ./run_server.sh 3030

For the most part CDN’s have been used for libraries.

standalone application

Stand alone application could use some work and user will need to edit source to include shows. Currently setup for

  • Power and Politics
  • the nature of things
  • The National - Full Show
  • The Exchange with Amanda Lang
  • THE FIFTH ESTATE
$ git clone git@github.com:jjrh/CBC_VIDEO.git
$ cd CBC_VIDEO
$ npm install request
$ node get_videos.js

credits / references

Credit to this person who made tracking down the right URLs much easier.

And obviously credit to the CBC!

About

License:MIT License


Languages

Language:JavaScript 60.1%Language:HTML 39.6%Language:Shell 0.3%Language:CSS 0.0%