Web scraping only refers to pulling data from websites, while data scraping describes gathering information from lots of different places, not just websites. For example, data scraping can apply to databases, documents, or APIs. So web scraping is a type of data scraping, even though the two terms are sometimes used interchangeably.