开发者

Getting the ajaxsearch link on the web page

开发者 https://www.devze.com 2023-03-10 10:56 出处:网络
On this site, mnemonicdictionary.com, on the centre part of the page, they show the meanings of the word queried in the search text box. I want to write a script which will fetch just the central part

On this site, mnemonicdictionary.com, on the centre part of the page, they show the meanings of the word queried in the search text box. I want to write a script which will fetch just the central part of this page ( as in just the meanings part) for a list of words. But I am not able to get the search url for that part of the page. Could someone could provide me that url so it would be like www.mnemonicdictionary.com/XXXX%s for that central part of the page where %s can be replaced by the word. I want to append them for all words to a single html file for offline viewing.

I know of this: 开发者_JS百科http://mnemonicdictionary.com/?word=hello But it still fetches the entire page. I just want the central part.

Earlier some days back, this used to work for me: www.mnemonicdictionary.com/include/ajaxSearch.php?word=%s

but this does not work any more. I dont know why.


Okay I got the url. I was just looking at the source. It is

www.mnemonicdictionary.com/includes/ajaxSearch.php?word=%s

0

精彩评论

暂无评论...
验证码 换一张
取 消