Seek help! Beautifulsop can't parse Baidu Homepage
In the python 3 compiler, first import the corresponding third-party libraries. Here, I only use urllib.request and beautiful Soup for testing.
After the import, enter the following code in the shell to display the corresponding results.
>>>url_1 = r'https://www.baidu.com'
>>>url_2 = r'https://baidu.com'