Solved

how to get dynamic values from a webpage using SHell Script command

Posted on 2014-10-22
4
218 Views
Last Modified: 2015-01-02
Hi,

I have a webpage as shown below:

http://www.tcmb.gov.tr/wps/wcm/connect/tcmb+en/tcmb+en/main+menu/statistics/exchange+rates/indicative+exchange+rates

when you open this page, there we enter the particular date say, 10-Oct-2014 and clicked VIEW button, it will display the values in another page, which i want to extract.

I would need that output of the page, to be extracted in a html page..

Any ideas appreciated..

Thanks
Aman
0
Comment
Question by:amankhan2005
4 Comments
 
LVL 53

Accepted Solution

by:
COBOLdinosaur earned 500 total points
ID: 40418187
It appears that the page you are linking to with the VIEW button is not from the same domain; therefore any attempt to access and manipulate the contents of that page with scripting will be defeated by the built in security of modern browsers which explicitly bar cross-domain scripting.

You will need to either develop an API or do the data interchange from the server side (which may also cause security alerts).

Cd&
0
 
LVL 15

Expert Comment

by:Insoftservice
ID: 40418200
I hope its govt website and fetching data would lead to some legal issue
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
IE 11 + long running scripts 3 32
Objects on Same Line 2 18
Accurate Analytics (Not Google) 2 18
Wordpress "chart" plugin recommendation 7 18
Learn by example how to specify CSS selectors for Selenium WebDriver test automation software.
Password hashing is better than message digests or encryption, and you should be using it instead of message digests or encryption.  Find out why and how in this article, which supplements the original article on PHP Client Registration, Login, Logo…
This tutorial walks through the best practices in adding a local business to Google Maps including how to properly search for duplicates, marker placement, and inputing business details. Login to your Google Account, then search for "Google Mapmaker…
The is a quite short video tutorial. In this video, I'm going to show you how to create self-host WordPress blog with free hosting service.

861 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

25 Experts available now in Live!

Get 1:1 Help Now