Analyzing a list of URL with an API

Jor1s

Client
Регистрация
25.06.2012
Сообщения
216
Благодарностей
3
Баллы
0
Hello

I got a full urls list which i need to analyse everyday (need to analyse backlinks etc)
For this i need an APi from ahrefs ( https://ahrefs.com/api/#api1 ) but i wonder how i could implent it in zenno.

Any idea ?
 

rostonix

Известная личность
Регистрация
23.12.2011
Сообщения
29 067
Благодарностей
5 715
Баллы
113
Use GET requests to API urls.

Then you can parse necessary data from result which you will get.
 
  • Спасибо
Реакции: Jor1s

Jor1s

Client
Регистрация
25.06.2012
Сообщения
216
Благодарностей
3
Баллы
0
Ok many thx, so easy :-)

Now i have to find how to sort out my urls comapre to number of backlinks and PR of each ^^
 
Регистрация
01.02.2011
Сообщения
99
Благодарностей
15
Баллы
0
Ok many thx, so easy :-)

Now i have to find how to sort out my urls comapre to number of backlinks and PR of each ^^
Here you go, sort domains via backlinks, in one line of code:

Save the urls and backlink numbers in a file called "domains.txt" with a tuple format, like this:

[
('domain5.com', 10),
('domain1.com', 50),
('domain2.com', 40),
('domain3.com', 30),
]


Down python 2.73, & open shell (aka GUI).

Copy paste line below & hit enter.

print sorted(tuple(open(r"domains.txt")))
 

Jor1s

Client
Регистрация
25.06.2012
Сообщения
216
Благодарностей
3
Баллы
0
Ouch, i think its out of my competences, but i will try to take a look and understand :-)

thanks
 

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