I want to use this function in my program "getElementsByT agName()" in my program but it returns a nodeList. how can I extract the value of the nodes?
how can I work with a node list?
User Profile
Collapse
-
ectract the content of <div class="abstr">
Hi every one.
I want to exteact the content of between tags "div" but those tags that are writen <div class="abstr"> ..... </div>
how can I do this? -
extracting Html tags usin HTMLUNIt
Do you know how should extract Html tags in using with HTML Unit? -
extract URLs using HtmlUnit
I want to extract URLs and Titles of them from a page results. I could extract URLs using with gethrefAttribut e() in htmluni library but I don't know how extract the titles of them?
could you help me? -
what's the diffrences between array and hash table?and why hashtable is better than array?... -
dynamic array of string
Hi. I want to store URLs and Title of every URLs in a String array. I don't know how many URLs are found. I must to use dynamic array of strings but I don't know how sholud allocate? could you help me? -
I use html unit and this is my code that extract URLs:
*************** *******
...Code:List anchors = page.getAnchors(); for (Iterator iter = anchors.iterator(); iter.hasNext();){ HtmlAnchor anchor = (HtmlAnchor) iter.next(); // anchor.getAttribute("title"); if (isSkipLink(anchor)) { continue; } private static boolean isSkiptitle(HtmlAnchor anchor) { returnLeave a comment:
-
Extract Descriptions
Hello
I want to Extract URLs and descriptions of them from a search result. I use Jericho library and I can extract URLs but I don't know how could I extract descriptions of them.
please help me.
thanks. -
I find a sample code that extract links from an html page. now how can I save html source of search results?Leave a comment:
-
-
-
Extract URLs from search engine results
I want to write a program in java that it can parse search engine results and save URLs and titles in a file, but I don't know how can I do this?
No activity results to display
Show More
Leave a comment: