May-10-2020, 10:39 AM
r=requests.get('https://www.python.org/')in you script, r is a structure. you need to take an element
print(r.text)
or print(r.content)
use text for, well... text
content if binary
but only if:
r.status_code == 200
[WinError 10061] No connection could be made because the target machine actively refu
|
|
Messages In This Thread |
[WinError 10061] No connection could be made because the target machine actively refu - by kannanponraj - May-10-2020, 09:39 AM
RE: [WinError 10061] No connection could be made because the target machine actively refu - by Larz60+ - May-10-2020, 10:39 AM
|
Possibly Related Threads… | |||||
Thread | Author | Replies | Views | Last Post | |
How can I target and scrape a data-stat | never5000 | 5 | 2,931 |
Feb-11-2022, 07:59 PM Last Post: snippsat |
|
Target: Web Scraping / Web Automation | vetabz | 2 | 3,718 |
May-07-2017, 01:47 PM Last Post: vetabz |
|
Python Selenium Document Lookup and Download Automation Error - Target Machine active | Guttmann | 4 | 5,300 |
Apr-18-2017, 12:13 AM Last Post: metulburr |