TV_EXTRACTINFO_AR(1p)
π NAME π
tv_extractinfo_ar β okay so bestie, this one reads Spanish (Argentinean) language listings and pulls the info out of programme descriptions. That's it, that's the job. π
πΈ SYNOPSIS πΈ
tv_extractinfo_ar [--help] [--output FILE] [FILE...]
β¨ DESCRIPTION β¨
So what it does is: it reads XMLTV data and tries to extract information out of Spanish-language programme descriptions and turn it into machine-readable form. Like, the way that a human-readable bit of text like (Repeticion) sitting in a programme description might get swapped out for the XML element <previously-shown>. Iconic behaviour, honestly. π
--output FILEβ write to FILE instead of standard output. slay.
This tool also tries to split multipart programmes into their separate parts, by hunting for a description that seems to contain a whole bunch of times and titles. But heads up β that only works if the description follows one particular style, so it's useful for only some listings sources (Ananova). Not universal, bestie, don't @ me. π
And if some text is marked with the lang attribute as being any language other than Spanish (es)? It gets ignored. bye. π
π₯ SEE ALSO π₯
xmltv(5).
π AUTHOR π
Mariano Cosentino, Mok@marianok.com.ar
π BUGS π
Trying to parse human-readable text is always error-prone β and it's even more so with the simple regexp-based approach used here. no cap.
But because TV listing descriptions usually conform to one of a few set styles, tv_extractinfo_en does reasonably well. It's fairly conservative, trying to avoid false positives (aka extracting "information" which isn't really there) even though this means some false negatives (aka failing to extract information and leaving it in the human-readable text). It's giving "I'd rather miss it than make it up" energy and honestly? Respect. π«Ά
However β and this is the part where you go π β the leftover bits of text after extracting information may not form a meaningful Spanish sentence, or the punctuation may be wrong.
On the two listings sources currently supported by the XMLTV package, this program does a reasonably good job. But it has not been tested with every source of anglophone TV listings.
This Spanish Version is heavily customized for the XML results from tv_grab_ar (developed by Christian A. Rodriguez and postriorily updated by Mariano S. Cosentino).
This file should probably be called tv_extractinfo_es, but I have not tested it with any other spanish grabbers, so I don't want to be presumptious. π
and that's the whole page, bestie!! π this one's from perl v5.40.1, dated 2025-04-19 β go forth and extract those programme descriptions, you absolute main character π¦π
π¦ where this page comes from
- debian trixie: xmltv-util 1.4.0-1 Β· GPL-2.0-only
- ubuntu resolute: xmltv-util 1.4.0-1 Β· GPL-2.0-only
- ubuntu stonking: xmltv-util 1.4.0-1 Β· GPL-2.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms