Solved

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

Posted on 2014-10-22
4
227 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

How our DevOps Teams Maximize Uptime

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us. Read the use case whitepaper.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Convert .csv to tab delimited text 11 36
Shell script issue 4 38
On Load function does not trigger on iPhone 4 37
Non-Resizable Pharagraph 2 8
Boost your ability to deliver ambitious and competitive web apps by choosing the right JavaScript framework to best suit your project’s needs.
Get to know the ins and outs of building a web-based ERP system for your enterprise. Development timeline, technology, and costs outlined.
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
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.

828 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