You have to login in order to post a reply to this topic.

4 replies [Last post]
baz
User offline. Last seen 37 weeks 5 days ago. Offline
Joined: 11/12/2009
Posts: 47

Hi Guys

I'm having a horrible time trying to parse google search results but can parse other web pages no problem. The parsers which the admins here made for me have stopped working.

Is this a bug or has google changed the way it presents it data? I've looked at the source in FF for google search results and it doesnt look right to me. Is anyone else experiencing this?

Basically, I'm trying to recover the first 10 search results as URLs, to the articles on ezine articles for the search string

site:ezinearticles.com %keyword% "This article has been viewed 2100..100000" "Article Submitted On: * *, 2010"

All the best

 

Barry

 

 

D.M.Altizer
User offline. Last seen 1 year 11 weeks ago. Offline
Joined: 01/12/2010
Posts: 204
Re: Are all Google URL parsers broke?

 Can you please post the jobs? Or at least the regular expressions? I have posted in the other topic too. A small change that Google has made in the way that the links are presented prevent the regular expressions from retrieving the proper text.

__________________

==Dedicated Automation Solutions==

__________________

==Dedicated Automation Solutions==

baz
User offline. Last seen 37 weeks 5 days ago. Offline
Joined: 11/12/2009
Posts: 47
Re: Are all Google URL parsers broke?

Hi Dm, heres the regex for one of them. There are also other google url parsers in the forum ( I tihnk you made one?) which are no longer working.

(?<=class=r><a\shref=")(?<Protocol>\w+):\/\/(?<Domain>[\w@][\w.:@]+)\/?[\w\.?=\%&=\-@/$,]*(?="\s)

 

All the best

Barry

D.M.Altizer
User offline. Last seen 1 year 11 weeks ago. Offline
Joined: 01/12/2010
Posts: 204
Re: Are all Google URL parsers broke?

 As I mentioned in my other post the change needed is in class=r which should become class="r"

__________________

==Dedicated Automation Solutions==

__________________

==Dedicated Automation Solutions==

baz
User offline. Last seen 37 weeks 5 days ago. Offline
Joined: 11/12/2009
Posts: 47
Re: Are all Google URL parsers broke?

Works perfectly DM, thanks so much.