---
name: "tv_grab_dk"
section: "1p"
platform: "linux"
package: "xmltv-util"
version: "0.5.52-1"
release: "Debian 5.0 (Lenny)"
platforms: ["linux"]
url: "https://new.carta.tech/tv_grab_dk"
---

# tv\_grab\_dk(1p)

Grab TV listings for Denmark.

## NAME

tv\_grab\_dk - Grab TV listings for Denmark.

## SYNOPSIS

tv\_grab\_dk --help

tv\_grab\_dk \[--config-file FILE\] --configure \[--gui OPTION\]

tv\_grab\_dk \[--config-file FILE\] \[--output FILE\] \[--days N\]\
            \[--offset N\] \[--quiet\]

tv\_grab\_dk --capabilities

tv\_grab\_dk --version

## DESCRIPTION

Output TV listings for several channels available in Denmark.  The data comes from tv.tv2.dk. The grabber relies on parsing HTML so it might stop working at any time.

First run **tv\_grab\_dk --configure** to choose, which channels you want to download. Then running **tv\_grab\_dk** with no arguments will output listings in XML format to standard output.

**--configure** Prompt for which channels, and write the configuration file.

**--config-file FILE** Set the name of the configuration file, the default is **~/.xmltv/tv\_grab\_dk.conf**.  This is the file written by **--configure** and read when grabbing.

**--gui OPTION** Use this option to enable a graphical interface to be used. OPTION may be 'Tk', or left blank for the best available choice. Additional allowed values of OPTION are 'Term' for normal terminal output (default) and 'TermNoProgressBar' to disable the use of Term::ProgressBar.

**--output FILE** Write to FILE rather than standard output.

**--days N** Grab N days.  The default is one week.

**--offset N** Start N days in the future.  The default is to start from today.

**--quiet** Suppress the progress messages normally written to standard error.

**--capabilities** Show which capabilities the grabber supports. For more information, see \<http://membled.com/twiki/bin/view/Main/XmltvCapabilities\>

**--version** Show the version of the grabber.

**--help** Print a help message and exit.

## SEE ALSO

*xmltv*(5).

## AUTHOR

Jesper Skov (jskov@zoftcorp.dk). Originally based on tv\_grab\_nl by Guido Diepen and Ed Avis (ed@membled.com) and tv\_grab\_fi by Matti Airas. Additions by Jesper Toft (jesper@bzimage.dk)

## BUGS

Things in the programme descriptions to handle:

Vaert: Mikael Kamber.

Genudsendelse fra mandag. - convert to \<previously-shown\>?
