Let's Build a WebScraper in 15 Minutes with NextJS!

preview_player
Показать описание
NextJS makes web scraping super simple. Let's dive into the easiest web scraping method, simply using the native fetch API and then turning that into HTML! All in all, building a web scraper can be done in minutes and be really helpful when there is no API you can get the data from.

Be careful with web scraping though, some websites do not allow it (especially if the scraped content is behind auth or even worse a paywall).

With that said, I wish you lots of fun implementing this into your own projects!
Рекомендации по теме
Комментарии
Автор

Tomorrow my friend, I'll complete this video course for sure :) Thank you !

codewithguillaume
Автор

Love the consistency Josh, thanks for helping me learn with you.

alberteinstein
Автор

Thanks bro I'll watch this after finish learning react and start learning next js

developer_hadi
Автор

I appreciate these kind of videos that aren't quite the bread and butter for web development but still provide insightful knowledge on some of those not mainly used topics. Thanks for your work!

BRP-Moto-Tips
Автор

thank you for this video ive been trying to figure out how to use next js with puppeteer for a week now this helped me

pookie
Автор

Really Love the fact that you consistently put out contents that are actually very worth watching!. Josh, I have a question regarding if this can also scrap meta data of the website like title, image, subtitle and so on.

ylovers
Автор

I was searching for this. Thanks alot.

satyarajraghav
Автор

What should i do when deploying project. It gives localhost error, i changed it to my own domain using https etc. but still not working. Any idea?

kwyjibu
Автор

Do you have the Github for this? I'm getting a 404 at the beginning.

bigc
Автор

This is a great video, I've been wanting to try some web scraping. Question though, why use t3 if you're not going to use trpc? I think trpc would make this more clean.

bryson
Автор

Could you explain why you fetch the downloads on the server and not on the client?

OfficialLRY
Автор

Good vide, do you have a repo for this?

doncoder-channel
Автор

Thanks, that way is much better than use puppteer. My code always break when I tried use the puppeteer

dluancr
Автор

That's way, way too much work just to do something that's very simple.

atlantic_love
Автор

I am having error while importing jsdom library, any idea ?

sarimkhan
Автор

Can you also provide a GitHub to this code. Thanks

markovvoz
Автор

I tried scrape data from public Facebook post but I couldn't. How can I do

athwala
Автор

totally useless, you can't scrap most of the sites with this technique, for example the SPAs

benoitgrasset
Автор

What happend whe the site is a SPA and the fetch didn't get the all html from the server? there is any way to get full page content?

OverMartinez