Web Scraping with Puppeteer & Node.js: Chrome Automation

Поделиться
HTML-код
  • Опубликовано: 9 янв 2025

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

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

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

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

    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.

  • @cecilec9234
    @cecilec9234 3 года назад +11

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

  • @phubbert91
    @phubbert91 2 года назад +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.

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

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

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

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

  • @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.

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

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

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

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

  • @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.

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

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

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

    The best teacher forever 💪❤️

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

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

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

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

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

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

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

    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!

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

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

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

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

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

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

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

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

  • @Cho1279624
    @Cho1279624 3 года назад +1

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

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

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

  • @Stan-mh7bf
    @Stan-mh7bf 2 года назад

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

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

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

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

    Beautifully explained! Thank you!

  • @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.

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

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

  • @kai_wong_cn
    @kai_wong_cn 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 😆

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

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

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

    Very interesting subject and excellent teacher !

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

    oh FINALLY reeeally good tutorial on this topic

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

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

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

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

  • @Takatou__Yogiri
    @Takatou__Yogiri 7 месяцев назад

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

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

    You are doing a wonderful job by giving Knowledge many thanks

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

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

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

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

  • @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!

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

    Amazing video man. Thanks for sharing the knowledge!

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

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

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

    Excellent brother, very grateful to you 💜💜💜

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

    this was a great tour of puppeteer. thanks!

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

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

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

    BEST PUPPETEER VIDEO!

  • @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.

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

    you're a great teacher, thanks!

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

    Oh! What i was looking for. Thanks!😮

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

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

  • @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)

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

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

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

    Really love the way you teach ❤️

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

    loved the video man - really helped me out

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

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

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

    I actually died on "This is top secret text. The world is not ready to know that 2 + 2 = 4" :D

  • @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!

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

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

  • @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?

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

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

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

    Wow nice to see you again

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

    Awesome, explained in details

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

    excellent tutorial ,it makes it so easy, thanks!

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

    Very very nicely done!!! 👍👍👍👍

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

    great way of expalining things.. thanks

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

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

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

    Thank you so much man! Great explanation!:)

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

    This video help me so much 💯 Thank you

  • @ינוןאלבז-כ1ז
    @ינוןאלבז-כ1ז 3 года назад

    Hooo the best channel on the earth 🌍

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

    Just amazing stuff ❤❤

  • @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.

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

    Awesome tutorial, thank you!

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

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

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

    From 16:00 there is that Meawsalot, you hear it too? First I thought it was outside my door...

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

    Thanks for this amazing video sir!

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

    Brilliant!! Huge thanks and love 🙂💙💙

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

    Amazing amazing tutorial!!!

  • @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.

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

    This was a great tutorial!

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

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

  • @Shifter21000
    @Shifter21000 3 года назад +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.

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

    Great explanation!

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

    Amazing content 🔥

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

    Great course!

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

    solid tutorial thanks man

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

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

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

    This is good video. Best teacher. But can we us this technic on server side pages ND can we use this puppeteer to download a whole webpage file? If yes how can we do that?

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

    my favourite teacher

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

    What script do I need to type if I want to close the pop up page that appears after clicking submit button? Or go back to previous page?

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

    Great vid, thanks for this

  • @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?

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

    How do I accept user input or get it from mysql database then use that to login in a website.

  • @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

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

    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?

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

    for some reason i had to do this for this to run "await fs.writeFile("names.txt", (await names).join("
    "))? I kept getting a names not a function error?

  • @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!!

  • @vratislavbartonicek52
    @vratislavbartonicek52 3 года назад +1

    If you need more power and scalability - make sure to give a shot to open-sourced Apify SDK ;-)

  • @aliklt6132
    @aliklt6132 7 месяцев назад

    How to wait for manual typing captcha login page and after typing automatically login? Please do a tutorial node js puppetteer.

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

    Hey, what's your terminal in vscode ? Why is it so nice 😁

  • @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.

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

    When I open a URL using puppeteer it loads faster. And it uses so much RAM and CPU (in heavy scraping).
    So I decided to programatically call URL using request.js library. Reading responses, saving cookies into variables, calling each link of images or whatever, one-by-one. But it is slow.
    Puppeteer loads everthing in that page, things that I dont need. Whereas in manual method, I call only essential links.
    Then why puppeteer is fast, and my method is slow?
    Theoratically my method should be the fastest, right? Please help.

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

    As it navigates to new page . We want to get every single text on the new page. How can we achieve that