Find Jobs
Hire Freelancers

Python Encoding Error With HTTPS Proxies (Dependency Issue, it used to work until I updated)

$30-250 USD

Closed
Posted over 3 years ago

$30-250 USD

Paid on delivery
I am making a request to a url with a proxy, however, after I updated from python 3.8.3 to 3.9.1, the response started to be encoded. When I request this url without a proxy, there are no problems and it worked before with a proxy in 3.8.3. I don't know which of requests I used in 3.8.3, but I've seen a few open and closed issues about proxies in the new requests update. I also tried using the latest version of urllib3 (1.2.6), and the requests just never got sent, I was stuck on an empty console screen so I was forced to use an older version of urllib that worked. I have also tried lots of old requests versions, python versions, urllib3 versions the other dependencies for requests however nothing works. I am completely clueless to how to get this working, the strangest thing is that it did used to work on my previous version before updating it. Expected result: { "fingerprint": "[login to view URL]" } Actual result: ! � c�R������� � ��TX��������p8��,��,�c�O� L5��Lޙ�R��A�z���'���� import requests session = [login to view URL]() adapter = HTTPAdapter(max_retries=Retry(connect=15, backoff_factor=0.5)) [login to view URL]("http://", adapter) [login to view URL]("https://", adapter) proxy = "example:port" proxy_dict = {"http": "http://" + proxy, "https": "http:s//" + proxy} headers = { "accept": "text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9", "accept-encoding": "gzip, deflate, br", "accept-language": "en-US,en;q=0.9", "cache-control": "no-cache", "pragma": "no-cache", "sec-fetch-dest": "document", "sec-fetch-mode": "navigate", "sec-fetch-site": "none", "sec-fetch-user": "?1", "upgrade-insecure-requests": "1", "user-agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.104 Safari/537.36" } r = [login to view URL]("[login to view URL]", headers=headers, proxies=proxy_dict) print([login to view URL]) { "chardet": { "version": "3.0.4" }, "cryptography": { "version": "" }, "idna": { "version": "2.10" }, "implementation": { "name": "CPython", "version": "3.9.1" }, "platform": { "release": "10", "system": "Windows" }, "pyOpenSSL": { "openssl_version": "", "version": null }, "requests": { "version": "2.25.1" }, "system_ssl": { "version": "1010107f" }, "urllib3": { "version": "1.25.2" }, "using_pyopenssl": false }
Project ID: 29288173

About the project

4 proposals
Remote project
Active 3 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
4 freelancers are bidding on average $154 USD for this job
User Avatar
***I KNOW WHAT'S THE PROBLEM AND I CAN SOLVE IT*** Hi. I am an experienced System Administrator familiar with Python (versions 2 and 3) with more than 7 years experience. I know how to solve your issue. This is one of my daily tasks. Award me and get rid of this problem. Please NOTE: It's night in my location (2:00 am) i may be sleeping when you'll see my bid. Don't worry just do the following steps: 1. Award me the project 2. Send me source codes via private messaging 3. You can add further details if needed I will get the work done as soon as i am awake (i don't sleep much) Regards.
$225 USD in 2 days
5.0 (14 reviews)
6.5
6.5
User Avatar
Hi Kai. I can fix the encoding issue. I am a top talent python developer with extensive experience. I have complete many similar projects using python libraries. As an expert, I can provide high-quality results within the deadline. You can check out similar projects in my profile. I would like to know more about the project. If you award me your project I will start your project asap. Best regards Valentyn M.
$140 USD in 1 day
5.0 (12 reviews)
5.3
5.3
User Avatar
We will do your python encodding work I am writing this proposal in order to work for you in Software and Web Development. We are highly trained professional developers seeking to freelance and earn online. Having a flair in programming and development I have been excellent with JAVA,C#,C/C++ and PHP programming language along with MySQL with XAMPP Server. I also build application for Cloud computing and High performance computing as I also have knowledge regarding Hadoop, MPI, OpenMP (distributed frameworks) and also have build applications in CUDA C++ and OpenCL. I also have experience with the most famous framework ASP.NET. My most expertise are in JAVA where I have built countless projects for semester projects and Final year project. You may find many developers in this field however we assure that you will not be able to find a team like us. We not only ensure the code is quality wise but we also assure that the code we write are optimised and we ensure that the program performs right operation under right environment i.e. we create programs that are defect free. You may also find freelancers that cost low but they do not put their 100% which then shows in the software and leads to an unhappy customer. We ensure reasonable price are put as tag on the job and we ensure in order to give the write product.
$99 USD in 7 days
5.0 (20 reviews)
4.6
4.6
User Avatar
Dear client, Let me fix your encoding and decoding issues. I've also used proxy for amazon flex apis and fixed it myself before. So I can check your codes and fix it in a short time. Please ping me and let us start now. Hope to work with you. Thank you.
$150 USD in 7 days
5.0 (4 reviews)
3.7
3.7

About the client

Flag of UNITED STATES
Orlando, United States
5.0
5
Payment method verified
Member since Apr 17, 2020

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.