Changeset 47

Show
Ignore:
Timestamp:
10/08/06 21:00:32 (7 years ago)
Author:
lincoln
Message:

get rid of d1 timezone cruft

Files:
2 modified

Legend:

Unmodified
Added
Removed
  • grabbers/d1

    r43 r47  
    66=head1 NAME 
    77 
    8 tv_grab_au (0.6.2.1) - Grab TV listings for Australia. 
     8tv_grab_au (0.6.2.2) - Grab TV listings for Australia. 
    99 
    1010=head1 SYNOPSIS 
     
    117117use XMLTV::Usage <<END 
    118118 
    119 $0 (0.6.2.1): grab Australian television listings in XMLTV format 
     119$0 (0.6.2.2): grab Australian television listings in XMLTV format 
    120120To configure: $0 --configure [--config-file FILE] 
    121121To grab listings: $0 [--config-file FILE] [--output FILE] [--days N] 
     
    179179 
    180180# set user-agent manually 
    181 $XMLTV::Get_nice::ua->agent("tv_grab_au/0.6.2"); 
     181$XMLTV::Get_nice::ua->agent("tv_grab_au/0.6.2.2"); 
    182182 
    183183my ($opt_days, $opt_offset, $opt_help, $opt_output, 
     
    243243my $proc_time = ParseDate('now'); 
    244244 
    245 print "d1 v0.6.2.1  tv_grab_au\n"; 
     245print "d1 v0.6.2.2  tv_grab_au\n"; 
    246246printf "d1 grabs tv guide data from Development 1 Australia (www.d1.com.au).\n" if $opt_desc; 
    247247exit(0) if ($opt_version || $opt_desc); 
    248248 
    249 if (($opt_timezone) && ($opt_channels_file) && ($opt_region) && ($opt_output)) { 
     249if (($opt_channels_file) && ($opt_region) && ($opt_output)) { 
    250250  # called from shepherd! 
    251   print STDERR "\td1 tv_grab_au - (version 0.6.2.1) - called from shepherd!\n\n"; 
    252  
    253   $BASE_TZ = "+".$opt_timezone; 
    254   Date_Init("TZ=$BASE_TZ"); 
     251  if ($opt_timezone) { 
     252        $BASE_TZ = "+".$opt_timezone; 
     253        Date_Init("TZ=$BASE_TZ"); 
     254  } 
    255255 
    256256  # based on $opt_region set 'region' appropriately 
  • status

    r45 r47  
    66yahoo7widget:1.53:grabber 
    77jrobbo:0.01:grabber 
    8 d1:0.6.2.1:grabber 
     8d1:0.6.2.2:grabber