minor fix
This commit is contained in:
parent
df41d0c25b
commit
59013115c0
@ -9,10 +9,6 @@ data = []
|
|||||||
|
|
||||||
|
|
||||||
class DF:
|
class DF:
|
||||||
href = None
|
|
||||||
title = None
|
|
||||||
date = None
|
|
||||||
newspaper = None
|
|
||||||
|
|
||||||
def __init__(self, href, title, date, newspaper):
|
def __init__(self, href, title, date, newspaper):
|
||||||
self.href = href
|
self.href = href
|
||||||
@ -28,7 +24,6 @@ class DF:
|
|||||||
writer.writerow([self.date, self.title, self.newspaper, self.href])
|
writer.writerow([self.date, self.title, self.newspaper, self.href])
|
||||||
|
|
||||||
def print_data(self):
|
def print_data(self):
|
||||||
pass
|
|
||||||
print('<' + self.date + ', ' + self.title + ', ' +
|
print('<' + self.date + ', ' + self.title + ', ' +
|
||||||
self.newspaper + ', ' + self.href + '>')
|
self.newspaper + ', ' + self.href + '>')
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user