Storage
In most cases, when you are scraping the web, you will be looking for very specific information. This is probably going to be a very small amount of data relative to the size of the web page itself. Because of the cache stores the entire contents of the web page, you will need some other storage system to store the parsed information. The storage component of a web scraper could be as simple as a text file, or as large as a distributed database.
These days, there are many database solutions available to satisfy different needs. If you have data that has many intricate relationships, then an SQL database might be a good fit for you. If you have data that has more of a nested structure, then you may want to look at NoSQL databases. ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access