Skip to content
This repository has been archived by the owner on Feb 24, 2024. It is now read-only.

Commit

Permalink
Comment pull_bulk
Browse files Browse the repository at this point in the history
  • Loading branch information
charlesrocket committed Aug 15, 2021
1 parent 6dbdfdf commit c5b5872
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/frightcrawler.cr
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ def pull_bulk
bulk_json = JSON.parse("#{bulk_api.body}")
download_link = bulk_json["data"][3]["download_uri"]
if File.exists?("bulk-data.json")
# daily bulk data pulls
local_time = Time.utc.to_unix
modification_time = File.info("bulk-data.json").modification_time.to_unix
bulk_time = 86000
Expand Down

0 comments on commit c5b5872

Please sign in to comment.