Skip to content

Commit 6934ce3

Browse files
authored
Merge pull request #4263 from nhsuk/fix-gias-download
Spoof user agent when downloading GIAS data
2 parents 6a7b68e + 6d9b1ef commit 6934ce3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

app/lib/mavis_cli/gias/download.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ def call
1919

2020
puts "Starting schools data download process..."
2121
agent = Mechanize.new
22+
agent.user_agent_alias = "Mac Safari"
2223

2324
puts "Visiting the downloads page"
2425
page =

0 commit comments

Comments
 (0)