Scraping to retrieve the city of an IP proxy

cesario678

Client
Регистрация
10.03.2022
Сообщения
143
Благодарностей
11
Баллы
18
I would like to retrieve the city of an IP proxy without navigating to a website using a browser. I've seen a solution here in the forum on how to get an IP address using C#, but I would like to obtain the city of the IP as well. Could someone help me accomplish this? I'm not experienced in programming. I thought about accessing a website and scraping the site, but that would consume a lot of bandwidth from the IP, and I'm charged per GB. Thank you. I'm looking forward to your assistance.
 

lokiys

Moderator
Регистрация
01.02.2012
Сообщения
4 771
Благодарностей
1 184
Баллы
113

cesario678

Client
Регистрация
10.03.2022
Сообщения
143
Благодарностей
11
Баллы
18

cesario678

Client
Регистрация
10.03.2022
Сообщения
143
Благодарностей
11
Баллы
18
Thank you, you saved me.

now another question.

how do i delete everything before "city" and everything after "zip":

to just keep the city in the variable.

thanks.
 

lokiys

Moderator
Регистрация
01.02.2012
Сообщения
4 771
Благодарностей
1 184
Баллы
113

cesario678

Client
Регистрация
10.03.2022
Сообщения
143
Благодарностей
11
Баллы
18

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