Anonymous user
Yahoo! search interface: Difference between revisions
m
Fixed lang tags.
No edit summary |
m (Fixed lang tags.) |
||
Line 5:
=={{header|AutoHotkey}}==
translated from python example
<lang AutoHotkey>test:
yahooSearch("test", 1)
yahooSearch("test", 2)
Line 36 ⟶ 35:
url := regexreplace(url, "<.*?>")
return url
}</lang>▼
▲</lang>
=={{header|C sharp|C#}}==
Line 247 ⟶ 244:
Rather than using regexes to find the content (like some of the other solutions here) this method parses the HMTL and finds the appropriate sections.
<lang R>YahooSearch <- function(query, page=1, .opts=list(), ignoreMarkUpErrors=TRUE)▼
▲YahooSearch <- function(query, page=1, .opts=list(), ignoreMarkUpErrors=TRUE)
{
if(!require(RCurl) || !require(XML))
Line 337 ⟶ 333:
#Usage
YahooSearch("rosetta code")
nextpage()</lang>
=={{header|Ruby}}==
|