Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Re: Traversing directories to get the "most-recent" or "second-to-most-recent" directory contentsby sgifford (Prior) |
on Mar 13, 2007 at 05:04 UTC ( [id://604477]=note: print w/replies, xml ) | Need Help?? |
This looks pretty straightforward to me. You seem to have described a pretty good approach. You might want to look at HTML::Parser to parse the HTML, and Date::Parse to parse the dates.
The only part that sounds tricky is resuming the download. It looks like the HTTP 1.1 Range header should let you do what you want, if the server supports it. See RFC 2616 sec. 14.35 for the details.
In Section
Seekers of Perl Wisdom
|
|