Changeset 1065
- Timestamp:
- 06/14/08 18:09:05 (5 years ago)
- Location:
- trunk
- Files:
-
- 2 modified
-
grabbers/sbsnews_website (modified) (2 diffs)
-
status (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/grabbers/sbsnews_website
r1046 r1065 15 15 16 16 my $progname = "sbsnews_website"; 17 my $version = "0.2 1";17 my $version = "0.22"; 18 18 19 19 use XMLTV; … … 143 143 my $file = "WNC-Schedule.html"; 144 144 145 my $data; 146 print "Old webpage no longer exists. Retrieving cache if available. Need new parser.\n"; 145 147 # 7 days in one URL: http://www.sbs.com.au/whatson/WNC-Schedule.html 146 my $data = &Shepherd::Common::get_url( url => "http://www.sbs.com.au/whatson/WNC-Schedule.html",147 stats => \%stats,148 retries => 4,149 debug => $opt->{debug} ? 3 : 1,150 retry_delay => 120,151 # the website doesn't support 'If-Modified-Since' headers but we can live in hope152 mirror => $file);153 154 $data = &Shepherd::Common::get_mirror_file($file, 56) if (!$data);148 # my $data = &Shepherd::Common::get_url( url => "http://www.sbs.com.au/whatson/WNC-Schedule.html", 149 # stats => \%stats, 150 # retries => 4, 151 # debug => $opt->{debug} ? 3 : 1, 152 # retry_delay => 120, 153 # # the website doesn't support 'If-Modified-Since' headers but we can live in hope 154 # mirror => $file); 155 156 $data = &Shepherd::Common::get_mirror_file($file, 84) if (!$data); 155 157 156 158 exit 22 unless ($data); -
trunk/status
r1064 r1065 6 6 grabber rex 3.6.8 7 7 grabber abc_website 3.21 8 grabber sbsnews_website 0.2 18 grabber sbsnews_website 0.22 9 9 grabber oztivo 2.18 10 10 grabber yahoo7web 0.34
