Solved

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

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

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
This article discusses how to create an extensible mechanism for linked drop downs.
The viewer will get a basic understanding of what section 508 compliance can entail, learn about skip navigation links, alt text, transcripts, and font size controls.
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

758 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

20 Experts available now in Live!

Get 1:1 Help Now