[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ale] Bash/Python Question



On Tue, Mar 16, 2010 at 22:49, Brian Pitts <brian at polibyte.com> wrote:
>
> I'm curious Jim, why wget instead of urllib2?

Two reasons.  -c (continue) and the need to get the real filename
*after* the download (scraping stdout) as some feeds (ONN) have a
default name for their download URL that is redirected to an actual
file located elsewhere.

It's not a perfect solution; it's a working solution, with room for
improvement  :-)

-Jim P.