Hello, I need a simple script to extract data from the site [login to view URL]
Aruba 297 AW / ABW 71,566 193 2.516 Billion
Australia 61 AU / AUS 21,515,754 7,686,850 1.488 Trillion
Austria 43 AT / AUT 8,205,000 83,858 417.9 Billion
Azerbaijan 994 AZ / AZE 8,303,512 86,600 76.01 Billion
Bahamas 1-242 BS / BHS 301,790 13,940 8.373 Billion
the script will print out the data in csv format so the example data above would output as it is shown bellow
COUNTRY, COUNTRYCODE, ISO2DIGIT, ISO3DIGET, POPULATION, AREA_KM2, GDP_USD, GDP_AMOUNT_TYPE
Aruba,297,AW,ABW,71566,193,2.516,Billion
Australia,61,AU,AUS,21515754,7686850,1.488,Trillion
Austria,43,AT,AUT,8205000,83858,417.9,Billion
Azerbaijan,994,AZ,AZE,8303512,86600,76.01,Billion
Bahamas,1-242,BS,BHS,301790,13940,8.373,Billion