Python Requests Tutorial: Request Web Pages, Download Images, POST Data, Read JSON, and More
In this Python Programming Tutorial, we will be learning how to use the Requests library. The Requests library allows us to send HTTP requests and interact with web pages. We will be learning how to grab the source code of a site, download images, POST form data to routes, read JSON responses, perform authentication, and more. Let's get started...
BeautifulSoup Tutorial - • Python Tutorial: Web S...
File Objects Tutorial - • Python Tutorial: File ...
✅ Support My Channel Through Patreon:
/ coreyms
✅ Become a Channel Member:
/ @coreyms
✅ One-Time Contribution Through PayPal:
goo.gl/649HFY
✅ Cryptocurrency Donations:
Bitcoin Wallet - 3MPH8oY2EAgbLVy7RBMinwcBntggi7qeG3
Ethereum Wallet - 0x151649418616068fB46C3598083817101d3bCD33
Litecoin Wallet - MPvEBY5fxGkmPQgocfJbxP6EmTo5UUXMot
✅ Corey's Public Amazon Wishlist
a.co/inIyro1
✅ Equipment I Use and Books I Recommend:
www.amazon.com/shop/coreyschafer
▶️ You Can Find Me On:
My Website - coreyms.com/
My Second Channel - / coreymschafer
Facebook - / coreymschafer
Twitter - / coreymschafer
Instagram - / coreymschafer
#Python #Requests
Пікірлер: 513
My next video will be a real-world example of a script I wrote to monitor my personal website. We'll use the Request library to monitor the site, and if it is down then we will learn how to send an email and automatically restart the server. I hope everyone finds this useful! Hope you're having a great week!
@premjilla8820
5 жыл бұрын
can you please make tutorial o scraping twitter data using tweepy?
@coreyms
5 жыл бұрын
That's on my list of topics to cover, but I have some data science videos I'm trying to put together first. But yes, I definitely will at some point
@swadhikarc7858
5 жыл бұрын
Awesome idea. Thought that would be a great tutorial to see you teaching how to monitor a website in a candid way
@tnhoang088
5 жыл бұрын
@@coreyms Need more data science, computer vision or even Javascript videos. Your lecture is so good but do not upload all the series at the same time like the django, flask before. It's so overwhelming. And if you can, I slightly recommend that you should make a series about Javascript, Nodejs or something related to js. I think it's much more applicable than data science or AI ... Just a suggestion ;) Always appreciate your way of teaching
@sujildevkota
5 жыл бұрын
Can you make a video to run python script in the background and display message and progress bar in the web page using Django
That's it! I'm disabling my adblock for your channel!
@deus5215
3 жыл бұрын
@yeeLix Felt that
@paulthedanger
3 жыл бұрын
@ً ok hackerr
@arielgorlik2664
3 жыл бұрын
@ً check out privacy badger
@wege8409
3 жыл бұрын
What a gentleman
@rodricbr
3 жыл бұрын
I'm disabling my brave shields for this guy
09:57 " I never understand how some of these people are so productive and..." Since, I started watching your channel I have been thinking the exact same thing about you Mr. Schafer. Honestly, I could never understand how you could author so many impeccable videos on programming so fluently. You are giving so much to people like me. Thank you from the bottom of my heart :)
@coreyms
4 жыл бұрын
Oh wow. Thanks so much, Nader. I really appreciate the kind words :)
@karimmoradi2003
Жыл бұрын
The same. I stopped video to write something like this. Corey! I watched many of your videos but I am still in doubt how you can be so humble, knowledgeable, and productive. You are just incredible. Along side of technology, I am learning morality. Thanks
Excellent insight on Requests, Corey! Requests library is my goto tool when APIs aren't working as expected. I recently used Requests(Sessions) in a script to mimic browser activities for a web portal as APIs had issues with patch fixes. Understanding browser components with Chrome Dev Tools in conjunction with Requests was really helpful to understand how requests attribute viz. Headers, Form-Data, Query-string params are assembled.
No matter how much I know or who I start learning from, I always end up back to Corey for some reason. Clear and concise!
WOW, the 100th video in your MARVELOUS Python tutorial series with my 100th thumbs up. Thank u Corey, you are truly amazing!
Corey you are the best trainer or develper for me as when i see your videos ill get both new things and the things in my mind that i wish to ask you but you answer them in your video itself. so you are trainer and develper for me.keep the good work cheers.
You will reach one million subscribers soon Corey. Your videos are so detailed and and easy to follow through. I now understand requests. Thanks for the effort in making these videos!
@d3ad_shot-vlogsgaming553
Жыл бұрын
You were correct :)
@void6670
10 ай бұрын
he did it
Probably one of the more valuable KZread video I have ever seen, as far as I am concerned.
Your video is a time saver. The information which we need to process from more than one blog or resource is presented elegantly and beautifully to us. Thank you Corey.
believe me !! i was so waiting for this 💓
Great tutorial Corey. Really like your stuff - thank you for covering the material at a brisk pace. Loads of excellent, well presented content without having to listen to slow tedious simplifications. Awesome!
You have got passion in your voice which is helping people like me to learn programming in a much fun way. Love you for what you are. love you 3000.
Hi Corey, Your videos have become my one source of all the information i need on python, your videos are simple and just great!, thank you very much.
10:06 dude, welcome to the club. Your videos alone make most of us feel the same way so I can only imagine if these people from your perspective are another step up in productive... then I'm completely puzzled! Anyway, thanks for a great video Corey!
Harvard should hire you. I learned so much from watching your videos. Much more through than than CS50 course in web development(although it is a great series). Thank you, your hard work is very much appreciated. I will be donating and sharing.
@coreyms
5 жыл бұрын
Thanks!
You are awesome, the way you explain stuff with such calmness and speed is just out of the world. Thanks you again for posting great stuff 👏👏👏
@coreyms
4 жыл бұрын
Thanks!
The best channel, finally ! I have found all basics that I've missed before, and I regret to not find it long time a go, thank u very much.
I been waiting for this long long time ago thank you Corey
Great job on explaining this! Your tutorials are to the point, clear and cover everything we need to know. Every video takes me to the next level.
Hey Corey, just wanted to tell you what I realized recently. Whenever I'm reading a tutorial or some explanations in python/web dev area, I read it with your voice :D. Thanks for the great work and please don't stop :)
@alan-j
5 жыл бұрын
Yes, I would say coreyms is the best place to learn python in the whole of youtube network.. Please dont stop this good work.. HATS OFF TO U..
I was struggling a lot with requests. but now, I'm clear with it. Thanks Corey!! NO words to thank you. :)
Please teach everything ! your videos are fantastic.Thanks Corey
This is called something left behind when we move ahead...Good work Corey...
Great work pal!!!!!! Looking forward to your next video.
thanks man, im currently working in a project for a job application, your explanation saved my life
Hello Corey, I'm Brazilian and your video helped me a lot with my project! Thanks for the class! 👊
I have wasted my money on a python course on Udemy I've regretted to this day, and this guy spreading his knowledge for Free, such an awesome guy you are.. THANK YOU!!
@n9583
3 жыл бұрын
I’ve done that before
@saurabhchaudhary7342
3 жыл бұрын
I also want to start with Python. Given the fact that it's a four year old series, is it still enough ?
Excellent delivery Corey... the best!!
Concise, clear, explanation and examples. Always hitting the key points with any fluff, thanks!!!
Normally I'm the guy that is getting aggressive because the guy in the tutorial video doesn't tell what I want to know, but THIS -THIS IS DAMN GOOD.
Thanks, for such an awesome high quality tutorial 😀 Very clear and quick to the point!
Thank you so much for this video!! Happy to have learnt something new today. Keep 'em coming! :D
I am really looking forward to seeing a video about threading. I hope you will make it as well! Thanks for great tutorials even better than paid courses around in my opinion! I'd rather support your channel instead of paying for less quality courses.
This video is just in time for me! Thank You!
oh, i needed this one really, Thanks Corey :)
Gratz on your 1mil subs! Well deserved and surprised more haven't sub'd!
Lol your the first guy I look for when I need a tutorial. Great video as always!
The timeout param is amazing. Thanks!
Your tutorials are FANTASTIC! Thank you
Thanks once again for some quality content, man!
Great video. You covered exactly what I needed!
awesome work bro... making simpler stuff more simpler keep it up
great buddy!! keep it up!! this was highly knowledgeable.:)
Genial Corey, me gusto el video y era lo que buscaba, una explicación rápida y clara de que es requests y ademas lo haces con profesionalidad (+sub)
You fucking killed it again! So precises and easy to understand AND had some good random nuggets in there. (HTTP request code meanings and httpbin). You're the man! Keep it up!!!
You're AMAZING, a lifesaver
Ok, Corey... Corey-Corey-Corey.....*ominous silence" You are the Man. Hands down the most well-put and thought through videos on Python I've seen on KZread. Much appreciated! I thank thee for thy work for tis magnificent
@coreyms
4 жыл бұрын
Thanks!
Outstanding tutorial! Thanks for the coaching and for pointing out the httpbin tool!!!
Great video as usual Corey! Please do more videos on Django and Rest Framework, thanks!
Absolutely super, well done, very well paced. Thank you for this, learned a lot.
Awesome video! Thanks for posting this. Easy to follow your examples. Thank you
Hey Corey, thanks for this guide. In work sometimes `allow_redirects=False` as request param is helpful as well. Also if your request resulted in several redirects (which is also quite usual), request.history will return all request objects which have happened.
looking forward for more videos like this ..pleas post more videos..you are the best tutor in python
That was one of the few clean videos on the entire internet.........
Excellent explanation!
No words can define Corey
I'm crying inside cause that's exactly what I was looking for
@Seiseary
4 жыл бұрын
hahahaah
@Lakshit.
3 жыл бұрын
Damn true bro ... I was exactly looking for same
@Danksta
3 жыл бұрын
I’ve never related more to a KZread comment
Corey fam gonna be 1 million.. 💚 Cheers 🥂
Thank you so much Corey for your time!
Thanks Corey right video at right time
Awesome Tutorial!
😍😍😍 hey Corey… u are just the best 🥳
I really love your videos. Thank you so much and wish you're always happy.
This was a good video. I am still struggling with using session objects though. Would love an in-depth on that. Happy new year! Stay safe
FANTASTIC TUTORTIAL! well done
jfc, i finally found this... THANK YOU!!!!
Wow, very nice tutorial :)
Thank you for creating this tutorial!
This helped a ton. Thanks!
Thanks for the video! :)
Perfect as always !
Great video!
Excellent video, thanks!
Fantastic video. Thank you for your hard work.
Thank God Corey has a requests tutorial
Best tutorial for requests
You are the man! You very much. Very well explained.
Corey, you're the best :)
Corey i am a new fan of yours. You are so awesome
The best tutorial I've ever seen
Thank you so much, Corey! I like your videos a lot!
whenever I am challenged while working with python, then my mind recalls Corely.
fantastic video. great guy!
This Video is so helpful. I can not thank you enough
dude this video is so awesome!!
Thanks a ton 😁
Amazing tutorial. Kudos for making it. It was really awesome.
Corey, Just thank you that's all
10:04 Yeah, I think that same thing every time I open any library. Respect to those guys
Thank you very much for this video! It was very helpful and I learnt a lot :)
great piece of work
This is a great video. I plan to test its examples within python. The only thing I missed was the Patch command.
A great video. Thanks so much.
Sir yours video is much more informative and is in more detail compared to others
Thanks so much for your help.
Thank you so much for amazing videos
Good job!
Like and thumbs up before watching it!!👍👍
@mayawanjiru2020
5 жыл бұрын
Yes. Fuck Yes.
thank you, very well explained