How to save the crawled data into the csv file in python3.6?

I am working on a crawler to crawl the data related to Douban"s ten movies. Now I have crawled out the data
the code is as follows:


:

csvdata
CSVXLS:

can the gods tell me how to operate? thank you very much!

Mar.04,2021
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e8aee8-1016.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e8aee8-1016.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?