Skip to content

Commit

Permalink
Update scraper.py
Browse files Browse the repository at this point in the history
  • Loading branch information
royopa committed Jun 2, 2019
1 parent 2a407d9 commit dad7ba9
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions scraper.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,14 +86,11 @@ def process_file(file_path):


def main():
# format the name of database used for morph.io
os.environ['SCRAPERWIKI_DATABASE_NAME'] = 'sqlite:///data.sqlite'

# create download folder
create_download_folder()

dt_ini = datetime(2010, 1, 1)
#dt_ini = datetime(2018, 5, 24)
dt_ini = datetime(2018, 5, 24)
dt_ini = dt_ini.strftime("%Y%m%d")

dt_fim = datetime.today()
Expand Down

0 comments on commit dad7ba9

Please sign in to comment.