Requests Library in Python - Beginner Crash Course

Поделиться
HTML-код
  • Опубликовано: 19 июн 2024
  • In this video, we do a beginner crash course on the requests library in Python.
    HTTPBin: httpbin.org/
    ◾◾◾◾◾◾◾◾◾◾◾◾◾◾◾◾◾
    📚 Programming Books & Merch 📚
    🐍 The Python Bible Book: www.neuralnine.com/books/
    💻 The Algorithm Bible Book: www.neuralnine.com/books/
    👕 Programming Merch: www.neuralnine.com/shop
    🌐 Social Media & Contact 🌐
    📱 Website: www.neuralnine.com/
    📷 Instagram: / neuralnine
    🐦 Twitter: / neuralnine
    🤵 LinkedIn: / neuralnine
    📁 GitHub: github.com/NeuralNine
    🎙 Discord: / discord
    🎵 Outro Music From: www.bensound.com/
    Timestamps:
    (0:00) Intro
    (0:54) HTTP Web Service
    (3:18) Basic Requests
    (5:25) Query Parameters
    (7:32) Status Codes
    (10:13) User-Agent
    (12:30) Images & File Types
    (14:57) Request Timeout
    (18:00) Proxy Servers
    (20:00) Outro
  • НаукаНаука

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

  • @joeking5211
    @joeking5211 Год назад +1

    Very well done, am new python by about 3 weeks ago so would like a little more on the 'response' handling from get requests for a real newbee, but this has got me going, in the right direction, thank you, very well explained

  • @hyakushiki23
    @hyakushiki23 Год назад

    Thank you for always providing great explanations. Request is a very common library, so much appreciated.

  • @fahdalawsi2172
    @fahdalawsi2172 11 месяцев назад

    This was direct clean and helpful.
    Thank you!

  • @mrvalvet9856
    @mrvalvet9856 Год назад +2

    This is an amazingly good channel. Thank you!

  • @StillSean90
    @StillSean90 Год назад

    Thank you for this great intro into requests

  • @DanAllenTX
    @DanAllenTX Год назад

    Great video! Thanks so much for making.

  • @santiagohernandez6615
    @santiagohernandez6615 Год назад +2

    Very good and useful tutorial, I really like it!

  • @kylecurry6841
    @kylecurry6841 Год назад +2

    Pagination, and how you would handle this using the Requests library would have been a good highlight, even though I know that delves more on looping through results from an endpoint, but it seems to be a common thing you'll encounter when working with Requests

  • @FRANKWHITE1996
    @FRANKWHITE1996 Год назад +2

    Thanks for sharing ❤

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

    Hey this guide was awesome dude. thanks a lot.

  • @toniivars6346
    @toniivars6346 Год назад +5

    Can you make a video covering an async http library like httpx? I think it could be a great video to expand requests to the power of asynchronous code

  • @isojama1
    @isojama1 Год назад +1

    Nice one !! Just wondering, before making videos with all those different libs , do you read the whole documentation or just couple of functions/classes/etc. and explore them in depth?

  • @paulthomas1052
    @paulthomas1052 Год назад +1

    Very useful. Thanks :)

  • @user-xo4rr5en3e
    @user-xo4rr5en3e Год назад +1

    thanks bro fro this, video is very helpful😊

  • @richardboreiko
    @richardboreiko Год назад +2

    For the webp - open in explorer, copy path, go to chrome, ctrl_o, paste in the path and click ok.

  • @praveenkp07
    @praveenkp07 Год назад +3

    Also create a detailed video on rest APIs and ways to debug and handle them from python along with postman or swagger..

  • @a9ocalypse
    @a9ocalypse 5 месяцев назад

    Cool Vid. I want to-the-point videos with no BS just like this one

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

    great content thanks bro

  • @serychristianrenaud
    @serychristianrenaud Год назад +1

    thanks

  • @niccoloricardi4827
    @niccoloricardi4827 Месяц назад

    "what is this? A wolf? A deer? I don't know
    😆

  • @daddyddesign
    @daddyddesign 5 месяцев назад

    “What is this, a wolf? Deer? “ lol. Great vid tho thanks!

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

    thank u

  • @MusicOverseer
    @MusicOverseer 5 месяцев назад

    What do you use for your predictive text?

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

    What is the editor u use

  • @Mrbigdraco
    @Mrbigdraco Год назад +1

    can you make a video of a retail website using requests.

  • @valadimirX
    @valadimirX Год назад +1

  • @tcgvsocg1458
    @tcgvsocg1458 Год назад +1

    please do a video on how to create a application in tkinter like proVPN take a vpn on free proxy

  • @rahneshin752
    @rahneshin752 4 месяца назад

    ❤❤

  • @user-oi5zb2fk2w
    @user-oi5zb2fk2w Год назад

    nyc

  • @maxheinwal5084
    @maxheinwal5084 4 месяца назад +1

    I dont know what im doing wrong, but I always get an error when I try to get it to an json file. I can print the html text but json doesnt work.

    • @ar9ns
      @ar9ns 4 месяца назад +1

      to prevent a json decode error u need to import json then use json.loads heres an example
      import json
      resp = json.loads(response.text)
      and then u would use resp instead of response.json()

  • @lazi21
    @lazi21 27 дней назад

    14:10 a deer? xD

  • @GK-tv8io
    @GK-tv8io Год назад

    Bro how do you run the code with the keyboard? xD

  • @Danielpi
    @Danielpi 10 месяцев назад

    I think it was a coyote.

  • @konfushon
    @konfushon Год назад +2

    First...hi

  • @lie-be4277
    @lie-be4277 6 месяцев назад

    why is this video 2x in default

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

      This way you can watch the video in 4x if you want 😂

  • @tcgvsocg1458
    @tcgvsocg1458 Год назад +1

    i dont really understand why this video stand for? what do you mean? what can be the use of this course?

    • @toniivars6346
      @toniivars6346 Год назад +1

      Well, nowadays there are lots of cases where you would like to use a library that can make http requests like requests, for example to make calls to an API or to do web scraping

    • @joeking5211
      @joeking5211 Год назад

      Or to access your own hardware devices on your internal LAN

  • @datG0OSE
    @datG0OSE Месяц назад

    dude... do you even blink?