How to get the current proxy IP and save it? Get request not work

doyou1425

Пользователь
Регистрация
23.06.2020
Сообщения
44
Благодарностей
0
Баллы
6
Hi, How to get the current proxy IP and save it?

1. I tried Get request and set active proxy, AND url set http://api.ipify.org/, however, not work, it will return nothing! if i set without proxy, it will return the right IP.

2. I tired visit browser by visiting http://api.ipify.org, it will show the proxy IP, but i dont know how to get it and save to variable, tried and failed.

someone help? thank you
 

VladZen

Administrator
Команда форума
Регистрация
05.11.2014
Сообщения
22 453
Благодарностей
5 913
Баллы
113
you can use this C# code:
return instance.GetProxy();
 
  • Спасибо
Реакции: doyou1425

lokiys

Moderator
Регистрация
01.02.2012
Сообщения
4 812
Благодарностей
1 187
Баллы
113
Hi, How to get the current proxy IP and save it?

1. I tried Get request and set active proxy, AND url set http://api.ipify.org/, however, not work, it will return nothing! if i set without proxy, it will return the right IP.

2. I tired visit browser by visiting http://api.ipify.org, it will show the proxy IP, but i dont know how to get it and save to variable, tried and failed.

someone help? thank you
You can get any data from a page by scraping pages DOM.
Or use action Parse Data.
 
  • Спасибо
Реакции: doyou1425

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