Hi, I'm so sorry, what specifically are you looking to do? Your instructions are a bit unclear.
Here is some python 3.4 code that I use to pull data from websites. It basically pulls data from a site and then saves it as a txt file. I have changed the code to something for .csv
It will be incomplete and need proofing and modifying but it should get the basic beginnings of getting data in csv for you.
savePath = 'C:/' + # whereever you save data
z = [] #list of website sub domains
for x in range (0, len(z)):
print('Currently Pulling', z[x])
urlToVisit = 'http://www.photon.info/' + z[x]
websiteFile =[]
sourceCode = urllib.request.urlopen(urlToVisit).read().decode()
splitSource = sourceCode.split('\n')
for eachLine in splitSource:
'''' do your thing ''''
completeName = os.path.join(savePath, z[x]+'.csv')
with open(completeName, 'w') as file:
for eachLine in websiteFile:
file.write("{}\n".format(eachLine))