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.
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
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
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
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)
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
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.
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
@@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 :))
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)
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.
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
🤣 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?
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 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.
@@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 ...
"poor" Love you brother! Right there with you. Great video. Been trying and failing to get a scraper with java support. Cheers!
Someone noticed it :D
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.
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
this ScrapegraphAI tool is the most interesting scraping tool I've tested so far
I am not having success with it. It only gives me urls, titles, related posts. No content that I ask for.
Really great video, thank you. I would be interested in seeing more videos about ScrapeGraphAI.
I find this live example pretty useful for general purpose, I can think of multiple ways I could use this for one off PoCs
Glad it was helpful!
Amazing ! If my PSU wasn’t dead I wouldn’t be sleeping for days
I tried to install the scrapegraphai but I'm getting stuck in the yahoo search dependency which breaks the execution and return attribute error.
There is a playwright function that bypasses the irrelevant resources so the scraping becomes faster
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
Next time it will also need a visual model to solve capchas because website administrators will be protecting their precious content from scraping :)
Haha
It’s a spider, not an octopus. Spiders crawl on webs.
What is an octopus? Which crawls API's or do datamining
Could you please do more videos on this. Like trying to use it on more educational content with equations used using mathjax and katex
I like all your videos , keep rocking bro
Thank you so much 😀
Awesome we need more practical session with code like this.
you are the best indian youtuber I have soon to this date.
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
thanks for the heads up at 6:00 .
worked when using that version only
Hi, can it scrape from the web in general? Like not a particular website
Hi, Could you please elaborate on setting base_url port number? also, where did you check olama information? kindly guide. TIA
Have you used vapi to automatically do cold calls
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?
Watching this before youtube gets upset again. 😉
Honestly, I was actually scared before uploading this, but let's see!
@1littlecoder Hopefully all is well.
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
We need more tutorials of practical live examples of llm especially rag and fine tuning
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
can we use Gemini API to do the same?
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)
Do you want me to show how to run the code from GitHub? Will it be helpful
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.
Thanks!:)
Very useful!
Glad it was helpful!
can it scrape photos and videos also and get it downloaded ??
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
What am i missing.... error running the async cell?
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.
another question , what if we only want to scrape and not emmbed anything ?
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
@@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 :))
So, this is impossible to run in Colab? I like to automate many of my tasks using Github actions.
You can run on colab. But you'd need openai keys
Great video! Thank you!
wondering when somebody will integrate `undetected-chrome` to it.
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)
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.
ollama is just a frmework to run LLMs locally, so it downloads the model insted of using an API and connecting to server
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
it still have the risk of being blocked, it's just a way of parsing
🤣 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?
Thank you 1littlecoder@gmail.com is my email
hey man im getting not implemented error
It would have been nice if you would have shown to install Ollama locally first.
I'm sorry I had done it a few times before so didn't repeat th-cam.com/video/C0GmAmyhVxM/w-d-xo.html
@@1littlecoder cool. Thank you 👍🏻
looks something like spider (scrape/crawl) + bone (GET/fetch) + document | parse ( HTML) ???
Plus RAG, yes!
does it work on google colab?
Will it work to scrape linkedIn jobs?
Wanted to do it using misyral apt
This is great, thanks for sharing, Can you share your python version as i am getting an error when running the same code
I guess mine is 3.9ish
Ok, now that's a good useage of ai model
BTW, that's a spider in the logo. It's a spider that lives in the World Wide Web 😅
How did I not even think about it?😭😭😭
@@1littlecoder :)
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 :)
What was ur requirements?
@@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.
i luv it❤
can it do heavy JavaScript sites ? :))
I've not tried it! it'd be a good opportunity to try that, especially given it uses Playwright!
@@1littlecoder ill tell ya, i tried and it fails miserably :)) , if you have better luck let us know man
@@adriangpuiu ah that's bad. Which website was it ?
@@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 ...
@@1littlecoder its the appian discussion forum
RAG: Ritual Augmented Generation 😂
🕯️🕷️🕯️
great video....
Glad you enjoyed it
Is this for free
? Or is it paid 😊
free
thanks! 👍
Only is own-lee
Not one-lee
Btw great video
😭 will try to fix it!
That logo is a spider 🕸️🕷️
I think Chrome extensions are best.
Looks like jina reader
reddit being called front page of internet is like... no please
🥇
What about site build with jquery.. Does it works for that too?
I have not tried it . Someone else in the comments said it might not very good.
can i get your email to help me with this project. Im not sure how to set this up for my project.
I like all your videos , keep rocking bro