Solved

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

Posted on 2014-10-22
4
238 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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 DevOps Pipeline Leaking?

Is your CI/CD pipeline a hodge-podge of randomly connected tools? You’ve likely got a tool to fix one problem & then a different tool to fix another, resulting in a cluster of tools with overlapping functionality. Learn how to optimize your pipeline with Gartner's recommendations

Question has a verified solution.

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

This article was originally published on Monitis Blog, you can check it here . Today it’s fairly well known that high-performing websites and applications bring in more visitors, higher SEO, and ultimately more sales. By the same token, downtime…
CTAs encourage people to do something specific to show interest in your company, product or service. Keep reading to learn why CTAs should always be thought of as extremely important, albeit small, sections of websites.
The viewer will learn how to count occurrences of each item in an array.
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.

732 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