Launching the Bot - NodeJS Scraping with Puppeteer Tutorial #1

แชร์
ฝัง
  • เผยแพร่เมื่อ 28 ม.ค. 2025

ความคิดเห็น • 57

  • @upByNune
    @upByNune 2 ปีที่แล้ว

    I appreciate you for refreshing my memory. GOAT!

  • @apeiron4409
    @apeiron4409 4 ปีที่แล้ว +2

    This is awesome! can't wait for the next video

  • @RyanJohnson
    @RyanJohnson 2 ปีที่แล้ว

    🙌Thank you, Pedro! 🙌

  • @drewmacstudio
    @drewmacstudio 2 ปีที่แล้ว

    Thanks fot the tutorial, seeing this step by step makes a lot more sense than anything I've found so far.
    If you do npm init -y to it skips through the package.json setup for you. Also, there seems to be an issue with newer versions of puppeteer where it throws an error about the browser path: An `executablePath` or `channel` must be specified for `puppeteer-core`
    If you get that just import an extra variable under where you import puppeteer like
    const { executablePath } = require("puppeteer")
    Then in the browser variable where you launch puppeteer, add an extra key and value pair with the executable path you imported
    const browser = await puppeteer.launch({
    headless: false,
    executablePath: executablePath(),
    })

  • @Thedoorisbanana
    @Thedoorisbanana ปีที่แล้ว

    Thank you, your video helped.

  • @emee__
    @emee__ 3 ปีที่แล้ว +1

    How do I create a bot that collects user input and logins in a website?

  • @luberalexanderechavarriabe4156
    @luberalexanderechavarriabe4156 3 ปีที่แล้ว

    Hi Pedro , thanks for sharing your knowledge mate .

  • @vishistsd
    @vishistsd 3 ปีที่แล้ว

    hey perdo, what vscode theme do you use?

  • @eiderarango5863
    @eiderarango5863 4 ปีที่แล้ว +2

    Hi buddy, thanks for the tutorial. Is it possible to publish a comment on youtube using puppeteer, how you handle the login too?

    • @PedroTechnologies
      @PedroTechnologies  4 ปีที่แล้ว +1

      It is absolutely possible! I will teach how to handle login in the next couple videos, a good example is being able to login into instagram and liking people's posts, or commenting stuff!

  • @tonyholmes1869
    @tonyholmes1869 3 ปีที่แล้ว

    what script editor are you using?

  • @kaminskidaniell
    @kaminskidaniell 3 ปีที่แล้ว +1

    Hello, could you tell the name of your VSC theme? It is beatifull :D

  • @joelsonreis3799
    @joelsonreis3799 3 ปีที่แล้ว +1

    Pedro, seria possivel imprimir no chrome o alert com uma mensagem vinda do body com o puppeteer?

  • @snehapradeep3082
    @snehapradeep3082 4 ปีที่แล้ว +1

    Great video! Thankyouu

  • @bilelmalek6721
    @bilelmalek6721 3 ปีที่แล้ว +1

    great video thanks

  • @debasissaikia304
    @debasissaikia304 4 ปีที่แล้ว +1

    Awesome

  • @computerlearningbyargusaca5217
    @computerlearningbyargusaca5217 4 ปีที่แล้ว +1

    🙏🙏Very beautifully 👍👍explained 😍😍

  • @purushottammishra2405
    @purushottammishra2405 3 ปีที่แล้ว

    how to use puppeteer with react and scrape image off of an amazon page?

  • @theseogeek
    @theseogeek 2 ปีที่แล้ว

    hmmm
    i need to start at the very very beginning i get this
    npm : The term 'npm' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
    At line:1 char:1
    + npm init
    + ~~~
    + CategoryInfo : ObjectNotFound: (npm:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

  • @CancunCrow
    @CancunCrow 3 ปีที่แล้ว

    SUBSCRIBED!!!!

  • @agentfourteen8574
    @agentfourteen8574 3 ปีที่แล้ว +1

    thank you

  • @sayalipatil4758
    @sayalipatil4758 3 ปีที่แล้ว

    what's next in the series? or is it just a 1 episode?

  • @rahsoles4151
    @rahsoles4151 3 ปีที่แล้ว

    Hey bro I keep getting this error code can u help me pedro

  • @alankeni
    @alankeni 3 ปีที่แล้ว +2

    So cool, following your tutorial to hopefully buy a ps5 😬 Ps: what theme is that? Looks nice

    • @PedroTechnologies
      @PedroTechnologies  3 ปีที่แล้ว +2

      Hahaha im going to be honest, I don't remember. I keep changing my theme

  • @MatheusSilva-qm3ph
    @MatheusSilva-qm3ph 4 ปีที่แล้ว +3

    Muito bom, parabéns.

    • @PedroTechnologies
      @PedroTechnologies  4 ปีที่แล้ว +1

      Obrigado

    • @MatheusSilva-qm3ph
      @MatheusSilva-qm3ph 4 ปีที่แล้ว +1

      @@PedroTechnologies Por favor, tem alguma ideia de como fazer isso?
      "th-cam.com/video/kdwVABng_7s/w-d-xo.html"

    • @PedroTechnologies
      @PedroTechnologies  4 ปีที่แล้ว +1

      Eu não entendi mt bem oque é isso kkkkkk

    • @MatheusSilva-qm3ph
      @MatheusSilva-qm3ph 4 ปีที่แล้ว

      @@PedroTechnologies Então .. ele usa o python com um emulador para acessar as contas. Eu queria saber como usar esses emuladores nem sei qual é.

  • @putangkoogi331
    @putangkoogi331 3 ปีที่แล้ว

    I follow your entire instructions but i can't seem to open the browser, when i type in node.js nothing happens.

    • @putangkoogi331
      @putangkoogi331 3 ปีที่แล้ว

      I now get an error that says, launch.json missing

    • @putangkoogi331
      @putangkoogi331 3 ปีที่แล้ว

      i finally got launch.json file to appear but when i run the code using "Run" at the top, the browser doesn't appear. I have headless as false.

    • @nadia-ge7uu
      @nadia-ge7uu ปีที่แล้ว

      i know you probably solved this error, but for people still searching
      i had this same error, i just used the top left hamburger thing, selected run > start debugging, and then it offered something in the search bar above to choose how to debug. i selected chrome, and after i typed in node index.js, i finally got the chromium to start working.
      hamburger at top left, run > start debugging > chrome option
      hope that works for you :D

  • @sadiqulalam7937
    @sadiqulalam7937 3 ปีที่แล้ว

    can I do this work from begineer

    • @sadiqulalam7937
      @sadiqulalam7937 3 ปีที่แล้ว

      I mean I don't have any basic in java script

  • @thunderstack5365
    @thunderstack5365 4 ปีที่แล้ว +2

    I heard this for the first time

    • @PedroTechnologies
      @PedroTechnologies  4 ปีที่แล้ว +1

      Awesome! Puppeteer is still not as known as Selenium, but it is growing in popularity!

  • @thilinachaturanga6274
    @thilinachaturanga6274 4 ปีที่แล้ว +1

    Super............ can you cover how to fetch select node data and save it

    • @PedroTechnologies
      @PedroTechnologies  4 ปีที่แล้ว

      Hi, you mean get the data from a web page and save it in a database? We are going to cover this!

  • @soltiscd
    @soltiscd 4 ปีที่แล้ว +1

    Love it

  • @ricardofonseca5436
    @ricardofonseca5436 4 ปีที่แล้ว +1

    Bro is you brazilian?

  • @adiankonina
    @adiankonina 4 ปีที่แล้ว

    Great video!Thank you

  • @artone5841
    @artone5841 ปีที่แล้ว

    hey can u upload that hide videos in mega , google drive or telegram and please provide that video's link