Skip to content

Commit

Permalink
Merge pull request #25 from tylerjthomas9/dev
Browse files Browse the repository at this point in the history
Prevent attempting downloads on the first day of a quarter
  • Loading branch information
tylerjthomas9 authored Oct 5, 2024
2 parents bf35c1f + ad4b9d8 commit 6a3e5fa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "ScrapeSEC"
uuid = "856806e7-be2f-4540-8165-3a51303b7af0"
authors = ["tylerjthomas9 <[email protected]>"]
version = "1.0.0"
version = "1.0.1"

[deps]
CSV = "336ed68f-0bac-5ca0-87d4-7b16caf5d00b"
Expand Down
2 changes: 1 addition & 1 deletion src/download_filings.jl
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ function download_filings(
running_tests=false::Bool,
clean_text::Function=_pass_text,
)
current_date = Dates.now()
current_date = Dates.now() - Dates.Day(1) #https://github.com/tylerjthomas9/ScrapeSEC.jl/issues/24
current_year = Dates.year(current_date)
current_quarter = Dates.quarterofyear(current_date)

Expand Down

0 comments on commit 6a3e5fa

Please sign in to comment.