Join us and get access to hundreds of tutorials and a community of expert Pythonistas.

Unlock This Lesson

This lesson is for members only. Join us and get access to hundreds of tutorials and a community of expert Pythonistas.

Unlock This Lesson

Hint: You can adjust the default video playback speed in your account settings.
Hint: You can set the default subtitles language in your account settings.
Sorry! Looks like there’s an issue with video playback 🙁 This might be due to a temporary outage or because of a configuration issue with your browser. Please see our video player troubleshooting guide to resolve the issue.

Section 3 Recap & Course Conclusion

Give Feedback

This lesson is a recap of the third section. You learned about:

  • Authentication
  • SSL Certificate Verification
  • Performance
    • Timeouts
    • The Session Object
    • Max Retries

Download

Course Slides (PDF)

158.0 KB

adriangaluszka on May 11, 2019

Great and up to date course!

Abby Jones on June 27, 2019

Thank you Chris! This filled in a huge gap in my programming knowledge.

hithard on Sept. 1, 2019

Very simple way to explain complicated stuff. Thanks a lot

izogix on Sept. 10, 2019

Excellent!

amitmalur on Sept. 10, 2019

Good information shared in the tutorial

Amitesh Sinha on Oct. 5, 2019

This is an excellent tutorial!

juansebasvasquez on Dec. 27, 2019

This was excellent - lots of context and foundational knowledge to help further ground and grow my scraping skills.

Ganesh Pai on April 4, 2020

How about handling requests with ssl ?. Because in java we used to create Trust Certificate for handling the repsonse

Chris Bailey RP Team on April 6, 2020

Hi @Ganesh Pai, Requests by default uses SSL. There is a method to turn verification off, which is covered in the previous video lesson “SSL Certificate Verification”. Here is a link to the Request Docs with more information regarding using SSL and how it is on by default. Requests uses a package called Certifi that will be installed when using pip, but may be a good practice to look for updates as certificates and such change. I hope this helps with what you are looking for.

mikesult on May 5, 2020

Thanks Chris, great course. I expecially liked how you explained concepts using the REPL before getting to writing the scripts. It’s a great way to learn and experiment, I’m going to add more of that to my workflow.

Chris Bailey RP Team on May 5, 2020

Thanks @mikesult, It has become my practice now. Also I’m learning a few other tricks from the other authors and course creators. The workflow will always be evolving, which really is a good thing.

Stanley Ndagi on June 2, 2020

Awesome content

I noted unanswered questions in the intermediate slides that I think the users would appreciate answers. All the same. Thanks

WoBa on June 9, 2020

Hey, thanks! Few things: - what is the reason for putting “requests.get” inside “try:” statement ? - isn’t it better to use github.com/psf/requests/blob/master/requests/status_codes.py like “if r.ok:” ? - it would be good to introduce pprint(json) - no example for verify

Become a Member to join the conversation.