[error]Unable to create pssession. Error: 'Connecting to remote server 192.168.2.33 failed with the following error message : The WinRM client cannot process the request. Default authentication may be used with an IP address under the following conditions: the transport is HTTPS or the destinati
我使用的是BeautifulSoup。我能想到的唯一方法就是测试href是href =‘www.ometherdomain.com’的形式,还是href= 'page1/page2‘的形式。所以我创建了一个名为has_domain的函数来检查这个链接是否已经有了自己的域。代码如下所示: if 'www.' in url: else:问题