xmltv/grab/huro tv_grab_huro.in,1.52,1.53
Geoff <[email protected]>
| Newsgroups | gmane.comp.tv.xmltv.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/xmltv/xmltv/grab/huro
In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv924
Modified Files:
tv_grab_huro.in
Log Message:
fix after source sites changed url
Index: tv_grab_huro.in
===================================================================
RCS file: /cvsroot/xmltv/xmltv/grab/huro/tv_grab_huro.in,v
retrieving revision 1.52
retrieving revision 1.53
diff -C2 -d -r1.52 -r1.53
*** tv_grab_huro.in 20 Oct 2014 21:47:04 -0000 1.52
--- tv_grab_huro.in 25 Nov 2014 09:39:30 -0000 1.53
***************
*** 313,317 ****
my $basedateday = UnixDate(parse_date($basedate), '%e');
my $urlfmt = "http://www." . domain() .
! "/pls/w/oldtv.channel?i_ch=$ch_port_id" .
"&i_date=%d&i_xday=".$days_to_request."&i_where=1";
my $url = "$urlfmt";
--- 313,317 ----
my $basedateday = UnixDate(parse_date($basedate), '%e');
my $urlfmt = "http://www." . domain() .
! "/pls/tv/".($COUNTRY eq 'hu' ? 'old' : '')."tv.channel?i_ch=$ch_port_id" .
"&i_date=%d&i_xday=".$days_to_request."&i_where=1";
my $url = "$urlfmt";
***************
*** 795,799 ****
my $bar = new XMLTV::ProgressBar('getting list of channels', 1)
if not $opt_quiet;
! my $url="http://www.$d/pls/w/oldtv.prog";
worker("base-downloading");
--- 795,799 ----
my $bar = new XMLTV::ProgressBar('getting list of channels', 1)
if not $opt_quiet;
! my $url="http://www.$d/pls/tv/".($COUNTRY eq 'hu' ? 'old' : '')."tv.prog";
worker("base-downloading");
***************
*** 1380,1384 ****
# image url not valid, so we must get it from the programmes page. Ideally we would do that during the main grab but this is a Q&D fix
# and I don't want to change too much of this code
! my $url = "http://www." . domain() . "/pls/w/oldtv.channel?i_ch=".$channelid."&i_date=".UnixDate('today','%Y-%m-%d')."&i_where=1";
my $data=get_nice($url);
--- 1380,1384 ----
# image url not valid, so we must get it from the programmes page. Ideally we would do that during the main grab but this is a Q&D fix
# and I don't want to change too much of this code
! my $url = "http://www." . domain() . "/pls/w/".($COUNTRY eq 'hu' ? 'old' : '')."tv.channel?i_ch=".$channelid."&i_date=".UnixDate('today','%Y-%m-%d')."&i_where=1";
my $data=get_nice($url);
***************
*** 1470,1474 ****
# two sprintf parameters: first: channel_id,, second how many days grabbed
my $churlfmt = "http://www." . domain() .
! "/pls/w/oldtv.channel?i_ch=%d&" .
"i_days=1&i_xday=%d&i_where=1";
--- 1470,1474 ----
# two sprintf parameters: first: channel_id,, second how many days grabbed
my $churlfmt = "http://www." . domain() .
! "/pls/tv/".($COUNTRY eq 'hu' ? 'old' : '')."tv.channel?i_ch=%d&" .
"i_days=1&i_xday=%d&i_where=1";
------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk