Grab tv listings for hungary or romania.
tv_grab_huro --help
tv_grab_huro [--config-file \s-1FILE\s0] --configure [--gui \s-1GUITYPE\s0]
tv_grab_huro [--config-file \s-1FILE\s0] [--output \s-1FILE\s0] [--days N] [--offset N] [--slow] [--get-full-description] [--max-desc-length \s-1LENGTH\s0] [--icons | (--local-icons \s-1DIRECTORY\s0 [--no-fetch-icons])] [--gui \s-1GUITYPE\s0] [--quiet]
tv_grab_huro --list-channels --loc [hu | ro] [--icons | (--local-icons \s-1DIRECTORY\s0 [--no-fetch-icons])]
tv_grab_huro --capabilities
tv_grab_huro --version
Output \s-1TV\s0 listings for several channels available in Hungary or Romania. The grabber relies on parsing \s-1HTML\s0 so it might stop working at any time.
First run tv_grab_huro --configure to choose, which channels you want to download. Then running tv_grab_huro with no arguments will output listings in \s-1XML\s0 format to standard output.
--configure Prompt for which channels, and write the configuration file.
--config-file \s-1FILE\s0 Set the name of the configuration file, the default is ~/.xmltv/tv_grab_huro.conf. This is the file written by --configure and read when grabbing.
--gui \s-1GUITYPE\s0 Use this option to enable a graphical interface to be used. \s-1OPTION\s0 may be 'Tk', or left blank for the best available choice. Additional allowed values of \s-1OPTION\s0 are 'Term' for normal terminal output (default) and 'TermNoProgressBar' to disable the use of Term::ProgressBar.
--output \s-1FILE\s0 Write to \s-1FILE\s0 rather than standard output.
--days N Grab N days. The default is eight.
--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.
--slow Enables long strategy run: port.hu publishes only some (vital) information on the actual listing pages, the rest is shown in a separate popup window. If you'd like to parse the data from these popups as well, supply this flag. But consider that the grab process takes much longer when doing so, since many more web pages have to be retrieved.
--get-full-description This is quite like --slow but doesn't always download data from popup window. Instead this is only requested if description in overview is truncated.
--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.
--icons and --local-icons \s-1DIRECTORY\s0 get the \s-1URL\s0 for channel-logos together with the channel-list. With --icons specified the logos(images) will be not fetched just their \s-1URL\s0 (http://...) will be written in the output \s-1XML\s0. If called with --local-icons, the generated \s-1URL\s0 (file://...) will point to the the local directory \s-1DIRECTORY\s0 and all channel logos will be grabbed and saved under this place. Use --no-fetch-icons option to disable the icon fetching. Note: icon fetching currently works for Hungary and Romania only.
--max-desc-length \s-1LENGTH\s0 can be used to maximize the lenght of the grabbed program long description. This can be usefull if you have a viewer program (using this xmltv output), which can not be display userfriendly the description if it is more then \s-1LENGTH\s0 character.
--help Print a help message and exit.
xmltv\|(5).
Attila Szekeres and Zsolt Varga. Based on tv_grab_fi by Matti Airas. Heavily patched and earlier maintained by Stefan siegl <[email protected]>, reworked and now maintained by Balazs Molnar <[email protected]>.
The data source does not include full channels information and the channels are identified by short names rather than the \s-1RFC2838\s0 form recommended by the \s-1XMLTV\s0 \s-1DTD\s0.