-2

I'm currently working on a python script and I am stuck.

My script should go on a webpage, upload a file from the computer, fill a form, start an action (BLAST) and then wait since the action can be long. (sometimes one hour). After all this go on a link in the page and download one of the results (Hit table).

I currently just found how to open a webpage from my script but can't find something that would let me "navigate" on the page.

Axel Uran
  • 5
  • 2
  • Why don't you just use the API? http://ncbi.github.io/blast-cloud/dev/api.html – djangoat Jul 29 '15 at 09:43
  • The output is not the one we seek. And the idea would be that anyone can use it without installing anything thus the script should go on the website and fetch all the info – Axel Uran Jul 29 '15 at 09:51

2 Answers2

0

To simply navigate on a website and simulate user-interaction, you could use Selenium with Python:

References:

Community
  • 1
  • 1
bufh
  • 3,153
  • 31
  • 36
0

You could try Mechanize which allows you to simulate a browser in your script.

Mr. Nun.
  • 775
  • 11
  • 29