Need to Verify URLs; getting SSLError - Printable Version +- Python Forum (https://python-forum.io) +-- Forum: Python Coding (https://python-forum.io/forum-7.html) +--- Forum: Web Scraping & Web Development (https://python-forum.io/forum-13.html) +--- Thread: Need to Verify URLs; getting SSLError (/thread-20578.html) |
Need to Verify URLs; getting SSLError - rahul_goswami - Aug-20-2019 Hi Team, I am trying to verify URLs using urllib3 library. For secure URLs, using 'https://'. I am getting a ststus code of 403. when the URL is 'http://google.com' >>> import urllib3 >>> http = urllib3.PoolManager() >>> r = http.request('GET', 'http://google.com') >>> r.status 403when the URL is 'https://google.com' >>> import urllib3 >>> http = urllib3.PoolManager() >>> r = http.request('GET', 'https://google.com') Could you please guide in this.
|