Is there any method to urlretrieve to a file the html source from a url with "Transfer-encoding": chunked

7stud bbxx789_05ss at yahoo.com
Mon Feb 25 22:31:43 CET 2008


On Feb 25, 8:25 am, Aldo Ceccarelli <ceccarelli.a... at gmail.com> wrote:
> Thank you All for your suggestions:
>
> I could finally assess that
>
> besides partial read from chunked url - by-passed thanks to a socket
> approach:
>
> f.i. this was good for me:http://python.about.com/od/networkingwithpython/ss/beg_web_client_9.htm
>
> I have still two kind of problems that quit this post's aims (original
> url is redirected and has password protections too, I will go for
> these now)
>
> Again SUPER thanks to You All:-) Aldo

Don't use that code--it's merely a bare bones example.  Post the url
that is giving you problems.



More information about the Python-list mailing list