xmltv/grab/nl tv_grab_nl,1.81,1.82
Geoff <[email protected]> Sat, 27 Jun 2015 17:26:44 +0000
| Newsgroups | gmane.comp.tv.xmltv.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/xmltv/xmltv/grab/nl
In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv25119
Modified Files:
tv_grab_nl
Log Message:
(major) partially fix broken 'detail' pages
Index: tv_grab_nl
===================================================================
RCS file: /cvsroot/xmltv/xmltv/grab/nl/tv_grab_nl,v
retrieving revision 1.81
retrieving revision 1.82
diff -C2 -d -r1.81 -r1.82
*** tv_grab_nl 20 Jun 2015 09:59:08 -0000 1.81
--- tv_grab_nl 27 Jun 2015 17:26:41 -0000 1.82
***************
*** 699,703 ****
#
# page is "charset=iso-8859-1" but sometimes contains UTF-8 !
! $t = get_nice_tree($url);
if ($@) {
warn "error getting/parsing $url: $@";
--- 699,707 ----
#
# page is "charset=iso-8859-1" but sometimes contains UTF-8 !
! #
! # website has changed 2015-06-23 - now requires a session cookie for opt-in to storing cookies. Adding the GET param fixes most of the
! # detail pages but doesn't fix the 302 redirects. Creating a cookiejar (with or without a preset 'cookieoptin' cookie) doesn't fix this which is odd.
! # So we still end up with a few WARN messages for 'did not see 'prog-content' element' when the details page is 302'd to a different URI.
! $t = get_nice_tree($url . '?cookieoptin=true');
if ($@) {
warn "error getting/parsing $url: $@";
------------------------------------------------------------------------------
Monitor 25 network devices or servers for free with OpManager!
OpManager is web-based network management software that monitors
network devices and physical & virtual servers, alerts via email & sms
for fault. Monitor 25 devices for free with no restriction. Download now
http://ad.doubleclick.net/ddm/clk/292181274;119417398;o