TV_EXTRACTINFO_AR(1)

πŸ“¦ version 1.4.0, in alpine 3.24

🌸 NAME 🌸

okay so tv_extractinfo_ar(1) β€” straight out of the User Contributed Perl Documentation section β€” is literally here to read Spanish (Argentinean) language listings and extract info from programme descriptions. That's the whole vibe: grab the useful bits, make them machine-readable. πŸ’…

✨ SYNOPSIS ✨

tv_extractinfo_ar [--help] [--output FILE] [FILE...]

That's the usage line exactly, bestie. FILE... stays exactly like that. πŸŽ€

🫢 DESCRIPTION 🫢

It reads XMLTV data and tries to extract information from Spanish-language programme descriptions, putting it into machine-readable form. Example: human-readable text like (Repeticion) in a programme description might get replaced by the XML element <previously-shown>. Iconic behavior. ✨

  • --output FILE β€” writes to FILE rather than standard output. πŸŽ€
  • --help β€” it's in the synopsis, bestie; this page doesn't give it a separate description, so I'm not inventing one. πŸ™ˆ

This tool also tries to split multipart programmes into their constituents by looking for a description that seems to contain lots of times and titles. But heads up: that depends on the description following one particular style and is useful only for some listings sources (Ananova). It's giving very specific vibes. πŸ¦‹

If some text is marked with the lang attribute as being some language other than Spanish ('es'), it is ignored. Periodt.

🌈 SEE ALSO 🌈

  • xmltv(5) β€” the reference right there in the original.

πŸ‘‘ AUTHOR πŸ‘‘

Mariano Cosentino, Mok@marianok.com.ar. Slay.

πŸ’€ 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. 😭 But because TV listing descriptions usually conform to one of a few set styles, tv_extractinfo_en does reasonably well. (Yes, this _ar page says tv_extractinfo_en right there β€” I'm keeping it exactly as it is; not me fixing it. πŸ™ˆ)

It is fairly conservative, trying to avoid false positives (extracting 'information' which isn't really there) even though this means some false negatives (failing to extract information and leaving it in the human-readable text). Highkey a tradeoff.

However, the leftover bits of text after extracting information may not form a meaningful Spanish sentence, or the punctuation may be wrong. So it's not always a clean edit. πŸ’…

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). Keep "postriorily" exactly β€” yes.

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. The original said "presumptious" and I'm not correcting it, bestie. 🫢


Okay that's the whole page, mwah πŸ’–. Cute sign-off: this was the tv_extractinfo_ar(1) page as brought to you by perl v5.42.2, dated 2025-06-30. Go off, icon. 🌟

πŸ“¦ where this page comes from