In this lesson, we will learn how to do web scraping with fetch and DOMParser. We will scrap logo from my website as demonstration.
We will be using
- cors-anywhere.herokuapp to add Allow Cross-Origin to our HTTP Request Header
- response.text()
- parseFromString method of DOMParser
- querySelector
- appendChild
I hope you like this series, if so, please subscribe my channel for more.