# Collect links

**URL:** <https://www.ruby-forum.com/t/collect-links/153767>\
**Category:** Ruby\
**Created:** [November 20, 2008, 10:06pm UTC](https://www.ruby-forum.com/t/collect-links/153767 "2008-11-20T22:06:13Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![arevert](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/58956e/32.png) [@arevert](https://www.ruby-forum.com/u/arevert)\
**Post date:** [November 20, 2008, 10:06pm UTC](https://www.ruby-forum.com/t/collect-links/153767/1 "2008-11-20T22:06:13Z")

</div>

Hi, i have an stupid cuestion, so here it is

i need to search something on google, and then collect all the blue  
links  
and green urls in the results with Watir.

so, my problem is wich property i can use to do this, or better, a piece  
of  
code to help me!!

thanks
