Introduction
During the scraping process, all data is stored in a list. Each item in a list is stored in a block of memory. As the list grows, it continues to take up memory even when we no longer need the earlier data.
Once the list reaches the system's memory limit, the program may fail, causing your scraping process to terminate unexpectedly.
yield data