L
L
LordOftheCode2021-11-09 22:43:07
Python
LordOftheCode, 2021-11-09 22:43:07

How to display normal html document in python?

I make a request to Instagram, I go through authorization and after going to the main page of the Instagram, I display the entire html page, but instead of it,
AmjKzX9.png
my code gives me this:

def parseMyProfile():
    r = s.get("https://www.instagram.com/")
    soupPRF = BeautifulSoup(r.text, "lxml")
    print(r.text)

Answer the question

In order to leave comments, you need to log in

1 answer(s)
L
LordOftheCode, 2021-11-10
@LordOftheCode

def parseMyProfile():
    r = s.get("https://www.instagram.com/")
    soupPRF = BeautifulSoup(r.text, "lxml")
    print(r.text)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question