Please tell me how to parse data from the local network in python 3 using the link in the format http: //helpdesk.local.uralkali.com/maximo/ui/?event=loadapp&value=activity&uniqueid=397461&uisessionid=19831&csrftoken=xxxxxxxxxxxxxx (there is a space on the link, so that it does not shrink and is replaced by a token). The difficulty lies in the fact that I do not know how local networks work in principle, and let's say on 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 a postscript helpdesk.local. it is no longer possible to proceed, since this is already a local link. I tested the parsing with regular links using the urllib.request and bs4 libraries, I also tried to parse the same file that is located via 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 parsing worked fine, but the HTML file was downloaded in advance and passed to me, and I need to download all the data without a jump, having one link. I apologize if I wrote the obvious somewhere or I was mistaken about something, I just don’t know exactly how everything works, and therefore it’s better to write too much than not to add something. I can provide the source code that parses the data from the HTML file if it is needed, but I see no point, it still does not work with the local network.
Closed due to the fact that the essence of the question is not clear to the participants 0xdb , Sergey Gornostaev , Enikeyschik , AK ♦ , aleksandr barakin May 9 at 16:32 .
Try to write more detailed questions. To get an answer, explain what exactly you see the problem, how to reproduce it, what you want to get as a result, etc. Give an example that clearly demonstrates the problem. If the question can be reformulated according to the rules set out in the certificate , edit it .
- No code. What is the problem - it is not clear. - Enikeyschik
|