---
name: "tv_grab_ch_search"
section: "1p"
platform: "linux"
package: "xmltv-util"
version: "1.4.0-1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/tv_grab_ch_search"
---

# tv\_grab\_ch\_search(1p)

Grab TV listings for Switzerland (from tv.search.ch webpage).

## NAME

tv\_grab\_ch\_search - Grab TV listings for Switzerland (from tv.search.ch webpage).

## SYNOPSIS

tv\_grab\_ch\_search --help

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

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

tv\_grab\_ch\_search --list-channels

tv\_grab\_ch\_search --capabilities

tv\_grab\_ch\_search --version

## DESCRIPTION

Output TV listings for several channels available in Switzerland and (partly) central Europe. The data comes from tv.search.ch. The grabber relies on parsing HTML so it might stop working at any time.

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

**--configure** Ask for each available channel whether to download and write the configuration file.

**--config-file FILE** Set the name of the configuration file, the default is **~/.xmltv/tv\_grab\_ch\_search.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 fourteen.

**--offset N** Start N days in the future.  The default is to start from now on (= zero).

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

**--list-channels** Write output giving \<channel\> elements for every channel available (ignoring the config file), but no programmes.

**--capabilities** Show which capabilities the grabber supports. For more information, see \<http://wiki.xmltv.org/index.php/XmltvCapabilities\>

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

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

## SEE ALSO

**xmltv**(5).

## AUTHORS

Daniel Bittel \<betlit@gmx.net\>. Inspired by tv\_grab\_ch by Stefan Siegl. Patric Mueller \<bhaak@gmx.net\>. Markus Keller \<markus.kell.r@gmail.com\>.

## BUGS

If you happen to find a bug, you're requested to send a mail to one of the XMLTV mailing lists, see webpages at http://sourceforge.net/projects/xmltv/.
