Python Requests Tutorial: HTTP Requests and Web Scraping

Поделиться
HTML-код
  • Опубликовано: 25 июн 2024
  • Learn how to install and use "requests", one of Python's most popular module by downloads and adoption.
    This step-by-step guide covers installation, making HTTP GET/POST requests, handling errors and timeouts, and scraping data from websites. It is important for Python developers who want to integrate their applications with external services and retrieve data from websites.
    👉 Links
    🔗 Requests: requests.readthedocs.io/en/la...
    🔗 Example Domain: example.com
    🔗 httpbin.org: httpbin.org
    📚 Chapters
    00:00 Introduction
    00:36 GET Request
    01:49 HTTP Status Codes
    02:33 Request Content
    03:22 POST Request
    04:54 Handling Errors
    07:17 Setting a Timeout
    09:27 HTTP Request Headers
    10:22 Web Scraping with BeautifulSoup
    12:38 Requests vs urllib
    #pixegami #python

Комментарии • 14

  • @MohamedTarek-lz3hi
    @MohamedTarek-lz3hi 8 месяцев назад +1

    You're the SFW engineering channel i was lookin for. you birlliantly fill the gap between datat science and SFW dev in one channel. plz don't stop making content no matter how simple the questions or the requests are.

    • @pixegami
      @pixegami  8 месяцев назад

      Thank you, I appreciate your comments :)

  • @rubo111
    @rubo111 8 месяцев назад +1

    I was doing your AWS CDK courses a few weeks back. Good to see you put this up, I have started looking into API courses on Udemy, but this looks like a good practical example to get stuck into!

    • @pixegami
      @pixegami  8 месяцев назад

      Thanks! Best of luck with your API learning. If you want to actually build an API, I have a video on creating a CRUD app too which might be helpful: ruclips.net/video/iLt00bqp6is/видео.html

  • @sheffomp
    @sheffomp 8 месяцев назад +1

    Excellent video!

    • @pixegami
      @pixegami  8 месяцев назад +1

      Glad you liked it!

  • @ChelseaSaint
    @ChelseaSaint 8 месяцев назад +1

    Awesome work 👍👏

    • @pixegami
      @pixegami  8 месяцев назад

      Thanks ✌️

  • @krzysiekkrzysiek9059
    @krzysiekkrzysiek9059 8 месяцев назад +2

    First 😁. Useful content. Consider to make Pipenv tutorial please.

    • @pixegami
      @pixegami  8 месяцев назад +1

      Good suggestion, I'll note it down :)

  • @mirandaenergypark5271
    @mirandaenergypark5271 8 месяцев назад +1

    Excellent tutorial Jack, as per usual for your channel! Do you have any interest in posting one about connecting to AWS IoT with embedded devices (e.g. Raspberry Pi Pico W) where micropython runs on the micro, and maybe incorporating Node-RED? Or any related topics. Duncan.

    • @pixegami
      @pixegami  8 месяцев назад +1

      Thanks for the comment Duncan! Although I do videos on AWS, I don't actually have a ton of experience with IoT or embedded devices right now. But thanks for the suggestion, I'll add it to my list of ideas to explore.

  • @Rami12914
    @Rami12914 6 месяцев назад

    Well , while giving numerous requests Amazon simply banned my ip . And then tried to use proxies working but showing captcha 😊

  • @nawazhussain1281
    @nawazhussain1281 3 месяца назад

    You should make actual courses and sell them...