Input search string then record search result from a website

2 次查看(过去 30 天)
Hello all,
I tried urlfilter, websave, webread, webwrite
I have to search in a website by entering a search string in the website's search box. Once the search is done I have to record the number. I can open the website but how do I enter/type/input my search sequence and then record the result
Steps:
1 - Open webpage.
2 - Enter in the search box the string sequence.
3 - Generate the results (manually this means I have to click search button)
4 - Record the numerical result.
I do no think I can do steps 1 and 2 simultaneously. It is not like searching "Matlab AND hello" in google where in one string I do steps 1 and 2
url='https://www.google.com/search?q=matlab+and+hello'
web(url,'-browser')
Thank you

回答(0 个)

Community Treasure Hunt

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

Start Hunting!

Translated by