Google scraping - collecting specific number of results

jcknick

Client
Регистрация
10.05.2013
Сообщения
154
Благодарностей
9
Баллы
18
Hi guys here's my problem I need to search Google for specific terms and collect a specific number results, in my case, three results per page. After that I need to save them into table. I've spent entire morning trying to figure it out but apparently my knowledge is pretty limited for this specific task.

These are the top 3 results that I need to take from the page and save to a table:

Посмотреть вложение 3924
 

bigcajones

Client
Регистрация
09.02.2011
Сообщения
1 216
Благодарностей
682
Баллы
113
You can go old school and use the macro {-RegExp.RegExp-|-{-Variable.DOMTEXTHERE-}-|-YOURREGEXHERE-|-0;2-} or you can use match# of 0-2 in your regex action but then you will have to put the results into a list.

Old school way you can put it right into a table... example enclosed

Посмотреть вложение Jcknick.xmlz

This is an example of course, you will have to deal with the possibility of multiple entries if that shows up. You will have to save the table at the end of all of your scrapes or your table entries will be compounded with each page.
 

nevadahsot

Client
Регистрация
27.04.2012
Сообщения
106
Благодарностей
5
Баллы
18
Only For Scrape. Not table.
 

Вложения

  • 24,2 КБ Просмотры: 301

Кто просматривает тему: (Всего: 1, Пользователи: 0, Гости: 1)