Metadata-Version: 2.1
Name: nrkdl
Version: 1.0.4
Summary: Download movies/tv-shows from nrk.no
Home-page: UNKNOWN
Author: jenlys
License: UNKNOWN
Project-URL: Source, https://github.com/jenslys/nrkdl/
Project-URL: Tracker, https://github.com/jenslys/nrkdl/issues
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.6
Description-Content-Type: text/markdown

# nrkdl

<a href="https://github.com/jenslys/nrkdl/releases/"><img src="https://img.shields.io/github/v/release/jenslys/nrkdl.svg" alt="Releases"></a>

Download shows and movies from tv.nrk.no

**Disclaimer:** This is for educational purposes ONLY. Use at your own risk.

## Installation

```bash
pip install nrkdl
```

#### System requirements

- python3
- ffmpeg

## Usage

```
usage: nrkdl.py [-h] --url URL [--write-subs] [--keep-subs] [--audio-only] [--write-metadata]

optional arguments:
  -h, --help        Show this help message and exit
  --url URL         URL for the Movie/TV-show (e.g: https://tv.nrk.no/program/KOID75006720)
  --write-subs      Download and embed subtitles to file
  --keep-subs       Prevent the subtitle files from being deleted after being embeded
  --audio-only      Only extract audio files
  --write-metadata  Write metadata to file
```

### Example usage

#### Download an entire tv-show with subtitles:

```bash
nrkdl --url https://tv.nrk.no/serie/exit --write-subs
```

#### Download a single tv-show episode:

```bash
nrkdl --url https://tv.nrk.no/serie/exit/sesong/2/episode/6/
```

#### Download a movie:

```bash
nrkdl --url https://tv.nrk.no/program/MSUI31006017
```


