Web Scraping with ChatGPT Code Interpreter is Mind-Blowing!

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

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

  • @ThePyCoach
    @ThePyCoach  Год назад +13

    Download my FREE ChatGPT Cheat Sheet: frankandrade.ck.page/08c94cf1c1

    • @ahmedmohammed-xo7rr
      @ahmedmohammed-xo7rr Год назад

      It will be nice if we can apply this approach on Facebook posts and websites?

    • @yusufadeoye5600
      @yusufadeoye5600 10 месяцев назад

      HI , please can we still assess the the free chatGPT cheat sheet. please do share again

  • @MHawkinsx
    @MHawkinsx 9 месяцев назад +1

    Mind-blowing stuff! Wonder if combining it with Proxy-Store's proxies would level up the scraping game even more. Any ChatGPT fans here?

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

    A terrific video that has been the cornerstone for our new team members. Thank you for sharing it!

  • @SPL88
    @SPL88 9 месяцев назад +2

    Great stuff @ThePyCoach! Question now is, how do we automate this scraping for multi-pages instead of manually saving each page as a new html file?

  • @Code_Play_com
    @Code_Play_com 10 месяцев назад

    Very practical and helpful video with very detailed explanation!

  • @DaveNougalMusic
    @DaveNougalMusic Год назад +2

    Hey PyCoach, learning a lot from you. Thanks man!

  • @Su1c1deK1ng1028
    @Su1c1deK1ng1028 11 месяцев назад

    Top tier content bro. Easy sub.

  • @Scuurpro
    @Scuurpro 11 месяцев назад

    how would you do it for the products page. So the tv plus the product pages details of the tv then so on.

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

    Thank you so much The PyCoach!

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

    🎯 Key Takeaways for quick navigation:
    00:00 🌐 Introduction to web scraping with ChatGPT Code Interpreter
    01:07 📂 Saving a webpage as an HTML file
    03:38 🧩 Extracting data from HTML using ChatGPT
    04:08 📄 Exporting extracted data to CSV
    05:03 🔁 Repeating the process for multiple pages
    06:51 🌐 Scraping data from Glassdoor
    08:13 🧩 Scraping specific data elements from Glassdoor
    11:56 📄 Exporting Glassdoor data to CSV
    12:37 🚀 Conclusion and call to action
    Made with HARPA AI

  • @RonWilliams-Hoodle
    @RonWilliams-Hoodle Год назад +9

    Cool process. But what is the advantage of doing this process, instead of using pre-built scrapers already available like "Instant Data Scraper".

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

      You can tell Chat GPT code interpreter to do the same thing for any amazon page, just upload the html and run the same process. Instant data scraper is clunky and the interface looks old, I'm sick of clicking an dragging with all these data scrapping app extensions. Also certain websites don't work well with data scraper apps to many blockers. try extracting data from harbor freight with instant data scraper. its a nightmare! no thank you.

  • @giraldomedia
    @giraldomedia Год назад +2

    Can you make a video like this that's scrapes the SEO keywords that a website is using?

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

    You are the best, subscribed :)

  • @Md.HasiburRahman-op7ll
    @Md.HasiburRahman-op7ll 8 месяцев назад

    is it same work as like other language website like Hindi , Japanese , Chinese and many more language ?

  • @krayem-zs3tc
    @krayem-zs3tc 11 месяцев назад

    the interpreter code does not appear in the beta feautures to activate it just i have only plugin why? do you have a solution please

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

    Thanks, that's really helpful advice - and indeed pretty mind-blowing!

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

    thank you!!! never thought about the save page as html and then uploading

  • @awakenwithoutcoffee
    @awakenwithoutcoffee 10 месяцев назад

    this is cool ! although It is probably not able to scrape any IMG/Links ?

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

    Awesome!!!! and extremely useful!

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

    Hi, is there any way now to scrape all posts and comments of a subreddit? I need them for my research.

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

    Thank you very helpful.

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

    Try saving all the pages at once to reduce manual repetitive work

    • @robertoflores2078
      @robertoflores2078 10 месяцев назад

      I guess the manual download part is intended for demonstration. You'd do this programmatically.

  • @32AA32
    @32AA32 Год назад

    can this be used to scrape multiple pages like 100 pages on a domain? i guess so, because one page would be silly

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

    This is really cool❤

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

    very nice! thumbs up.

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

    Is it not possible to provide the url and then get it to loop through the pages till it gets to the last page and then get it to export the results to csv

    • @ThePyCoach
      @ThePyCoach  Год назад +2

      If you pass the URL, ChatGPT will probably tell you that it's not able to perform web scraping or that is against the ToS

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

      you can ask chatgpt for python script to scrap that page. and then you can run that script on your computer to loop and scrap.

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

      @@ThePyCoach I would have thought someone would have made a plug-in for this now

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

      @@anuroop345 I tried this but it’s not as easy, Chatgpt keeps having trouble with the looping side, plus a few websites require a login to access their site

  • @markspringfield6112
    @markspringfield6112 Год назад +2

    This was pretty good, but I notice that none of these GPT methods for data extraction deal with pagination. How would we do this if we've got multiple pages of jobs on Glassdoor and you wanted to let chatGPT run through all of them?

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

      Thank you for pointing this out before I went too far in this video, as I am trying to scrape dynamic content loaded with JS

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

    Thanks for the video! I tried both methods to scrape Udemy and it didn't work, since the content is in a container. Do you have a solution for this?

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

    code interpreter isnt even an option was it removed? Maybe explain how to get it thatd be helpful

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

    listening to this video gives me "Two Minute Papers" vibes. I was waiting for ""Alright everyone, hold onto your papers"

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

    I've had a huge increase in scrapers across my entire domain portfolio.
    Given the power of AI, I've managed to poison most of the scraped data and cause major headaches going forward.

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

      What do you mean?

    • @bigpickles
      @bigpickles Год назад +2

      @@tryderrick upon detection, I feed a load of nonsense back in between legit data, and it totally ruins the dataset.

    • @bigpickles
      @bigpickles Год назад +2

      @@ronin4518 depends what you're scraping. Not my data

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

    So how do I scrape data from the product pages as well?

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

      Just upload its HTML file and follow the same steps

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

    So basically you made a tutorial about saving a file and loading it into chatgpt?

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

    But not the automation I am looking for - will keep up with the options choose and one click. Maybe a long way to complete it but will do everything I need. Really python and is with some chat chatbot content writing - might use ChatGPT - but the content never passes ai detection like clause on it's first time.

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

      You really have to do the most part of the writing for SEO, based on the 'draft' or outline of the content.

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

    Did they remove the Code Interpreter plugin? How do you get it? I have a paid account. Thanks

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

      Try enabling it in your settings. Open Settings > Click on "Beta Features" > Press "Code interpreter" toggle button

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

    Hi, is Code Interpreter also available through the API?

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

    Why would I do this? What is the use case for this

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

    But it appears this only works with the paid version of chatGBT

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

    Thanks, but what if we ask it to use link directly with help of beautiful soup and selenium? What would happen

    • @ThePyCoach
      @ThePyCoach  Год назад +2

      When I checked the code I could see it's using Beautiful Soup. I'm not quite sure what would happen if you specify to use Selenium. Just remember that code interpreter is mostly parsing the HTML file

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

    Could have also just Did View Source, then copy paste, or maybe even use plugins with link reader and paste that viewed source URL in.

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

      View source won’t work if the page is rendered dynamically

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

      true that@@egauci1

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

    If you used harpa or perplexity it will get the job done with no complications 😅

  • @TheLaunchingPadHQ-xz8vy
    @TheLaunchingPadHQ-xz8vy Год назад

    Hi Frank ty for the great walkthrough! I am trying to scrape google to deterniine companies near me that do not have a website. it appears to be a simple task to determine on the search results which ones to choose but for some reason gpt says the html structure of nesting elements is not allowing it to do so. Any ideas?

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

      So have you done it?

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

      Just make a list of all the businesses near you. Then identify among those which could benefit from having a website. BOOMSHAKALAKA!

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

    I love your contents especially this one..
    Sir how can we offer this as a service. Who would need this service ?
    Can you help out maybe with a resources thank your

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

    we need to all this thing for scrap? And scrap for what?

  • @craftedbysrs
    @craftedbysrs Год назад +7

    I used it to scrap some websites. Last week my account was banned, said my activity was suspicions.

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

      How could that happen? Did you upload too many HTML files?

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

      ​@@ThePyCoachNo i didn’t. I just uploaded direct link with scraper plugin on. And prompted the code interpreter to generate a new programming language that is more advanced.

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

      that is why you need to use langchain and make your own code agent.
      Also, only use interpreter to write code once, then handle it yourself.

    • @contentfreeGPT5-py6uv
      @contentfreeGPT5-py6uv Год назад

      ​@@curious_one1156how

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

      Good. We don't like dodgy scrapers.

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

    I don't wanna be that guy, but you can do this with a free tool called Harpa in a split of a second, it is nice to see the procedure but... 🤷‍♀

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

    cool

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

    What is the purpose of doing this? What was the problem that makes your work its solution?

  • @AlexandrShevchenko000
    @AlexandrShevchenko000 Год назад +45

    This scraping is very manual. There are much better ways.

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

      Next version of code interpreter

    • @izzyal-zyoud7563
      @izzyal-zyoud7563 Год назад +9

      Could you please share them

    • @mishos.2228
      @mishos.2228 Год назад +12

      @@izzyal-zyoud7563 webpilot plugin, can scrape any number of pages with one prompt and by just providing the page 1 link

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

      @@mishos.2228 Won't that get you banned anytime soon using just links?

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

      Yea this aint web scraping. this is html extracting data, where is the web scraping at?? you are doing it manual…

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

    This was actually slower than classic python scraping.

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

      Hey would you be able to assist in python scraping script and looping the scape for another search ?

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

    this video should have been a short.

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

    What will happen if you want to scrape 1 million pages? 😀

    • @robertoflores2078
      @robertoflores2078 10 месяцев назад

      1 million page downloads, and 1 million ChatGPT uploads.

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

    This is more of a chatgpt-aided manual scraping. The processes aren't automated.

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

    I really don’t like this title. It feels dishonest. There’s are much better ways to use chatgpt to scrape

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

    If you know web scraping this is really nothing :D

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

    Dude 😂

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

    Watching your video made me angry

  • @ikjb8561
    @ikjb8561 11 месяцев назад

    Not too useful. Stick to node puppeteer or perl/python command line scripts.

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

    Bro how to train a own AI 😅 and make like chatgpt

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

      I think you need to use Langchain for that

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

      @@ThePyCoach you can create a chatbot using Langchain how to make a chatgpt using Langchain

  • @RedTekno
    @RedTekno 11 месяцев назад

    Clickbait 😅

  • @AI-4-U
    @AI-4-U Год назад +1

    Please remove this video, you wasted my 15 minutes 😢