Python Tutorial: How to use Python Requests Library

preview_player
Показать описание

Support my work:

Subscribe to the Python course waitlist:

Subscribe to this channel:

Follow me:

The Python requests library is one of the most-used libraries to make HTTP requests using Python.

In this tutorial, you will learn how to:

- Understand the structure of a request
- Make GET and POST requests
- Read and extract elements of the HTML of a web page using BeautifulSoup
- Improve your requests

Requests methods
- get: Request data
- post: Publish data
- put: Replace data
- patch: Make Partial changes to the data
- delete: Delete data
- head: Similar to get request but without the body
- Request: Create request object by specifying the method to choose
Рекомендации по теме
Комментарии
Автор

This was the most efficient programming video I've ever seen. Good video!

Datdus
Автор

Thank you for this video! Can you tell me what adding to visual studio you are using that gives you code blocks with the run option next to them (sorry, not sure how else to say that). Thank you! :)

JarredSutherland
Автор

Loved this! Great work JC! You're a boon to the SEO community! :)

NeerajChavan
Автор

Thank you very much. I am a follower of your blog and as for the last article Searchconsole API I am stuck at some point. I have verfiied my property but I got an error at the part of webproperty query ['NoneType' object has no attribute 'query']. Any idea

KhalilYasser