(Easy) Python: Request a website where headers (cookies?) needed
- or -
Post a project like this969
€25/hr(approx. $27/hr)
- Posted:
- Proposals: 17
- Remote
- #3371103
- Awarded
Mobile App Development, Python, Power BI, Flutter, Angular, Android, IOS, Developer, Django, Ionic Framework, React JS, PHP, Web, Startup
Dartford
Python, Django, Solidity, ChatBot, Blockchain, .NET, C#, Matlab, C/C++, WordPress, PHP Development
Andorra la Vella
40870884687709627982162582946251128622086762144105270488518548250415911265344321418
Description
Experience Level: Intermediate
Estimated project duration: 1 day or less
Hello,
In python 3.9, I need to open a webpage. In my browser (Chrome), it opens fine. When I use my python script however, if does not. Rather than the intended page, I get a different response because the page is requested by a script rather than a browser.
Initial research suggests that the script needs to include headers (cookies?) in the HTTP request.
I need the correct request to send, such that the script will return the same contents (html) back as when the website is opened using a regular browser. See the attached sample script for my relevant code.
Also, I need a brief explanation of what exactly the additional data means, which we need to send. So that I understand what is going on.
Please provide a quote of your hourly rate as well as how much time you will spend on this at the most.
Thank you.
In python 3.9, I need to open a webpage. In my browser (Chrome), it opens fine. When I use my python script however, if does not. Rather than the intended page, I get a different response because the page is requested by a script rather than a browser.
Initial research suggests that the script needs to include headers (cookies?) in the HTTP request.
I need the correct request to send, such that the script will return the same contents (html) back as when the website is opened using a regular browser. See the attached sample script for my relevant code.
Also, I need a brief explanation of what exactly the additional data means, which we need to send. So that I understand what is going on.
Please provide a quote of your hourly rate as well as how much time you will spend on this at the most.
Thank you.
T G.
100% (3)Projects Completed
3
Freelancers worked with
2
Projects awarded
100%
Last project
24 Nov 2021
Netherlands
New Proposal
Login to your account and send a proposal now to get this project.
Log inClarification Board Ask a Question
-
There are no clarification messages.
We collect cookies to enable the proper functioning and security of our website, and to enhance your experience. By clicking on 'Accept All Cookies', you consent to the use of these cookies. You can change your 'Cookies Settings' at any time. For more information, please read ourCookie Policy
Cookie Settings
Accept All Cookies