S
S
Shamil Telekaev2019-05-09 14:15:38
Python
Shamil Telekaev, 2019-05-09 14:15:38

How to parse data from the local network in python 3 by reference?

Hello, please tell me how to parse data from the local network in python 3 using a link of the format http: //helpdesk.local.uralkali.com/maximo/ui/?event=loadapp&value=activity&uniqueid=397461&uisessionid=19831&csrftoken=xxxxxxxxxxxxxxxx (there is a special mention in the link a space so that it does not shrink and the token is replaced). The difficulty lies in the fact that I do not know how local networks work in principle, and let's say a simple link (not local), for example https://google.com/I can parse the data, but nothing comes out of the local link. If suddenly it will be useful, then there is such a site uralkali.com, and it is not local, but with the helpdesk.local postscript. I can't navigate anymore because it's already a local link. I tested parsing from regular links using the urllib.request and bs4 libraries, I also tried to parse the same file that is located at the local link (http: //helpdesk.local.uralkali.com/maximo/ui.... .) using the same bs4 library and the usual open command specifying the UTF-8 encoding and the parsing worked fine, but the HTML file was downloaded in advance and given to me, and I need to parse all the data without downloading, having one link. I apologize if I wrote the obvious somewhere or made a mistake, I just don’t know exactly how everything works, and therefore it’s better to write too much than not to add something.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Sergey Tikhonov, 2019-05-09
@tumbler

Absolutely the same as with a regular website on the Internet. Only need network access to the site on the local network (usually this is done through a VPN)

D
Dimonchik, 2019-05-09
@dimonchik2013

helpdesk.local.uralkali.com opens with a browser?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question