Python Forum
Python Request's Proxies not working.
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Python Request's Proxies not working.
#2
try adding scheme to url, as per the docs:
Quote:Note that proxy URLs must include the scheme.

session.proxies = {scheme:f'{scheme}://{proxy}' for scheme in ('http', 'https')}
If you can't explain it to a six year old, you don't understand it yourself, Albert Einstein
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs

Reply


Messages In This Thread
Python Request's Proxies not working. - by Fudster - May-01-2020, 06:15 AM
RE: Python Request's Proxies not working. - by buran - May-01-2020, 06:42 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
Question Python request (post/get) Drunknmonkie 1 2,668 Jan-19-2023, 02:02 PM
Last Post: prvncpa
  Scraping a page with log in data (security, proxies) iamaghost 0 2,148 Mar-27-2021, 02:56 PM
Last Post: iamaghost
Question Telegram bot - Problem with proxies and web server NoNameoN 1 3,140 Oct-16-2020, 05:37 PM
Last Post: NoNameoN

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020