{"id":20744309,"url":"https://github.com/f0903/dr-downloader-cli","last_synced_at":"2025-07-13T23:08:33.891Z","repository":{"id":155200827,"uuid":"370160787","full_name":"F0903/dr-downloader-cli","owner":"F0903","description":"A convenient program for downloading media from DR-TV (Danish Broadcasting Corporation) and converting them to MP4.","archived":false,"fork":false,"pushed_at":"2023-10-27T21:46:48.000Z","size":25934,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-11T12:51:12.468Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/F0903.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-05-23T21:27:58.000Z","updated_at":"2021-12-23T16:28:21.000Z","dependencies_parsed_at":null,"dependency_job_id":"fbfaab08-9759-4a0a-9867-792aa66c9c95","html_url":"https://github.com/F0903/dr-downloader-cli","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/F0903/dr-downloader-cli","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/F0903%2Fdr-downloader-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/F0903%2Fdr-downloader-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/F0903%2Fdr-downloader-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/F0903%2Fdr-downloader-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/F0903","download_url":"https://codeload.github.com/F0903/dr-downloader-cli/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/F0903%2Fdr-downloader-cli/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265218752,"owners_count":23729528,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-17T07:15:00.012Z","updated_at":"2025-07-13T23:08:33.866Z","avatar_url":"https://github.com/F0903.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# dr-downloader-cli\n\n[![Rust](https://github.com/F0903/dr-downloader/actions/workflows/rust.yml/badge.svg?branch=master)](https://github.com/F0903/dr-downloader/actions/workflows/rust.yml)\n[![Crates.io](https://shields.io/crates/v/dr-downloader.svg)](https://crates.io/crates/dr-downloader)\n\nA command-line program that downloads media from DR-TV (Danish Broadcasting Corporation) in parallel, and converts them to MP4 files (or any other format you'd like).\nCan be used both interactively by launching it normally, or by launching the program with arguments from a terminal.\n\nRelease binaries are provided through the build actions, or the releases.\n\nTo use as a library, [use the dedicated library instead.](https://github.com/F0903/dr-downloader)\n\nNote:\nThis program will most likely only work in Denmark, as DR has restrictions on who can access their content.\nUse of this program assumes you have the right to download the relevant media.\n\n## Setup\n\n**To convert files, you must have FFmpeg installed!**\nEither add the FFmpeg root to PATH, or put the FFmpeg.exe in the downloader root folder.\n\n**Before downloading, you will need an authentication token as explained below.**\n\n- First, go to the DR-TV video player.\n- Press F12. This should open the developer window on the right of the page.\n- Go to the Network tab and press CTRL+R. This will reload the page. You should now see a lot of requests in the window.\n- Find the request whose name starts with \"account?ff=\"\n- Then scroll down on the right \"Headers\" section of the request, and find the header called \"X-Authorization\".\n- Copy the value of this header EXCEPT the \"Bearer\" part. Make sure the token has no spaces or newline characters.\n- Start the program, type \"token set \", paste your token, and press enter.\n\nYou should now be able to download any episode or show.\n\n## Commands\n\nSyntax: **command-name** _required-param_ _(optional-param)_\n\n**download** _url_ _(format)_ -\u003e Downloads media.  \n**token** get -\u003e Prints current token.  \n**token** set _token_ -\u003e Sets current token.  \n**clear** -\u003e Clears terminal.\n**version** -\u003e Prints version.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ff0903%2Fdr-downloader-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ff0903%2Fdr-downloader-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ff0903%2Fdr-downloader-cli/lists"}