I am trying to write the scraped data to a csv. However, I am having to manually end the program which I think is leading to not anything being written to the df/csv. How do