Message Boards Message Boards

Supplying Login Details to a Web Site

Posted 10 years ago

I want to automate a process I do daily which involves logging into a web site, screen scraping a specific page, then formatting and exporting the data to Excel.

I have found examples for most of what I want to achieve with Mathematica, but am uncertain how I can post back my user name and password to the web site in question.

Any suggestions or examples?

Thanks in advance

POSTED BY: Brad Varey

How to do this depends on the website and how they implement their username and password login.

In many cases you can use URLFetch, which is a lot like wget in linux.

For an example of how this, see:

http://mathematica.stackexchange.com/questions/30237/how-can-i-log-in-to-my-wikipedia-account-and-access-my-watch-list/30259#30259

There are likely other examples of URLFetch being used. I would also look up examples with wget which will have many more examples online.

POSTED BY: Sean Clarke
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract