0

I want to automatically save a file from a website. I don't know how to bypass the Download File prompt in python and save it directly to my c: drive.

Any help is appreciated, Elliott

1

2 Answers 2

3

Modules like urllib2 and urlgrabber don't have a "Download File" prompt.

Sign up to request clarification or add additional context in comments.

Comments

0

One idea is to use a module like mechanize to automate the query and the download. Here you can find some documentation.

  • Usually when you post a question here at stackoverflow, it is a good idea to post an example at how you have tried to solve the problem, and then we will help you to improve it, rather than asking people to write the solution for you,
  • when you use mechanize, configure the UserAgent properly and respect the policy of the webmasters about scraping.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.