<div>
<div>Michael, first of all, your efforts on tv_grab_au are much appreciated.</div>
<div> </div>
<div>Secondly, I have a bug to report, but I also have a solution:</div>
<div> </div>
<div>The set_service routine doesn't reliably work to set the correct region for subsequent page calls, especially if using webwarper (which makes sense if you think about it.) I only found out because I'm not in Sydney which is the default... :) The solution is to append the region id to the page URLs:
</div>
<div> </div>
<div>338c336<br>< @pages = map { [ $_->as_text(), $TV . "?day=" . $_->attr('value') . "&region=" . $service->{regionid} ] }<br>---<br>> @pages = map { [ $_->as_text(), $TV . "?day=" . $_->attr('value') ] }
</div>
<div> </div>
<div> </div>
<div>(line numbers are slightly off because I changed other things...)</div>
<div> </div>
<div>It would also be nice if you allowed the default $output_dir (for cached.pl, etc.) to be specifiable in the conf file, since it defaults to '/' which is not ideal when running with a non-root user. </div>
<div> </div>
<div>But other than that, it works great for now! Thanks again!</div>
<div> </div>
<div>Andrew</div></div>