Jump to content
UBot Underground

Scraping Featured Listings From YP.com


Recommended Posts

Hey all,

 

I'm trying to scrape the featured listings from Yellow Pages, but I'm not exactly sure how to do it yet.

 

Here's a sample page...

 

http://www.yellowpages.com/st-louis/dentist?g=st+louis#

 

You'll notice that the featured listings are inside a <div> with an ID of "sponsored-listings"

 

However, if I select that, it'll scrape all the HTML inside it, which isn't what I want. I'd like to just scrape the URL that's inside the business name.

 

Is there a way to do this?

 

Thanks all!

Link to post
Share on other sites

Hopefully someone in here will have an idea. I gave up on sites like this because as soon as I mastered one layout they changed it and my bot would break.

Link to post
Share on other sites

Hey all,

 

I'm trying to scrape the featured listings from Yellow Pages, but I'm not exactly sure how to do it yet.

 

Here's a sample page...

 

http://www.yellowpages.com/st-louis/dentist?g=st+louis#

 

You'll notice that the featured listings are inside a <div> with an ID of "sponsored-listings"

 

However, if I select that, it'll scrape all the HTML inside it, which isn't what I want. I'd like to just scrape the URL that's inside the business name.

 

Is there a way to do this?

 

Thanks all!

 

Chris What sort of License do you have?

Link to post
Share on other sites

@Chris Ramsey

 

Did you manage to solve your problem??

 

 

I did some sample bots on that page a few nights ago.

Can you upload some screen shot show exactly what your trying to grab?

thnkx :)

 

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...