HTTPX is the ASYNC Requests I was Looking For

preview_player
Показать описание
HTTPX is a great alternative to using requests that offers the simplicity for simple applications but also comes fully ready for async and await via asyncio, making it a very powerful all in one HTTP client for Python. In this video I show you how it is similar to requests and also demonstrate a simply async API request version.

Support Me:

-------------------------------------
Disclaimer: These are affiliate links and as an Amazon Associate I earn from qualifying purchases
-------------------------------------
Рекомендации по теме
Комментарии
Автор

Awesome. Thanks for keeping us updated

dennistanui
Автор

Surely the best youtube channel for web scrappers. I learned a lot from You. But i don't understand why you don't focus more on scrapy framework. It is surely the best tool. My salutations from Tunisia

samibenhssan
Автор

great video and super clear as always. thanks a lot!

kevinz
Автор

Thanks John you're the best man, has anyone ever told you that? It's true!!!!

jonathanjayes
Автор

Very interesting. I started a course about Web Scraping and Web Automation. Love very much this topic.

return_
Автор

Very interesting thanks for posting it

wylde
Автор

Hey, thanks for introducing me to HTTPX. Very interesting. I like what you presented, but if I may suggest an improvement it would be to not fidget around with the mouse and scrolling up and down all the time. It was really distracting. But, you still have a new subscriber now. Thanks! :-)

per-henrikjonsson
Автор

Thank you for the video, I have a question, I created automation with the Batch file, you can open all the applications and websites you need in one click, Can we do this in python? Thank you

TruthSeeker
Автор

hey mate, I'm quite new to Python and coding in general. Love the content on this channel! Any chance you could put your videos in beginner, intermediate and advanced playlists?

hahabobblehead
Автор

That is a great example and thanks for the video. Two questions, slightly off-topic and maybe a bit nooby:
1.) The "results" global list. Isn't it a suboptimal idea to append to global variables and wouldn't it be possible and a better idea to pass a reference to it to the get_episode function?
2.) I see type hinting is used in the get_episode function, but not for log_request and log_response functions. Intuitively, type hinting would be especially helpful for these cases where the argument is a non-trivial object (so that it can be enforced/suggested by my IDE) - https.response/request. Is this practice common?

yaksvk
Автор

Any recomended library for scraping dynamic web asynchronously?

hengkyariputra
Автор

What is the difference between requests-html and httpx? On the surface they seem similar.

Zale
Автор

I send the requests but some responses are missing, the number of responses are fewer than requests, what to do here?

recepcakir
Автор

thx alot
can i post multipart/form-data with httpx???

GhaithAlMasri-cvdg
Автор

Hi, Im trying to scrap a yahoo finance historical data soo when I request the html to extract the historial prices table the requests send me a different html what seems to be a javascript document

augustonunesfarias
Автор

Thann you John you are my teacher, i 'm steak learning python i have juste face thread and proccessing ans multithread un python .. How we van use it To accelerating our scriptd .. Sorry for this bas english i do my effort

ameurchabane
Автор

httpx with client is 3 times slower than requests with Sessions

angelinaioanna
Автор

You are not reusing the client on each request, you are creating one for each so you don't benefit from it in any way

Scratchmex