Web scraping with GPT-4o: powerful but expensive
11–20 of 177 posts
Re: Web scraping with GPT-4o: powerful but expensive
#12Earlier quoted context omitted.
I'd say scrapers have always been popular, but I imagine they're even more popular nowadays with all the tools (AI but also non-AI) readily available to do cool stuff on a lot of data.
Bingo. During the pandemic, I started a project to keep myself busy by trying to scrape stock market ticker data and then do some analysis and make some pretty graphs out of it. I know there are paid services for this, but I wanted to pull it from various websites for free. It took me a couple months to get it right. There are so many corner cases to deal with if the pages aren't exactly the same each time you load t…
Re: Web scraping with GPT-4o: powerful but expensive
#13Earlier quoted context omitted.
Because publishers don’t push structured data or APIs enough to satisfy demand for the data.
Got it, but why is it booming now and often it’s a showcase of llm model? Is there some secret market/ usecase for it?
Re: Web scraping with GPT-4o: powerful but expensive
#14Re: Web scraping with GPT-4o: powerful but expensive
#15Earlier quoted context omitted.
Because publishers don’t push structured data or APIs enough to satisfy demand for the data.
Got it, but why is it booming now and often it’s a showcase of llm model? Is there some secret market/ usecase for it?
It's generally not hard because it's conceptually very difficult, or that it requires extremely high level reasoning.
It sucks because when someone changes "" to "" your scraper breaks. I just want the bio and it's obvious what to grab, but machines have no nuance.
LLMs have enough common sense to be able to deal with these things and they take almost no time to work with. I can throw html at something, with a vague description and pull out structured data with no engineer required, and it'll probably work when the page changes.
There's a huge number of one-off jobs people will do where perfect isn't the goal, and a fast solution + a bit of cleanup is hugely beneficial.
Re: Web scraping with GPT-4o: powerful but expensive
#16Funnily enough, web scraping was actually the motivating use-case that started my co-founder and I building what is now openpipe.ai. GPT-4 is really good at it, but extremely expensive. But it's actually pretty easy to distill its skill at scraping a specific class of site down to a fine-tuned model that's way cheaper and also really good at scraping that class of site reliably.
Re: Web scraping with GPT-4o: powerful but expensive
#17Plus you can probably use that until it fails (website changes) and then just re scrape it with llm request
Re: Web scraping with GPT-4o: powerful but expensive
#18It's very early still but check it out at https://FetchFoxAI.com
One of the cool things is that you can scrape non-uniform pages easily. For example I helped someone scrape auto dealer leads from different websites: https://youtu.be/QlWX83uHgHs . This would be a lot harder with a "traditional" scraper.
Re: Web scraping with GPT-4o: powerful but expensive
#19I’ve had problems with hallucinations though even for something as simple as city names; also the model often ignores my prompt and returns country names - am thinking of trying a two-stage scrape with one checking the output of the other.
Re: Web scraping with GPT-4o: powerful but expensive
#20Earlier quoted context omitted.
Bingo. During the pandemic, I started a project to keep myself busy by trying to scrape stock market ticker data and then do some analysis and make some pretty graphs out of it. I know there are paid services for this, but I wanted to pull it from various websites for free. It took me a couple months to get it right. There are so many corner cases to deal with if the pages aren't exactly the same each time you load t…
Was it profitable?
Besides it's a low margin, heavily capitalized and heavily crowded market you'd be entering and not worth the negative-monetary investment in the short and medium term (unless you wrote AI in the title and we're going to the mooooooon babyh)