Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RFE: sync videos from access.redhat.com #76

Open
jim-minter opened this issue Jan 6, 2014 · 1 comment
Open

RFE: sync videos from access.redhat.com #76

jim-minter opened this issue Jan 6, 2014 · 1 comment

Comments

@jim-minter
Copy link
Contributor

add videos found on access.r.c (such as https://access.redhat.com/site/videos/647843) List available on page https://access.redhat.com/search/browse/videos/#?

@jfenal-zz
Copy link

The nearly raw list can be found here: https://access.redhat.com/search/nodynamic/videos/

And using the node id in each URL, it is possible to get the video directly using
http://access.redhat.com/site/node/${nodeid}/video/${videonumber}
Where

  • $nodeid is the nodeid
  • $videonumber is an integer between 0 & 4

Each page pointed from https://access.redhat.com/search/nodynamic/videos/ has pointers to the video, such as:

<source src="/site/node/445363/video/0" type="video/mp4" />
<source src="/site/node/445363/video/1" type="video/ogg" />
<source src="/site/node/445363/video/3" type="video/mp4" data-quality="hd" />
<source src="/site/node/445363/video/4" type="video/ogg" data-quality="hd" />

So either get blindly the video/${videonumber} links and follow redirects to get the actual videos, either get first the description page, and after get the videos we want (maybe not the HD ones).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants