Commit c231be33 authored by Renán Sosa Guillen's avatar Renán Sosa Guillen

crawl rss

parent 2c81f7be
...@@ -86,9 +86,9 @@ with open(sys.argv[1]) as data_file: ...@@ -86,9 +86,9 @@ with open(sys.argv[1]) as data_file:
infile3.write('[') infile3.write('[')
for line in master: for line in master:
counter += 1
lineDate = datetime.datetime.strptime(line['date'][:10], '%Y-%m-%d') lineDate = datetime.datetime.strptime(line['date'][:10], '%Y-%m-%d')
if lineDate == currentDate: if lineDate == currentDate:
counter += 1
if media == 'elFinanciero': if media == 'elFinanciero':
row = OrderedDict([ row = OrderedDict([
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment