How Can I scrape This? (can it be done?)

mark leenheer

Client
Регистрация
29.01.2012
Сообщения
156
Благодарностей
6
Баллы
0
<TH><SPAN class="has-tooltip hint" jQuery152008464031739620858="6">Page Authority</SPAN>

The "6" shows as a different value on the page text. How can I scrape the actual value? Right now if I get the DOM text and regex parse I get 6 and not the real value generated on the page text.

I am trying to scrape page rank and domain authority from seomoz... How can I do that?
 

rostonix

Известная личность
Регистрация
23.12.2011
Сообщения
29 067
Благодарностей
5 707
Баллы
113
If source code and Dom doesn't have element that you need, you have to play with "text of the page" without tags and other stuff.

If there's a constant bound with value you find in Dom (6) and on page as a result, you can scrape "6" and replace it with macros to whatever you need.
 
  • Спасибо
Реакции: mark leenheer

mark leenheer

Client
Регистрация
29.01.2012
Сообщения
156
Благодарностей
6
Баллы
0
I was able to get it done using regular text.
 

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