A Guide to Web Scraping with Node.js

  Рет қаралды 367,662

Fireship

Fireship

4 жыл бұрын

Learn how to build a web scraper ⛏️ with NodeJS using two distinct strategies, including (1) a metatag link preview generator and (2) a fully-interactive bot for Instagram. fireship.io/lessons/web-scrap...
1. Build a simple link preview scraper with Cheerio.
github.com/cheeriojs/cheerio
2. Build an interactive Instagram scraper with puppeteer.
github.com/GoogleChrome/puppe...
#javascript #nodejs #webdev
Take the quizzes 🤓
iOS itunes.apple.com/us/app/fires...
Android play.google.com/store/apps/de...
Upgrade to Fireship PRO at fireship.io/pro
Use code lORhwXd2 for 25% off your first payment.

Пікірлер: 414
@oleksandrisaryk4728
@oleksandrisaryk4728 4 жыл бұрын
Me yesterday: Hmm...there is no API available, well, need to learn how to scrap with node. Fireship today: A Guide to Web Scraping with NodeJS Well done.
@chicken_teriyaki
@chicken_teriyaki 4 жыл бұрын
No one like this comment, it has achieved greatness
@BearologyLabs
@BearologyLabs 3 жыл бұрын
@Killian Malik Tried plenty of methods, this one seems to be working!
@lizzagarcia6405
@lizzagarcia6405 2 жыл бұрын
L
@PawelPolskiPL
@PawelPolskiPL 4 жыл бұрын
I love it! It’s the most useful video on KZbin for me, ever! Today all day I was making app using puppeteer, I didn’t know it’s so easy, thank you as always for great video. Now I’ll be saving over 40 min every day at work 😂👍
@actualmortgage7122
@actualmortgage7122 3 жыл бұрын
Thanks for this upload. I got into a little bit of web scraping a couple years ago but ran into a lot more complexity than I was expecting for a tiny little side project. Now that I know a lot more, and JS, hoping to add this to the toolbelt.
@PaleSaturn
@PaleSaturn 4 жыл бұрын
This is one of the best programming channels on KZbin. Love the production on your videos!
@remoteworkboard
@remoteworkboard 4 жыл бұрын
You must be a mind reader. I was struggling with my link preview generator all week! Thank you soooo much.
@MrDots99
@MrDots99 4 жыл бұрын
I've been doing this for that past 2 days at work and you upload a video today haha , fortunately I got it working but its always nice to see you upload !
@alexanderf7008
@alexanderf7008 4 ай бұрын
I only start understanding things better after watching your videos. It's such a great explanation and never boring.
@arisweedler4703
@arisweedler4703 4 жыл бұрын
I love it! :D such well-made videos. I appreciate how you explain the problems that packages solve instead of just trying to peddling hype
@theblackharted
@theblackharted 4 жыл бұрын
Your content is top notch and so well done!! Easily my favorite programming channel
@Tizmo-tt9ry
@Tizmo-tt9ry 4 жыл бұрын
when you say as hackers i feel so cool
@Fireship
@Fireship 4 жыл бұрын
Haha, web scraping always feels very hacky.
@anonwithamnesia
@anonwithamnesia 4 жыл бұрын
@@Fireship Which font do you use?
@Fireship
@Fireship 4 жыл бұрын
@@anonwithamnesia Fira code
@StingSting844
@StingSting844 4 жыл бұрын
Haha yeah its hacky and cool. Once you start to make money off scrapped pages you will sued though
@vaishnav4750
@vaishnav4750 4 жыл бұрын
😊yes
@armaandhanji2112
@armaandhanji2112 4 жыл бұрын
HUGE fan of your Node videos. Thank you so much! Best channel on KZbin.
@firaskudsy
@firaskudsy 4 жыл бұрын
Thanks for those amazing videos... u r covering the full full stack 👍
@almostanengineer
@almostanengineer 4 жыл бұрын
I love the fact your using Insomnia for your rest requests, when I started working with API, I was told to try Postman, and found it overly complicated everything, then I found Insomnia, so much cleaner and easier to use.
@anuraghazra4772
@anuraghazra4772 4 жыл бұрын
I agree
@curiousnrd
@curiousnrd 4 жыл бұрын
Fantastic video! I’m excited to test this out. Thank you for sharing this information.🙏🏾
@f3lixadam
@f3lixadam 4 жыл бұрын
Hi Jeff, thank you so much for your videos! We are building a startup and without your tutorials and explanations, I don't know if we could have ever gotten such a great insight how the mechanims work, especially for Ionic/Firebase. Much Love from Germany
@Fireship
@Fireship 4 жыл бұрын
Wow, that is awesome! Keep me posted on your progress :)
@pepperpeterpiperpickled9805
@pepperpeterpiperpickled9805 Жыл бұрын
@@Fireship If I didnt think you were an AI, I'd want to buy you a beer
@ninanordbo
@ninanordbo Жыл бұрын
Love your content! Well done, my favorite youtube resource. Love that you get straight to the point.
@bartub5369
@bartub5369 4 жыл бұрын
Great content! I have previously made a scraper for a discord bot with cheerio before, but never really fiddled around with puppeteer or anything similar to it earlier. Thanks for the ideas :)
@TheGejr
@TheGejr 4 жыл бұрын
Just as I'm building a news-scraper you make this amazing video! You're using the exact same packages I am :^) Great video as always!
@diabolo1
@diabolo1 4 жыл бұрын
OMG I’ve been looking for all the web for resources on WebScraping and suddenly your video appears! Well done!
@boriskrstic
@boriskrstic 4 жыл бұрын
This video is literally like you listened to me today what I was wondering about. Thanks for the puppeteer part! :)
@Fireship
@Fireship 4 жыл бұрын
Awesome! The topic came from a suggestion in the slack channel last week :)
@AaronJack
@AaronJack 4 жыл бұрын
So many things could be built around puppeteer, and the await syntax makes it so easy to reason about. Also seems like this is a perfect use-case for cloud functions vs having a dedicated API server. Great video.
@steaklover575
@steaklover575 4 жыл бұрын
Been here for a long time, your content just gets better and better!
@ambarmutha8504
@ambarmutha8504 4 жыл бұрын
🔥ship is AWESOME! Every time I have a project on my mind I find something useful to steal from this channel.
@justafreak15able
@justafreak15able 4 жыл бұрын
In an open source world there is no such thing as stealing.
@tanujvyas6124
@tanujvyas6124 4 жыл бұрын
Thank you for this video .I was looking for guidance for web scraping .This video prooved to be a great source.
@jimmymac601
@jimmymac601 4 жыл бұрын
As a long time subscriber, you need to make tutorials every day. Fantastic work.
@Fireship
@Fireship 4 жыл бұрын
I wish I could, my idea list is massive.
@calebkopp4174
@calebkopp4174 4 жыл бұрын
Very insightful. Appreciate all the work that's put into the videos
@Autoscraping
@Autoscraping 3 ай бұрын
An outstanding video that has been a valuable reference for our newcomers. We sincerely thank you for sharing!
@camerenisonfire
@camerenisonfire 4 жыл бұрын
Always such interesting and well produce videos. Thanks, Fireship.
@sebastiancuk7004
@sebastiancuk7004 4 жыл бұрын
Im using puppeteer in my work to make short videos testing the app automatically (feels awesome). Also really cool video keep the good work !
@ShivamGupta-nz7dy
@ShivamGupta-nz7dy 4 жыл бұрын
When it comes to Web Scraping, most will talk about Python. Felt very happy knowing Web Scraping can also be done easily using JavaScript. Thanks a lot.
@softwarelivre2389
@softwarelivre2389 3 жыл бұрын
Javascript is the native environment for web scraping. Not only it is asynchronous, but also Javascript was created to be used on the web. To see people using interpreted, slower python for that is just sad. Not that there is something wrong with python, but it has other purposes. JS is much better for scraping pages generated with React, for example. On python, you can, at best, use a bot to simulate a user control. With JS, you can evaluate the DOM and then retrieve your data without the need of emulating a real user, and that is very powerful.
@lyricalstudio7845
@lyricalstudio7845 4 жыл бұрын
All your videos are amazing!! Keep up the good work and we will do our best to support your channel. Cheers!! :-)
@stevewitman
@stevewitman 4 жыл бұрын
Interesting topic and it was also helpful seeing a firebase cloud function being set up.
@yejielwahnich6136
@yejielwahnich6136 4 жыл бұрын
Link preview I wonder if I will ever need this. Said jokingly knowing they talked about it just 1 week ago. Awesome content !!
@Fireship
@Fireship 4 жыл бұрын
I get my best ideas from Slack :)
@yejielwahnich6136
@yejielwahnich6136 4 жыл бұрын
@@Fireship not for nothing we love/hang around slack ;)
@randith87
@randith87 4 жыл бұрын
Just getting into Node, and Json. Having a lot of fun! Definitely a challenge! 😎💻
@SmartWizzard
@SmartWizzard 4 жыл бұрын
Man you are awesome, all your videos are latest, useful and very informative. I very much happy that I have subscribed to your channel.
@iykazorji8171
@iykazorji8171 4 жыл бұрын
This is some quality content yo! Thanks for this!
@greatsuccess4734
@greatsuccess4734 4 жыл бұрын
I have been waiting for this video for so long thank you so much
@mateiadriel353
@mateiadriel353 4 жыл бұрын
the puppeteer support for firefox is awesome!
@albertchung7641
@albertchung7641 3 жыл бұрын
This channel's videos are all so cool. You rock!
@alinandrei9006
@alinandrei9006 4 жыл бұрын
Thanks, understood what I came for from the first two minutes.
@alokrawatt
@alokrawatt 4 жыл бұрын
Thanks for your video, I have all of your videos. Loving it.
@trusterzero6399
@trusterzero6399 4 жыл бұрын
As a programmer there is a lot of stuff that I kinda want to look in to but I never really get the chance to. These videos are helping me hard with that
@igotapochahontas
@igotapochahontas 4 жыл бұрын
This is a really good video. Very clear explanation and simple
@bharathravi7820
@bharathravi7820 4 жыл бұрын
Was looking forward to this, thanks a ton!
@raph6709
@raph6709 Жыл бұрын
Dude...this is exactly what I needed... why are you so helpful
@Oxcorp
@Oxcorp 4 жыл бұрын
Love your videos man, best quality!
@DarkNenyk
@DarkNenyk 4 жыл бұрын
Thanks to you I got into Angular
@adante407
@adante407 4 жыл бұрын
This video is great! Just subscribed. Fantastic channel, amazing content. 👍
@coolaydalena
@coolaydalena 4 жыл бұрын
Ooohhhhwwww.. More Ideas about cloud functions please... 🔥❤️
@htky
@htky 4 жыл бұрын
Perfect timing, I just started a project that will involve scraping 👌🏻
@drowmik
@drowmik 4 жыл бұрын
That a cool detailed video in a very short time about scrapping...
@will_abule
@will_abule 4 жыл бұрын
Thanks Jeff this can be extended for ssr and seo 😁
@iova666
@iova666 4 жыл бұрын
wish i had this vid a few years ago. you just gained a new sub :)
@G3Number
@G3Number 4 жыл бұрын
Your tutorials are top quality !!
@zarefgamz2515
@zarefgamz2515 4 жыл бұрын
You saved me a lot of time to find the name of a tool It has been more than 3 days searching for that tool
@akarshbarar1492
@akarshbarar1492 4 жыл бұрын
Hey one of the thing I have been searching from last 4 months..
@iddrissraaj6737
@iddrissraaj6737 4 жыл бұрын
Great Video, informative as always
@viveksoundrapandi
@viveksoundrapandi 4 жыл бұрын
Never new about puppeteer. Excellent one
@RoshanKumar-yr1jf
@RoshanKumar-yr1jf 4 жыл бұрын
Thanks for the great video... I always wanted to do something in this domain...I was just shifting to python scrapy tool... Thanks again for awesome video..😃😃
@jeandrepentz5011
@jeandrepentz5011 4 жыл бұрын
That puppeteer library looks neat, never knew about it
@anonwithamnesia
@anonwithamnesia 4 жыл бұрын
Great Video! I love your videos. Keep it up bro!!
@aravind.a
@aravind.a 4 жыл бұрын
Good explanation with example, Jeff.
@yallayeho1238
@yallayeho1238 4 жыл бұрын
Very interesting topic! Thank you!
@alexgogan1617
@alexgogan1617 4 жыл бұрын
I'll be having such a scrape time with this!
@milesmeow
@milesmeow 4 жыл бұрын
A great video for adding a tool to our web Swiss Army knife.
@OniasdaRocha
@OniasdaRocha 3 жыл бұрын
you just got yourself a subscriber, great content my man
@MagnusVestergaard
@MagnusVestergaard 4 жыл бұрын
Web scraping is a great thing to know, thanks!
@jlai383
@jlai383 4 жыл бұрын
I like this kinda demo so much!
@AngrejKumar
@AngrejKumar 2 жыл бұрын
this is awesome man. Thank a lot!
@gavinmurphytheperson5446
@gavinmurphytheperson5446 4 жыл бұрын
Thats pretty cool. Don't have a use case yet to use this yet but I can imagine how useful it could be. Great video as usual!
@tworizki
@tworizki 4 жыл бұрын
It is. Imagine you could scrape the entire net and let people browse your scraped pages using keywords. Oh wait...
@tekforge
@tekforge Жыл бұрын
Thanks for the insights!
@aravindmj3723
@aravindmj3723 4 жыл бұрын
Thanks for the video Jeff..
@gauravdasgupta3663
@gauravdasgupta3663 4 жыл бұрын
Everytime I share some url in my LinkedIn posts..it loads the preview so beautifully...and I was always thinking how do they do that... U made it so easy.. now I can do it too... Thanks a ton
@vinukurian389
@vinukurian389 4 жыл бұрын
Exactly what i was looking for 👨‍💻
@zdravko6t5
@zdravko6t5 4 жыл бұрын
Very interesting video. Learned so much from this video. Didn't know you can do such idea using Instagram.
@T3P
@T3P 4 жыл бұрын
I really love watching your videos ❤️
@GavinLon
@GavinLon 4 жыл бұрын
Very interesting video and very well presented. Thank you.
@juancamiloq1
@juancamiloq1 4 жыл бұрын
Awesome content bro. Congrats!
@RoyRope
@RoyRope 4 жыл бұрын
Awesome just scraping for a project right now.
@firestoreprojects6202
@firestoreprojects6202 4 жыл бұрын
Amazing as always.
@troykoss
@troykoss 4 жыл бұрын
Great stuff, Jeff!
@alemaoBOSS
@alemaoBOSS 4 жыл бұрын
Love your content, just waiting for a few more courses to be available in fireship to buy pro. I will win the next T-shirt btw :)
@mksoftwaresolutions9303
@mksoftwaresolutions9303 4 жыл бұрын
Another great video. Thank you.
@SouthPeter98
@SouthPeter98 4 жыл бұрын
Great video, as always!
@sachinprabhuk6241
@sachinprabhuk6241 4 жыл бұрын
Awesome videos. Keep up the awesome work
@lifasibiya4810
@lifasibiya4810 4 жыл бұрын
Thanks again for the video Jeff. Last year, I was using a library called HtmlAgilityPack to achieve some of this with C#. You've made it quite simpler. YOU DESERVE THE FIRST FLYING CAR MAN👍🏾
@williamragstad
@williamragstad 4 жыл бұрын
Amazing video! Love your content!
@ryansamarakoon8268
@ryansamarakoon8268 4 жыл бұрын
This is great! I want to try make like an app that uses face recognition to try find pictures of you where you were tagged or not, but I was too late to start using the API. This now gives me hope that it's possible
@fakesingh3235
@fakesingh3235 4 жыл бұрын
I was looking for this only!!
@rockwoodfrank1517
@rockwoodfrank1517 4 жыл бұрын
Very useful. Thank you!
@xit
@xit 4 жыл бұрын
That Tshirt Looks SICK!
@scottmccartney1518
@scottmccartney1518 4 жыл бұрын
Awesome vid, really appreciate it!
@bjerz23
@bjerz23 4 жыл бұрын
Your videos are just so good
@firstprincipleslearning
@firstprincipleslearning 4 жыл бұрын
Great videos as always !
@DisasterSPA
@DisasterSPA 4 жыл бұрын
Amazing video as usual!
@mohammedgadi884
@mohammedgadi884 4 жыл бұрын
Awesome Explanation.
@francis584
@francis584 4 жыл бұрын
awesome! thank you for that content.
@adrienlucbert2769
@adrienlucbert2769 4 жыл бұрын
Clean and interesting video, as usual ;)
@antogyn6124
@antogyn6124 4 жыл бұрын
thanks for this!
@BrianClincy
@BrianClincy 4 жыл бұрын
Kevin Darrent.. I have used puppeteer and did a meetup with it. Thanks!
Intro To Web Scraping With Puppeteer
21:24
Traversy Media
Рет қаралды 92 М.
Web Scraping with Python - Beautiful Soup Crash Course
1:08:23
freeCodeCamp.org
Рет қаралды 1,4 МЛН
Useful Gadget for Smart Parents 🌟
00:29
Meow-some! Reacts
Рет қаралды 8 МЛН
Surprise Gifts #couplegoals
00:21
Jay & Sharon
Рет қаралды 21 МЛН
How to open a can? 🤪 lifehack
00:25
Mr.Clabik - Friends
Рет қаралды 10 МЛН
GitHub Copilot just got promoted to Captain
4:01
Fireship
Рет қаралды 545 М.
Top 10 CSS One Liners That Will Blow Your Mind
13:34
developedbyed
Рет қаралды 869 М.
Always Check for the Hidden API when Web Scraping
11:50
John Watson Rooney
Рет қаралды 588 М.
Intro To Web Scraping With Node.js & Cheerio
20:15
Traversy Media
Рет қаралды 190 М.
Industrial-scale Web Scraping with AI & Proxy Networks
6:17
Beyond Fireship
Рет қаралды 682 М.
web scraping with NodeJS
33:56
Hitesh Choudhary
Рет қаралды 48 М.
Claude 3 just destroyed GPT-4 and Gemini... AGI is near?
4:29
Fireship
Рет қаралды 1,1 МЛН
I wish I knew this When Istarted Programming #school #software  #codingtips
0:34
Claude Ams - Programming Guru 💻
Рет қаралды 12 МЛН
Start from 0 at any point on the T1 Digital Tape Measure
0:14
REEKON Tools
Рет қаралды 26 МЛН
Which Phone Unlock Code Will You Choose? 🤔️
0:12
Game9bit
Рет қаралды 6 МЛН
Why spend $10.000 on a flashlight when these are $200🗿
0:12
NIGHTOPERATOR
Рет қаралды 16 МЛН