Web Scraping AI AGENT, that absolutely works 😍

  Рет қаралды 21,152

1littlecoder

1littlecoder

Күн бұрын

Пікірлер: 102
@bastabey2652
@bastabey2652 5 ай бұрын
this ScrapegraphAI tool is the most interesting scraping tool I've tested so far
@De-e-kay
@De-e-kay 4 ай бұрын
I am not having success with it. It only gives me urls, titles, related posts. No content that I ask for.
@jbo8540
@jbo8540 6 ай бұрын
If your LLM gives you an article you can't find, my first assumption is that it made it up. While this is an interesting use case, it's going to likely take very precise prompt engineering to not get hallucinated outputs.
@1littlecoder
@1littlecoder 6 ай бұрын
No, it's my bad. After the video I reviewed the web page. In fact, I added the screenshot in the video. It was inside the carousel
@HeberLopez
@HeberLopez 6 ай бұрын
I find this live example pretty useful for general purpose, I can think of multiple ways I could use this for one off PoCs
@1littlecoder
@1littlecoder 6 ай бұрын
Glad it was helpful!
@marcoaerlic2576
@marcoaerlic2576 5 ай бұрын
Really great video, thank you. I would be interested in seeing more videos about ScrapeGraphAI.
@Raphy_Afk
@Raphy_Afk 6 ай бұрын
Amazing ! If my PSU wasn’t dead I wouldn’t be sleeping for days
@alx8439
@alx8439 6 ай бұрын
Next time it will also need a visual model to solve capchas because website administrators will be protecting their precious content from scraping :)
@1littlecoder
@1littlecoder 6 ай бұрын
Haha
@unclemike2008
@unclemike2008 6 ай бұрын
"poor" Love you brother! Right there with you. Great video. Been trying and failing to get a scraper with java support. Cheers!
@1littlecoder
@1littlecoder 6 ай бұрын
Someone noticed it :D
@alqods80
@alqods80 6 ай бұрын
There is a playwright function that bypasses the irrelevant resources so the scraping becomes faster
@manojy1015
@manojy1015 6 ай бұрын
We need more tutorials of practical live examples of llm especially rag and fine tuning
@ayyanarjayabalan
@ayyanarjayabalan 6 ай бұрын
Awesome we need more practical session with code like this.
@kalilinux8682
@kalilinux8682 6 ай бұрын
Could you please do more videos on this. Like trying to use it on more educational content with equations used using mathjax and katex
@patrickwasp
@patrickwasp 6 ай бұрын
It’s a spider, not an octopus. Spiders crawl on webs.
@opusdei1151
@opusdei1151 6 ай бұрын
What is an octopus? Which crawls API's or do datamining
@edgarl.mardal8256
@edgarl.mardal8256 5 ай бұрын
you are the best indian youtuber I have soon to this date.
@liamlarsen9286
@liamlarsen9286 6 ай бұрын
thanks for the heads up at 6:00 . worked when using that version only
@Balajik7-qh1pq
@Balajik7-qh1pq 6 ай бұрын
I like all your videos , keep rocking bro
@1littlecoder
@1littlecoder 6 ай бұрын
Thank you so much 😀
@madhudson1
@madhudson1 5 ай бұрын
It depends on the llm used and questions you pose it. It can often not generate json and the library isnt best suited for iteration through a collection of sites
@inplainview1
@inplainview1 6 ай бұрын
Watching this before youtube gets upset again. 😉
@1littlecoder
@1littlecoder 6 ай бұрын
Honestly, I was actually scared before uploading this, but let's see!
@inplainview1
@inplainview1 6 ай бұрын
@1littlecoder Hopefully all is well.
@meetscreationz5591
@meetscreationz5591 4 ай бұрын
Hi, Could you please elaborate on setting base_url port number? also, where did you check olama information? kindly guide. TIA
@TUSHARGOPALKA-nj7jx
@TUSHARGOPALKA-nj7jx 17 күн бұрын
Very useful!
@1littlecoder
@1littlecoder 17 күн бұрын
Glad it was helpful!
@ngoduyvu
@ngoduyvu 6 ай бұрын
thanks for the tutorial, please make more tutorial for this ScrapeGraphAI, can you make one for scraping the website that has antibot or credential (require login)
@mihirprakash6009
@mihirprakash6009 4 ай бұрын
Hi, can it scrape from the web in general? Like not a particular website
@TailorJohnson-l5y
@TailorJohnson-l5y 5 ай бұрын
Great video! Thank you!
@EobardUchihaThawne
@EobardUchihaThawne 6 ай бұрын
Ok, now that's a good useage of ai model
@Kevinsmithns
@Kevinsmithns 4 ай бұрын
Have you used vapi to automatically do cold calls
@moonwhisperer4804
@moonwhisperer4804 5 ай бұрын
Only if this tool has a way to automatically know how to go through different paginated pages and go into each detail page to extract data
@darkreader01
@darkreader01 4 ай бұрын
if we want to scrape from websites that need authentication, how can we do that? Is there any way to login first or any option to use cookies?
@aionair77
@aionair77 6 ай бұрын
BTW, that's a spider in the logo. It's a spider that lives in the World Wide Web 😅
@1littlecoder
@1littlecoder 6 ай бұрын
How did I not even think about it?😭😭😭
@aionair77
@aionair77 6 ай бұрын
@@1littlecoder :)
@shobhanaayodya7024
@shobhanaayodya7024 6 ай бұрын
That logo is a spider 🕸️🕷️
@DhruvPatel-vl1tj
@DhruvPatel-vl1tj 4 ай бұрын
There is a problem i am encountering for many websites i am getting empty response from the library i have tried many solutions that were listed in their official documentation like proxy rotation , using different models etc .... also the output that it gives for any website also takes like minimum of 2-3 minutes pls help me solve the problem
@jarad4621
@jarad4621 6 ай бұрын
Is the llm there to convert the raw html to structured data? Then it saves to rag and you can query the data with another llm to analyse? I need to scrape homepages from 10k sites tostructured data into rag db to ask The sites questions, can it be setup todo many sites like an automated agent, or can it be used as a tool or function call in an agent framework like crew ai? that video would be cool
@BiXmaTube
@BiXmaTube 6 ай бұрын
Need proper pdf parsing ai that I can run on a cloud server without gpu. Extracting text, tables and images and arranging it in a db based on a prompt that puts each data in the right table. That will be amazing if you can find something like that.
@planplay5921
@planplay5921 6 ай бұрын
it still have the risk of being blocked, it's just a way of parsing
@ramanaraj7
@ramanaraj7 5 ай бұрын
can we use Gemini API to do the same?
@monuaimat5228
@monuaimat5228 6 ай бұрын
RAG: Ritual Augmented Generation 😂
@J3R3MI6
@J3R3MI6 6 ай бұрын
🕯️🕷️🕯️
@CM-zl2jw
@CM-zl2jw 6 ай бұрын
🤣 I enjoy your sense of humor. Thank you. You are RICH in kindness and intelligence. That’s almost as good as money…. Money only buys limited amounts of happiness. Your videos are very helpful and informative. I’ll pay you to help me figure a couple things out. What’s your contact?
@1littlecoder
@1littlecoder 6 ай бұрын
Thank you 1littlecoder@gmail.com is my email
@Anesu-nv1mh
@Anesu-nv1mh 10 күн бұрын
can it scrape photos and videos also and get it downloaded ??
@NaveenChouhan-mm5gz
@NaveenChouhan-mm5gz 5 ай бұрын
I tried to install the scrapegraphai but I'm getting stuck in the yahoo search dependency which breaks the execution and return attribute error.
@Ashort12345
@Ashort12345 5 ай бұрын
it is the same error or not here: I'm very beginer level if someone know how to fix mine please leave the comment --------------------------------------------------------------------------- AttributeError Traceback (most recent call last) Cell In[25], line 17 3 graph_config = { 4 "llm": { 5 "model": "ollama/mistral", (...) 13 } 14 } 16 # Instantiate the SmartScraperGraph class ---> 17 smart_scraper_graph = SmartScraperGraph( 18 prompt="List me all the articles", 19 source="news.ycombinator.com", 20 config=graph_config 21 ) 23 # Run the smart scraper graph 24 result = smart_scraper_graph.run() File ~\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\scrapegraphai\graphs\smart_scraper_graph.py:47, in SmartScraperGraph.__init__(self, prompt, source, config) 46 def __init__(self, prompt: str, source: str, config: dict): ---> 47 super().__init__(prompt, config, source) 49 self.input_key = "url" if source.startswith("http") else "local_dir" File ~\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\scrapegraphai\graphs\abstract_graph.py:49, in AbstractGraph.__init__(self, prompt, config, source) 47 self.config = config ... --> 227 params = self.llm_model._lc_kwargs 228 # remove streaming and temperature 229 params.pop("streaming", None) AttributeError: 'Ollama' object has no attribute '_lc_kwargs' Output is truncated. View as a scrollable element or open in a text editor. Adjust cell output settings...
@IdPreferNot1
@IdPreferNot1 6 ай бұрын
What am i missing.... error running the async cell?
@tauquirahmed1879
@tauquirahmed1879 6 ай бұрын
great video....
@1littlecoder
@1littlecoder 6 ай бұрын
Glad you enjoyed it
@einekleineente1
@einekleineente1 5 ай бұрын
It would have been nice if you would have shown to install Ollama locally first.
@1littlecoder
@1littlecoder 5 ай бұрын
I'm sorry I had done it a few times before so didn't repeat kzbin.info/www/bejne/eWGqnnSjrs2Jrq8
@einekleineente1
@einekleineente1 5 ай бұрын
@@1littlecoder cool. Thank you 👍🏻
@morease
@morease 6 ай бұрын
I fail to see why rag is needed when the library can simply be asked to identify the html path/element that contains the content, and then extract the html from that with cheerio
@LeeBrenton
@LeeBrenton 6 ай бұрын
scrape Facebook please! - I need to do the most boring thing for work, I tried to program a scrapper but FB makes it very hard, I was only partially successful (expecially grabbing the post date). This method looks very exciting :)
@webhosting7062
@webhosting7062 6 ай бұрын
What was ur requirements?
@LeeBrenton
@LeeBrenton 6 ай бұрын
@@webhosting7062 I write a daily report, based on the new posts in various FB groups .. but FB doesn't put posts in the correct order (also, pinned posts up the top will be old posts) .. so i need to check the date, but, FB obfuscates the date like a MF .. i wasn't able to figure it out with selenium. so, requirements are .. 'get the latest (less than ~24hr old posts) from a FB group.
@adriangpuiu
@adriangpuiu 6 ай бұрын
another question , what if we only want to scrape and not emmbed anything ?
@1littlecoder
@1littlecoder 6 ай бұрын
I think in those cases you can probably use a conventional libraries I guess but that's a good question there are different classes within this library that might let it do
@adriangpuiu
@adriangpuiu 6 ай бұрын
@@1littlecoder from scrapegraphai.graphs import BaseGraph from scrapegraphai.nodes import FetchNode, ParseNode,generate_answer_node graph = BaseGraph( nodes={ fetch_node, parse_node, }, edges={ (fetch_node, parse_node), (parse_node, generate_answer_node), }, entry_point=fetch_node ) .. i dont have time to try it now cause im at work :))
@oliverli9630
@oliverli9630 6 ай бұрын
wondering when somebody will integrate `undetected-chrome` to it.
@Ari_Alur
@Ari_Alur 6 ай бұрын
Would it be possible to explain the whole thing to someone who has nothing to do with programming? I was able to install everything but I can't do anything with the code from github... Would be great :) Thanks for the video! Very interesting but unfortunately not feasible for me. (I'm on Linux)
@1littlecoder
@1littlecoder 6 ай бұрын
Do you want me to show how to run the code from GitHub? Will it be helpful
@Ari_Alur
@Ari_Alur 6 ай бұрын
Yeah! At least in a way that's easier to understand. I don't know anything about code, so I need things to be clear and simple.
@Ari_Alur
@Ari_Alur 6 ай бұрын
Thanks!:)
@user-nm2wc1tt9u
@user-nm2wc1tt9u 6 ай бұрын
does it work on google colab?
@jmirodg7094
@jmirodg7094 6 ай бұрын
thanks! 👍
@AI-Wire
@AI-Wire 6 ай бұрын
So, this is impossible to run in Colab? I like to automate many of my tasks using Github actions.
@1littlecoder
@1littlecoder 6 ай бұрын
You can run on colab. But you'd need openai keys
@CryptoMaN_Rahul
@CryptoMaN_Rahul 3 ай бұрын
Wanted to do it using misyral apt
@yashsrivastava677
@yashsrivastava677 6 ай бұрын
Will it work to scrape linkedIn jobs?
@prasannaprakash892
@prasannaprakash892 6 ай бұрын
This is great, thanks for sharing, Can you share your python version as i am getting an error when running the same code
@1littlecoder
@1littlecoder 6 ай бұрын
I guess mine is 3.9ish
@viddeshk8020
@viddeshk8020 6 ай бұрын
I don't understand that for web scrapping why do I have to install so much of other dependencies like ollama etc. I mean it is just a simple webscraping why make the thinks complex? Still for the complex task a complex prompt needs to be given.
@liamlarsen9286
@liamlarsen9286 6 ай бұрын
ollama is just a frmework to run LLMs locally, so it downloads the model insted of using an API and connecting to server
@madhudson1
@madhudson1 5 ай бұрын
If you just want scraping, don't bother with this. However, if you want scraping + RAG, with LLM integration, then use this. But it's not without it's issues
@DM-py7pj
@DM-py7pj 6 ай бұрын
looks something like spider (scrape/crawl) + bone (GET/fetch) + document | parse ( HTML) ???
@1littlecoder
@1littlecoder 6 ай бұрын
Plus RAG, yes!
@MadhavJoshi-m8m
@MadhavJoshi-m8m 6 ай бұрын
Only is own-lee Not one-lee Btw great video
@1littlecoder
@1littlecoder 6 ай бұрын
😭 will try to fix it!
@honneon
@honneon 6 ай бұрын
i luv it❤
@Macorelppa
@Macorelppa 6 ай бұрын
🥇
@kushagrakapoor9181
@kushagrakapoor9181 4 ай бұрын
hey man im getting not implemented error
@Naniirowadesuka
@Naniirowadesuka 5 ай бұрын
reddit being called front page of internet is like... no please
@rahuldinesh2840
@rahuldinesh2840 6 ай бұрын
I think Chrome extensions are best.
@adriangpuiu
@adriangpuiu 6 ай бұрын
can it do heavy JavaScript sites ? :))
@1littlecoder
@1littlecoder 6 ай бұрын
I've not tried it! it'd be a good opportunity to try that, especially given it uses Playwright!
@adriangpuiu
@adriangpuiu 6 ай бұрын
@@1littlecoder ill tell ya, i tried and it fails miserably :)) , if you have better luck let us know man
@1littlecoder
@1littlecoder 6 ай бұрын
@@adriangpuiu ah that's bad. Which website was it ?
@adriangpuiu
@adriangpuiu 6 ай бұрын
@@1littlecoder the user replyes are incapsulated in a JS response from what i noticed, maybe they have an api or soething , i was just unable to figure it out . YET ...
@adriangpuiu
@adriangpuiu 6 ай бұрын
@@1littlecoder its the appian discussion forum
@webhosting7062
@webhosting7062 6 ай бұрын
What about site build with jquery.. Does it works for that too?
@1littlecoder
@1littlecoder 6 ай бұрын
I have not tried it . Someone else in the comments said it might not very good.
@Balajik7-qh1pq
@Balajik7-qh1pq 6 ай бұрын
I like all your videos , keep rocking bro
Ollama + OpenAI's Swarm - EASILY Run AI Agents Locally
20:04
Cole Medin
Рет қаралды 21 М.
Python AI Web Scraper Tutorial - Use AI To Scrape ANYTHING
45:36
Tech With Tim
Рет қаралды 171 М.
When Cucumbers Meet PVC Pipe The Results Are Wild! 🤭
00:44
Crafty Buddy
Рет қаралды 38 МЛН
What type of pedestrian are you?😄 #tiktok #elsarca
00:28
Elsa Arca
Рет қаралды 21 МЛН
This Open Source Scraper CHANGES the Game!!!
20:36
Reda Marzouk
Рет қаралды 114 М.
Marker: This Open-Source Tool will make your PDFs LLM Ready
14:11
Prompt Engineering
Рет қаралды 57 М.
Have You Picked the Wrong AI Agent Framework?
13:10
Matt Williams
Рет қаралды 77 М.
This is how I scrape 99% websites via LLM
22:44
AI Jason
Рет қаралды 83 М.
I wish every AI Engineer could watch this.
33:49
1littlecoder
Рет қаралды 83 М.
Yeah but can it RUN LOCALLY?
13:24
Reda Marzouk
Рет қаралды 21 М.
The Biggest Issues I've Faced Web Scraping (and how to fix them)
15:03
When Cucumbers Meet PVC Pipe The Results Are Wild! 🤭
00:44
Crafty Buddy
Рет қаралды 38 МЛН