Web Scraping with Puppeteer & Node.js: Chrome Automation

Поделиться
HTML-код
  • Опубликовано: 24 июл 2024
  • Join my premium 2024 bootcamp here learnwebcode.teachable.com/p/...
    0:00 Intro
    1:20 Installing Puppeteer
    4:29 Taking a Screenshot
    7:09 Scraping Text From HTML
    15:34 Saving Images to Hard Drive
    21:45 Clicking a Button
    25:16 Filling Out a Form
    30:51 Scheduling a Task to Repeat
    The practice URL I'm working with in the video: learnwebcode.github.io/practi...
    My finished example code: gist.github.com/LearnWebCode/...
    Follow me for updates on new videos or projects:
    Instagram: / javaschiff
    Twitter: / learnwebcode
    Facebook: / brad-schiff-1542576316...
    Twitch: / learnwebcode

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

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

    34:52 "Hope you feel like you learned something". Man, I learned a lot! Thank you!

  • @mackenmd
    @mackenmd 3 года назад +47

    Fantastic course and the automation part at the end is almost immediately applicable to me! You just instantaneously put yourself on my tech radar! Thank you, sir.

  • @phubbert91
    @phubbert91 Год назад +4

    Hello. Your course was the first time I was able to follow along and not hit a snag. This was so much fun. Thank you.

  • @shahriarparvezshuvo4760
    @shahriarparvezshuvo4760 3 года назад +2

    Awesome, I just literally looking for this. Thanks Brad. Good to see you. 😁

  • @cecilec9234
    @cecilec9234 2 года назад +10

    Unlike some RUclipsrs on here you explain EVERYTHING. You make it so easy! Best teacher ever thankyou!

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

    New favorite teacher. I actually have hated using javascript since 1998, but I have a reason to use Puppeteer. Great video!

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

    This is really good. I started getting into this about a year ago, and coming back to it was a blur. It's all coming back to me now.

  • @suhailxeaser
    @suhailxeaser 3 года назад +4

    Perfect timing, I was looking for selenium and my favorite teacher has made a video on the similar tool. Great :)

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

    Great video! As someone with 0 development experience who wanted to archive many images, this was perfect.

  • @jacobvalenzuela2546
    @jacobvalenzuela2546 2 года назад

    I tried web scraping in December 2020 but had no luck. I am very happy I found this video!

  • @webmaster246
    @webmaster246 2 года назад

    Every time I watch this , combo for towel under the keyboard & Mr. Barksalot makes my day , Brad ! :D

  • @keawewong6110
    @keawewong6110 3 года назад +4

    Very cool node pack. Thanks, Brad. I am taking your WP dev course. Enjoy it very much. The extra plugin lessons you added are a gem. Thanks so much! Let's keep things rolling. I will see you in the next RUclips video 😆

  • @sagimisan6422
    @sagimisan6422 2 года назад +2

    Thank you !
    It was a great course !!
    It helped me a lot, and I finally found answers to my questions.

  • @kashmirtechtv2948
    @kashmirtechtv2948 2 года назад

    You are amazing!! ❤️❤️❤️❤️❤️❤️
    He explained the things that 99 percent of the youtubers don't share.

  • @Cho1279624
    @Cho1279624 2 года назад

    Your explanation is crystal clear. Thank you so much!!!

  • @basement_grower
    @basement_grower 2 года назад +1

    Great video! You explain the content very well. Thank you sharing your knowledge!

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

    I'm on minute 6 and my jaw is on the floor already, this is exactly what I needed. Thank you!

  • @hirenpatel2236
    @hirenpatel2236 2 года назад +2

    Beautifully explained! Thank you!

  • @991122bc
    @991122bc Год назад

    Really enjoy the way you teach, I did learn something every time I watched, awesome ! Now I can practice, great

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

    simple, clear, amazing ! Thank you for making this video

  • @PhilippeRigovanov
    @PhilippeRigovanov 3 года назад +2

    Great tutorial! Thank you for the video and for the code!

  • @victory_lucky
    @victory_lucky 3 года назад

    thanks so much for this.
    i first heard about cron few years back while working with wordpress, i would definitely learn more about it.

  • @Stan-mh7bf
    @Stan-mh7bf Год назад

    Wow such a neat and clever code, I just could not resist to subscribe!

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

    REALLY useful!!! Thank you so much from Buenos Aires, Argentina

  • @arnonasquira796
    @arnonasquira796 2 года назад

    this is a great video, and your explenations and examples are very good

  • @dilipgokulapati3597
    @dilipgokulapati3597 2 года назад

    Best video to understand puppeteer, hats off. Thanks for ur efforts

  • @tedmureithi6483
    @tedmureithi6483 2 года назад

    Your cat really does mewalot, this was very helpful to me in getting started with puppeteer

  • @thomasblack3415
    @thomasblack3415 2 года назад +1

    Great course! I had some trouble with $eval and $$eval before this now I totally get it. Thank you!

  • @OstonCodeCypher
    @OstonCodeCypher 3 года назад +19

    You always read my mind, and btw thanks for the WordPress course. Am now able to earn my living becoz of you.
    LONG LIVE Brad.

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

    I start learning puppeteer for a whatsapp project of mine and also some refresher of JS
    Since I haven't code that much anymore, but I've to say that this was a very informative tuts.
    Good Job!

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

    Wow! this is exactly what I was looking for.
    Thank you so much.

  • @Habib_HBB_17
    @Habib_HBB_17 3 года назад +7

    The best teacher forever 💪❤️

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

    Amazing video man. Thanks for sharing the knowledge!

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

    You are doing a wonderful job by giving Knowledge many thanks

  • @alex-desroches
    @alex-desroches 3 года назад

    this was a great tour of puppeteer. thanks!

  • @talhamuneer5485
    @talhamuneer5485 2 года назад

    Thank-you! Sir
    Great Tutorial…
    Clear in depth explanation!

  • @ianherring1090
    @ianherring1090 2 года назад +2

    thank you very much for your detailed explanation. One of the best teachers on youtube. BTW, how would you webscrape with web3 i.e. metamask required to see the info on page?

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

    Very interesting subject and excellent teacher !

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

    Excellent brother, very grateful to you 💜💜💜

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

    Oh! What i was looking for. Thanks!😮

  • @JoseHenrique-xg1lp
    @JoseHenrique-xg1lp 2 года назад +1

    I had never tried puppeteer before because I thought it would be so hard... It turns out this is a breeze, thank you! Just my two cents on crons, we realistically are going to use PM2 to restart automatically the app if anything goes wrong, even if the physical server reboots... personally... I set up our express server and crons to be different entrypoints in the same codebase. I'm yet to see a problem with this approach (perhaps slightly hurt performance and node libs stability)

  • @youdjparents
    @youdjparents 3 года назад +2

    you're a great teacher, thanks!

  • @isagive
    @isagive 2 года назад

    thanks a lot man, you make it easy to follow and learn 🙏🙏

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

    Really love the way you teach ❤️

  • @fizruk7644
    @fizruk7644 2 года назад

    oh FINALLY reeeally good tutorial on this topic

  • @zohar10001000
    @zohar10001000 2 года назад

    excellent tutorial ,it makes it so easy, thanks!

  • @hadiasghari2266
    @hadiasghari2266 3 года назад

    u r the only reason that i am still coding in js.

  • @CodingJourney
    @CodingJourney 3 года назад

    Brilliant!! Huge thanks and love 🙂💙💙

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

    great way of expalining things.. thanks

  • @jayanth704
    @jayanth704 2 года назад

    Really Great Content !! Learnt Web Scraping with such ease !! Keep doing bro You jsut earned a Sub!!

  • @talhamikaaiyl5483
    @talhamikaaiyl5483 2 года назад

    Awesome tutorial, thank you!

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

    I have watched full video. Wow so amazing...

  • @anaelennaemeka4078
    @anaelennaemeka4078 2 года назад

    Awesome, explained in details

  • @meshaelshahid7082
    @meshaelshahid7082 2 года назад

    BEST PUPPETEER VIDEO!

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

    Very very nicely done!!! 👍👍👍👍

  • @fredb5626
    @fredb5626 2 года назад

    loved the video man - really helped me out

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

    This video help me so much 💯 Thank you

  • @yannik8271
    @yannik8271 2 года назад

    Thank you so much man! Great explanation!:)

  • @AyushPanditofficial
    @AyushPanditofficial 3 года назад

    Wow nice to see you again

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

    Amazing amazing tutorial!!!

  • @lliscn1701
    @lliscn1701 3 года назад

    Great explanation!

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

    Great course!

  • @nicetomeetugaming7024
    @nicetomeetugaming7024 2 года назад

    Thanks for this amazing video sir!

  • @rupertxyz
    @rupertxyz 2 года назад

    This was a great tutorial!

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

    35 minutes ran looking like 5 mins...great job explaining! thanks

  • @guybenda1
    @guybenda1 3 года назад

    Amazing content 🔥

  • @Shifter21000
    @Shifter21000 2 года назад +2

    Hi Brad, Thanks for this. I heard we can start a puppeteer browser and then control it remotely from JS, that would be a really nice tool to know.

  • @user8ZAKC1X6KC
    @user8ZAKC1X6KC 2 года назад +1

    Great tutorial. I am having an odd experience (which I assume is due to my lack of experience). I am getting a massive string of errors when I do this, but it still works. Like the output is what is expected. I have traced the errors back to possibility that I am using the wrong version of Node.JS (I am using the most current) but I don't know which version I should be using to squelch those errors or if it even matters. They are mostly navigation errors "Unable to navigate it invalid URL ..../puppeteer/common/Connection.js :230:24" etc... in the terminal.

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

    it's a short video compared to other tutorials available on youtube. but its way better than those tutorials.

  • @etambuyulikukela420
    @etambuyulikukela420 2 года назад

    solid tutorial thanks man

  • @gavincoulson3900
    @gavincoulson3900 2 года назад

    Great vid, thanks for this

  • @andrewbateman2282
    @andrewbateman2282 2 года назад

    Thanks, great video.

  • @tedspens
    @tedspens 3 года назад +10

    I was trying to figure out the best way to copy images, current prices and other information from some online catalogs, and here you pop in with exactly what I need. But what I really want to know is how you got that code to scrape my thoughts. Thanks!

  • @pramodhsp6326
    @pramodhsp6326 3 года назад

    awesome this is mind-blowing

  • @user-mo3cw6go7c
    @user-mo3cw6go7c 3 года назад

    Hooo the best channel on the earth 🌍

  • @kamuiellis610
    @kamuiellis610 2 года назад

    Dude i bought a course on udemy about puppeteer and you explain more stuff on this topic smh. Thank you

  • @nazarpasha
    @nazarpasha 2 года назад

    Perfect bro thanks!

  • @nicolaslupo5021
    @nicolaslupo5021 2 года назад

    Thx! Awesome content!

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

    What a great kickstarter tutorial. As someone who is using using web scraping to help me refresh my Javascript skills, this is exactly what I need to get a jump out of the gate.

  • @kamaleshpramanik7645
    @kamaleshpramanik7645 2 года назад

    Thank you very much Sir ...

  • @becuasegoodreason
    @becuasegoodreason 2 года назад

    Perfect explains

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

    your cats meowing in the background made me think mine were in another room 😂

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

    great tutorial! How would you crawl on the website using your "Scraping Text from HTML" part? Can you do a part 2 of this that shows us how to crawl with scraping?

  • @imonw3b
    @imonw3b 2 года назад

    I can hear meowsalot in the background. Maybe hungry. lol. Thank you for the tutorial. :)

  • @auychatcharin940
    @auychatcharin940 2 года назад

    Thank you very much.

  • @omargian_stw1305
    @omargian_stw1305 2 года назад

    Great tutorial. Very helpful. One question. I have a task that is extract data from website and then convert it to json I don't need to store those data instead I need to send it those data to another website via api rest. Any idea or suggestions is welcome.

  • @innovativeideas442
    @innovativeideas442 3 года назад

    my favourite teacher

  • @johng8316
    @johng8316 2 года назад

    Awesome Video Brad! Loved it. One note however. I am running Node JS version 17.1.0 and my node-cron failed without first installing a module called uuid. I'm assuming its a necessary dependency. npm install uuid did the trick. In case anyone else has this issue.

  • @danielasuarez6017
    @danielasuarez6017 2 года назад

    Can you show how we would add this data to an excel sheet after we automate it? This is very helpful! Thanks so much!!

  • @emee__
    @emee__ 2 года назад +1

    Thanks for the video, please how do I prevent Puppeteer from clearing cookies and session data each time, I close the browser?

  • @yannik8271
    @yannik8271 2 года назад

    Thank you so much man. :) But could someone pls explain to me what the buffer method as seen at 20:52 exactly does? When do you use it? Thank you very much!

  • @salim6482
    @salim6482 3 года назад

    Please make a video or a blog an how can we open chrome with some extensions using puppereer

  • @rajendraku.mohanty6216
    @rajendraku.mohanty6216 3 года назад

    ❤️❤️❤️ great sir

  • @dtg2219
    @dtg2219 3 года назад

    Nice Video!

  • @No1mrnoobplayer
    @No1mrnoobplayer 3 года назад

    thank you. how can we use jQuery insted of pure javascript?

  • @MrRush333
    @MrRush333 2 года назад

    Would doing the secret message task before the img task stop the images from properly loading? And if so how would you navigate back to collect those images?

  • @amirkamalian8045
    @amirkamalian8045 3 года назад

    Soo it means that you are planning a web scraping course?? I’m really waiting for that to happen ✨

  • @barnabysomkuti4195
    @barnabysomkuti4195 3 года назад

    this is gold

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

    how do i add this to a WordPress custom post type that can take screenshots of other websites on every post type with its own different name

  • @vighneshmanjrekar5213
    @vighneshmanjrekar5213 2 года назад

    Thank you