Massively Speed Up Requests with HTTPX in Python

Sdílet
Vložit
  • čas přidán 5. 09. 2024
  • In this video, we learn how to massively speed up web scraping with asynchronous requests in Python, using the httpx module.
    ◾◾◾◾◾◾◾◾◾◾◾◾◾◾◾◾◾
    📚 Programming Books & Merch 📚
    🐍 The Python Bible Book: www.neuralnine...
    💻 The Algorithm Bible Book: www.neuralnine...
    👕 Programming Merch: www.neuralnine...
    🌐 Social Media & Contact 🌐
    📱 Website: www.neuralnine...
    📷 Instagram: / neuralnine
    🐦 Twitter: / neuralnine
    🤵 LinkedIn: / neuralnine
    📁 GitHub: github.com/Neu...
    🎙 Discord: / discord
    🎵 Outro Music From: www.bensound.com/

Komentáře • 32

  • @frostiiify9505
    @frostiiify9505 Před rokem +13

    Nice! I have never worked with HTTPX, so this is really interesting to me. Would love to see more!

  • @suomynona7261
    @suomynona7261 Před rokem +2

    I’m happy you still posting! Thanks for what you do.

  • @tamgaming9861
    @tamgaming9861 Před rokem

    Ich habe mit einem 2 Jahre alten Video von dir gestartet - und hatte gehofft dass du immer noch postest ... klasse das du es tust!

  • @justas3000
    @justas3000 Před rokem +4

    Big ups for all the stuff you do man! All videos are very clear, concise and on point. Keep it up

    • @oguzhantopaloglu9442
      @oguzhantopaloglu9442 Před rokem +1

      I agree, he makes videos about libraries that nobody fucking knows a thing or two about and those libraries are actually awesome

  • @sumitsingh-CANDY
    @sumitsingh-CANDY Před rokem +7

    ❤ just learned new thing !!

  • @ahmadowaihan9349
    @ahmadowaihan9349 Před rokem +3

    this video was very helpful! exactly what I needed :) keep it up! (this vid was suggested to me at random lol)

  • @noertri618
    @noertri618 Před rokem +3

    Python 3.11 + httpx = 🔥🔥🔥🔥

  • @tony_jin
    @tony_jin Před rokem +2

    Thanks a lot for the video! Does "httpx" work with webdriver from selenium?

  • @aryankothari4634
    @aryankothari4634 Před rokem +1

    Have you covered python queue.Queue() with threading?

  • @dot_dot_pwn2650
    @dot_dot_pwn2650 Před rokem +3

    You're awesome dude, loving your new pace. Keep up the great work.

  • @makankananian3838
    @makankananian3838 Před rokem +1

    are the async requests that we gather in the same order as the URLS list??

  • @Jelvix
    @Jelvix Před rokem

    Awesome video! We talked about a similar topic on our channel a few videos ago!

  • @praveenkumawat2662
    @praveenkumawat2662 Před rokem

    wow, it works amazingly. Thanks for sharing this

  • @swarnodipnag
    @swarnodipnag Před rokem +1

    Love from India. 4th comment.. daily viewer .. python lover ❤️🫂

  • @ken6349
    @ken6349 Před 2 dny

    does this cause 429 error? (too many requests error). if done in bigger scale

  • @oguzhantopaloglu9442
    @oguzhantopaloglu9442 Před rokem

    This is INSANE!

  • @benlong1062
    @benlong1062 Před rokem

    This was a good one, really interesting.

  • @clxymox
    @clxymox Před rokem

    very interesting, it is possible to also have the url that we are testing with the return 200

  • @throwyourmindat
    @throwyourmindat Před rokem +1

    Hi ,
    I tried executing HTTPX POST method, but it is returning 419 instead of 200. the calls are similar to what I used to do with request.Session.. can you please create a view on POST call. what is the trick to make it work ?

    • @RavanaMad
      @RavanaMad Před 8 měsíci

      The difference between accepting GET or POST requests is defined on the server side. GET carries request parameter appended in URL string while POST carries request parameter in message body which makes it more secure way of transferring data.

    • @throwyourmindat
      @throwyourmindat Před 8 měsíci

      @@RavanaMad thanks it's been 7 months now. It was https post specifically. I have figured out already

  • @AhmdsYT
    @AhmdsYT Před 4 měsíci

    4:29 using httpx

  • @davehawkins5265
    @davehawkins5265 Před rokem

    Great video!

  • @2ru2pacFan
    @2ru2pacFan Před rokem

    Thanks!

  • @InvestLarge
    @InvestLarge Před rokem

    Comment for the algorithm :) Perfect video lesson

  • @pamdemonia
    @pamdemonia Před rokem

    Very cool.

  • @connectrRomania
    @connectrRomania Před rokem

    Is this efficient on getting access to different ip camera addresses

  • @jaspreetsingh9688
    @jaspreetsingh9688 Před rokem

    Can you solve rubik cube with python if yes then please make video

  • @miguelhyto54
    @miguelhyto54 Před 9 měsíci

    4:30

  • @agnichatian
    @agnichatian Před 6 měsíci +1

    books to scrape is huge malware site now