Skip to content

Commit

Permalink
Set enc to 8859-1
Browse files Browse the repository at this point in the history
  • Loading branch information
mashedkeyboard committed May 5, 2023
1 parent 7de2c8f commit 20e5a67
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scraper.rb
Expand Up @@ -69,5 +69,5 @@ def parse_csv(csv_data)
end

ScraperWiki.sqliteexecute('DROP TABLE data') rescue nil
csv_data = CSV.readlines(open('https://senedd.wales/Umbraco/Api/Committee/DownloadCommitteeMembersCsv?committeeId=355743&cultureInfo=en-GB'), headers: true)
csv_data = CSV.readlines(open('https://senedd.wales/Umbraco/Api/Committee/DownloadCommitteeMembersCsv?committeeId=355743&cultureInfo=en-GB'), headers: true, encoding:'iso-8859-1:utf-8')
parse_csv csv_data

0 comments on commit 20e5a67

Please sign in to comment.