Request Headers for Web Scraping

preview_player
Показать описание
With every HTTP request there are headers that contain information about that request. We can maipulate these with requests or which ever web scraping tool we are using with Python to change how the server reacts to us. In this video i'll show you the basics of how they work and what they look like, and then demo how to change the most important ones in your code.

-------------------------------------
Disclaimer: These are affiliate links and as an Amazon Associate I earn from qualifying purchases
-------------------------------------

Sound like me:
-------------------------------------

Video like me:
-------------------------------------

PC Stuff:
Рекомендации по теме
Комментарии
Автор

Thank you John for the great explanation of this important topic in web scraping! Also, the comparison between requests and requests-html is nice.

celerystalk
Автор

Just want to take the time to thank you for the high quality, easy to understand information in such a compressed amount of time in this video

RideableEntertainment
Автор

Boy, you have great content. I am studying at the International Internet Academy. I'm learning Python. Your videos help me well in my studies. Thank you very much! Keep making good videos, don't stop. With best wishes from Russia!

EvgeniySakharov
Автор

You are the Scrapy GOAT . keep up the content!!

b.
Автор

You read my mind! This was the exact video I needed for today! Thank you for making all these videos!

snowbaby
Автор

The channel is growing. Keep it up John!

cyy
Автор

Thanks for the explanation. Didn't stump on this topic thanks to this video

ISAAKKUSH
Автор

Thank you dude! Interesting and useful content! Keep it up and good luck ;)

rrahll
Автор

Thanks for the solution, just started with python and scraping 🤞

Seedrelywagon
Автор

Great.. John Bro, You are the Man... GBU

alibaba
Автор

I hope you plan to make a discord channel or a Telegram group so the scraper community has a place to exchange ideas :) Awesome content btw!

Zale
Автор

8:28 I like you man :D Sorry for the many comments. I am just very interested in this and you have the best content I have found so far!
Can you please make a in-depth video about cookies and how to use them with "request"?:D

multigladiator
Автор

John congratulations for excelent video and explanation. Do you can a video using the method with playwright?

marcelocpereira
Автор

Nice, thanks, pks talk about handling cookies that on every request changes

alivakili
Автор

Great tutorial. I follow your every video. Would you like to give us some tips to prevent blocking when scraping websites?

abukaium
Автор

Can u please explain how we keep both Selenium and Requests?

alibaba
Автор

Hi can we add underscore in request header? by default underscore is converting to Hyphen, can we restrict this? please suggest

rajesha
Автор

do u intentionally fade out of the images to annoy us?

Wabuh-Wabuh
Автор

Hey Man,
is there any way to extract the cookie value into microsoft excel automatically? if yes, please share something about it. thanks in advance

anishjain
Автор

How do I scrape info from the payload after its submitted in the code? Im making a account creator that needs to print the token from the account, how can i scrape this from the headers/payload?

GrandRapingBeats