The A-Z of Web Scraping in 2020 [A How-To Guide]
See the original posting on DZone Python
Many web sites like Twitter, YouTube, or Facebook provide an easy way to access their data through a public API. All the information that you obtained using API is both well structured and normalized. For example, it can be in the format of JSON, CSV, or XML.
3 Ways to Extract Data From Any Website
Web Scraping vs API
#1 Official API.
First of all, you should always check out if there’s an official API that you can use to get the desired data.