How to use URLREAD or WEB

5 views (last 30 days)
Reuben
Reuben on 8 Mar 2014
Answered: Image Analyst on 8 Mar 2014
I want to design a program where it utilizes the web browser (or maybe it doesn't have to do that even)...and searches a search box on a page to search up cards.
A list of card names are put in a database and each one are searched at a time. After you search it, the website usually displays the current market value of the card. I want to collect this price value into matlab.
I want to collect that information when I run the program. Then I will display which cards currently have the max value on the market so i can sell them
I know or URLRead, but how do i make it use a search box and capture the specific price display. When i tried urlread, it displayed information that looked scary to sort through.
Anyone know how to go about this? Using "Web" maybe?

Answers (1)

Image Analyst
Image Analyst on 8 Mar 2014
Can you look at the search URL? Often when you search for something it sends out the search terms after a question mark, like this google search: https://www.google.com/#q=matlab+urlread
So can you just use the URL where you use sprintf() to create the URL with your search terms already in there?

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!