Skip to content

Commit dcb14f0

Browse files
authored
Merge pull request #508 from GSA/nmb/5602-user-agent
Use the same user-agent as CKAN harvester
2 parents 34d9248 + 51024b7 commit dcb14f0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

harvester/utils/general_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
FREQUENCY_ENUM = {"daily": 1, "weekly": 7, "biweekly": 14, "monthly": 30}
3131

3232
# User-Agent header for all HTTP requests
33-
USER_AGENT = "HarvesterBot/1.0 (https://data.gov;datagovhelp@gsa.gov) Data.gov"
33+
USER_AGENT = "HarvesterBot/0.0 (https://data.gov; datagovhelp@gsa.gov) Data.gov/2.0"
3434

3535
DT_PLACEHOLDER = datetime(1900, 1, 1, 0, 0)
3636

0 commit comments

Comments
 (0)