Re: tv_grab_pt takes many hours to complete
José Silva <[email protected]> Tue, 7 Jul 2015 14:08:26 +0100
| Newsgroups | gmane.comp.tv.xmltv.general |
|---|---|
| Message-ID | <[email protected]> |
Thank you for replying. On 07-07-2015 13:00, [email protected] wrote: > On Tue, 7 Jul 2015 11:33:33 +0100, José Silva wrote: >> >> Now, I just upgraded to xmltv 5.66, and tv_grab_pt v1.56 takes more than >> one hour for each day, although it grabs correctly. >> >> Is this normal? Else, can somebody help me? > > That doesn't surprise me. tv_grab_pt gets the programme's description from a call to a sub-page. Thus for *every* programme in the schedule it will require a separate http request (to an already sluggish website). If you can live without descriptions (or just as a test) you can try the '--fast' option to tv_grab_pt which will not do these supplementary requests. > You're right, the --fast option, although not lightning fast, is absolutely acceptable; it takes only a few minutes for one day of epg for more than 100 channels. But, on the other hand, descriptions are very desirable. I'll have to decide if I just leave it running through the night. > tv_grab_pt will never be as fast as tv_grab_pt_meo since the latter gets pre-digested data from an XML file (i.e. no sluggish web pages to deal with). I hope nos.pt change it one of these days. > You really shouldn't be getting 7 days worth of data every day. A better retrieval plan is "today + tomorrow + new day 7", then you are only getting 3 days worth. In my experience the schedule on the days in between rarely changes (YMMV). This is a good tip, thank you. > Cheers, > Geoff Rgds, jss ------------------------------------------------------------------------------ Don't Limit Your Business. Reach for the Cloud. GigeNET's Cloud Solutions provide you with the tools and support that you need to offload your IT needs and focus on growing your business. Configured For All Businesses. Start Your Cloud Today. https://www.gigenetcloud.com/