Pdf download using mechanize

Aldo Ceccarelli ceccarelli.aldo at gmail.com
Tue Jul 6 12:06:01 EDT 2010


On 6 Lug, 16:00, srinivasan srinivas <sri_anna... at yahoo.co.in> wrote:
> HI,
> I am using mechanize module for web scraping projects. One of y tasks is to download pdf file from a page and store it.
> Is there a way to download pdf file using mechanize how we do it in Perl's WWW::Mechanize?
>
> Thanks,
> Srini

Hi, Srini:

unfortunately I have no direct experience of downloading PDF with
mechanize but I'd like to share this IBM article which gives some
mechanize snippet and hint (in case of any help to your research)
http://www.ibm.com/developerworks/linux/library/l-python-mechanize-beautiful-soup/index.html

kind regards,
Aldo



More information about the Python-list mailing list