Note that there are some explanatory texts on larger screens.

plurals
  1. POQuery on Web Data Scraping
    primarykey
    data
    text
    <p>I am trying to get all the data from <a href="http://www.nationwide.com/locator/home/index.x?lineOfBusiness=insurance_agent&amp;locatorhome=fromhome&amp;language=" rel="nofollow">http://www.nationwide.com/locator/home/index.x?lineOfBusiness=insurance_agent&amp;locatorhome=fromhome&amp;language=</a> every state listed there. Basically the name, address, email, etc.</p> <p>My problem is:</p> <ol> <li>There is no URL parameters for me to iterate through the states from the drop down.</li> </ol> <p>I am willing to iterate through the states manually but then is there any way I can just select on one div and copy content/text from all similar DIVs. I mean you can see there is a tag there inside which they have whole content. How do I extract the text from all occurrences of text inside the tag?</p> <p>I am not particular about any scripting language, Php, perl python or even a simple firefox addon... I just need the result. Any guidance please?</p> <hr> <p>My try using web harvest</p> <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt; &lt;config charset="ISO-8859-1"&gt; &lt;!-- sends post request with state name --&gt; &lt;http&gt; &lt;http method="post" url="http://www.nationwide.com/locator/home/index.x?lineOfBusiness=insurance_agent&amp;locatorhome=fromhome&amp;language="&gt; &lt;http-param name="state"&gt;AL&lt;/http-param&gt; &lt;http-param name="searchType"&gt;proximity_search&lt;/http-param&gt; &lt;http-param name="requestSource"&gt;home_NI&lt;/http-param&gt; &lt;http-param name="businessType"&gt;NI&lt;/http-param&gt; &lt;http-param name="language"&gt;en&lt;/http-param&gt; &lt;http-param name="UserAddressCookieAction"&gt;createUserAddressCookie&lt;/http-param&gt; &lt;/http&gt; &lt;!-- collects content inside address tag --&gt; &lt;/config&gt; </code></pre>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload