Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import java.net.URL;
- import java.net.URLEncoder;
- import java.util.Scanner;
- public class CSVDownload
- {
- public static void main( String... args ) throws Exception
- {
- String csv;
- URL u = new URL( "https://raw.githubusercontent.com/CSSEGISandData/COVID-19/master/csse_covid_19_data/csse_covid_19_time_series/time_series_covid19_confirmed_US.csv");
- csv = new Scanner( u.openStream() ).useDelimiter( "\\Z" ).next();
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement