Re: A new tv_grab_API
Hika van den Hoven <[email protected]> Sun, 16 Oct 2016 14:17:48 +0200
| Newsgroups | gmane.comp.tv.xmltv.devel |
|---|---|
| Message-ID | <[email protected]> |
Hoi Robert, Sunday, October 16, 2016, 9:27:40 AM, you wrote: > On 10/15/2016 6:24 PM, Hika van den Hoven wrote: >> I have mentioned before that since the start of this year I have been >> working on turning the dutch grabber tv_grab_nl.py into a generic API >> for creating a grabber. I have fully separated all grabber specific >> data from the code, making it for a maintainer not necessary to touch >> the code. > I'm a little confused on what you've created. Is this a python > equivalent to xmltv.pm? I do not know xmltv.pm, so I can not compare. It's a data driven API. You create the JSON data files telling it where and what to grab and it returns a nice xmltv file. DataTreeGrab imports any html or json page into a node tree and you tell the program how to crawl through that tree and at which points to extract data returning it in a uniform format to the main API. The main API merges the data from all the sources (11 at present for the Dutch grabber) and returns the xmltv file. This whole proces is manipulatable in a lot of ways by the maintainer and by the user. By the first through the JSON data files and by the user through many settable options. > I looked at some of your documentation and you talk about creating a > grabber without knowing > any python. I'm not sure how that works... are you talking about > grabbing data from any > source already providing XMLTV formatted data or is there some other > file format you're > grabbing and converting. > Be sure and add your project to the Wiki at XMLTV.ORG I'm planning to > Robert > ------------------------------------------------------------------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, SlashDot.org! http://sdm.link/slashdot > _______________________________________________ > xmltv-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/xmltv-devel Tot mails, Hika Alina Maria van den Hoven mailto:[email protected] "Zonder hoop kun je niet leven Zonder leven is er geen hoop Het eeuwige dilemma Zeker als je hoop moet vernietigen om te kunnen overleven!" De lerende Mens -- ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot