DEV Community

Discussion on: How to make a web scraper with JavaScript

Collapse
 
webdevken profile image
Web Dev Ken

Showing the full code at the beginning was very good to me for scanning through and note questions in order to get them answered reading your post.

Your scraper might work now, but is very static because it is fundamentally based on the CSS classes that premierleague is using. Some sites might even have auto generated classes whenever you request a new page. So maybe adjusting the scraper to look for HTML structure might mitigate this issue a little. Could also change in future however.

Thanks for the blog!

Collapse
 
heheprogrammer profile image
The Vik

Umm yeah that correct, I will make a new version later