I have following task:
1. login to yahoo
2. after successful login go to finance.yahoo.com
3. parse some information e.g. stock quote
4. I want to repeat operation each 5 minutes to get the same , refreshed page, so do I have to re-establish connection or reuse existing one with refresh mechanizm ?
I was able to finish 1. connect but result looks like this:
<meta http-equiv="Refresh" content="0; url=http://finance.yahoo.com
If you are seeing this page, your browser settings prevent you
from automatically redirecting to a new URL.
Please <a href="http://finance.yahoo.com
">click here</a> to continue.
so it looks, after login i am not redirecting but in my code
I am using HttpsURLConnection.setFoll
so It shoud work. My guess is , that javscript is not executed.
thanks in advance for any help