N00b's Programming Machine
    Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

    denmark-dr-streampublic

    denmark-dr-stream Build Status

    Creates a download stream from a dr.dk url

    Installation

    npm install denmark-dr-stream

    Documentation

    const drvideo = require('denmark-dr-stream');

    Given a programcard urn, this module will extract the manifest information, find the video source of the highest quality and then pipe that to the stream.

    The programcard urn can for example be found using the denmark-dr-programcard module.

    const fs = require('fs');
    const urn = 'urn:dr:mu:programcard:55f8aaa7a11f9f17c87b7254';
    drvideo(urn).pipe(fs.createWriteStream('./video.mp4'));

    install

    npm i denmark-dr-stream

    Downloadsweekly downloads

    3

    version

    2.0.2

    license

    MIT

    repository

    githubgithub

    last publish

    collaborators

    • avatar
    • avatar
    • avatar