三方api文档:http://api.chinaz.com/ApiDetails/Alexa
package com.etoak.crawl.my.alexa;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.io.OutputStream;
import java.net.HttpURLConnection;
import java.net.MalformedURLException;
import java.net.URL;
import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.JSONArray;
import com.alibaba.fastjson.JSONObject;
/**
* Description TODO
**/
public class HttpPost {
/**
* 向指定 URL 发送POST方法的请求
*
* @param httpUrl
* 发送请求的 URL
* @param param
* 请求参数是json
* @return 所代表远程资源的响应结果
*/
public static String doPost(String httpUrl, String param) {
HttpURLConnection connection = null;
InputStream is = null;
OutputStream os = null;
BufferedReader br = null;
String result = null;
try {
URL url = new URL(httpUrl);
// 通过远程url连接对象打开连接
connection = (HttpURLConnection) url.openConnection();
// 设置连接请求方式
connection.setRequestMethod("POST");
// 设置连接主机服务器超时时间:15000毫秒
connection.setConnectTimeout(15000);
// 设置读取主机服务器返回数据超时时间:60000毫秒
connection.setReadTimeout(60000);
// 默认值为:false,当向远程服务器传送数据/写数据时,需要设置为true
connection.setDoOutput(true);
// 默认值为:true,当前向远程服务读取数据时,设置为true,该参数可有可无
connection.setDoInput(true);
// 设置传入参数的格式:请求参数应该是 name1=value1&name2=value2 的形式。
connection.setRequestProperty("Content-Type", "application/json");
// 设置鉴权信息:Authorization: Bearer da3efcbf-0845-4fe3-8aba-ee040be542c0
// connection.setRequestProperty("Authorization", "Bearer
// da3efcbf-0845-4fe3-8aba-ee040be542c0");
// 通过连接对象获取一个输出流
os = connection.getOutputStream();
// 通过输出流对象将参数写出去/传输出去,它是通过字节数组写出的
if (param != null && param.length() > 0) {
os.write(param.getBytes());
}
// 通过连接对象获取一个输入流,向远程读取
if (connection.getResponseCode() == 200) {
is = connection.getInputStream();
// 对输入流对象进行包装:charset根据工作项目组的要求来设置
br = new BufferedReader(new InputStreamReader(is, "UTF-8"));
StringBuffer sbf = new StringBuffer();
String temp = null;
// 循环遍历一行一行读取数据
while ((temp = br.readLine()) != null) {
sbf.append(temp);
sbf.append(" ");
}
result = sbf.toString();
}
} catch (MalformedURLException e) {
e.printStackTrace();
} catch (IOException e) {
e.printStackTrace();
} finally {
// 关闭资源
if (null != br) {
try {
br.close();
} catch (IOException e) {
e.printStackTrace();
}
}
if (null != os) {
try {
os.close();
} catch (IOException e) {
e.printStackTrace();
}
}
if (null != is) {
try {
is.close();
} catch (IOException e) {
e.printStackTrace();
}
}
// 断开与远程地址url的连接
connection.disconnect();
}
return result;
}
public static String doAlexaPost(String httpUrl) {
String urlRoot = "http://apidata.chinaz.com/CallAPI/Alexa?key=你的key&domainName=";
return doPost(urlRoot + httpUrl, null);
}
public static void main(String[] args) {
String url = "aliexpress.com";
//String url = "https://www.aliexpress.com/";
String returnString = doAlexaPost(url);
System.out.println(returnString);
JSONObject jsonObject = JSON.parseObject(returnString);
Integer stateCode = jsonObject.getInteger("StateCode");
System.out.println("stateCode = " + stateCode);
if(!stateCode.equals(1)){
return;
}
JSONObject result = jsonObject.getJSONObject("Result");
Integer globalRank = result.getInteger("Rank");
Integer ipNum = result.getInteger("IpNum");
Integer pvNum = result.getInteger("PvNum");
System.out.println("globalRank = " + globalRank);
System.out.println("ipNum = " + ipNum);
System.out.println("pvNum = " + pvNum);
JSONArray countryList = result.getJSONArray("CountryList");
if(countryList.isEmpty()){
return;
}
for (int i = 0; i < countryList.size(); i++) {
System.out.println();
System.out.println("--------------------------");
System.out.println();
JSONObject country = countryList.getJSONObject(i);
String countryName = country.getString("Name");
String countryCode = country.getString("Code");
Integer countryRank = country.getInteger("Rank");
JSONObject contribution = country.getJSONObject("Contribution");
String pageViewsPercent = contribution.getString("PageViews");
String usersPercent = contribution.getString("Users");
System.out.println("countryName = " + countryName);
System.out.println("countryCode = " + countryCode);
System.out.println("countryRank = " + countryRank);
System.out.println("pageViewsPercent = " + pageViewsPercent);
System.out.println("usersPercent = " + usersPercent);
}
}
}
返回结果:
{"StateCode":1,"Reason":"成功","Result":{"DomainName":"aliexpress.com","Title":"AliExpress","ShowMedianLoadTime":"1863","ShowPercentile":"47","Locale":"未知","Encoding":"未知","LinksInCount":30241,"PhoneNumbers":"未知","Keywords":"","OwnedDomains":"","OwnerName":"未知","Email":"未知","Streets":"","City":"","PostalCode":null,"Country":"","CompanyStockTicker":"","Rank":31,"CategoryData":{"Title":"该站未被亚马逊分类目录收录","AbsolutePath":"该站未被亚马逊分类目录收录"},"CountryList":[{"Code":"MA","Rank":"14","Contribution":{"PageViews":"1.6%","Users":"1.4%"},"Name":"摩洛哥"},{"Code":"IN","Rank":"79","Contribution":{"PageViews":"5.1%","Users":"4.0%"},"Name":"印度"},{"Code":"EG","Rank":"79","Contribution":{"PageViews":"0.5%","Users":"0.7%"},"Name":"埃及"},{"Code":"SG","Rank":"19","Contribution":{"PageViews":"1.3%","Users":"0.8%"},"Name":"新加坡"},{"Code":"TH","Rank":"44","Contribution":{"PageViews":"0.5%","Users":"0.5%"},"Name":"泰国"},{"Code":"BD","Rank":"30","Contribution":{"PageViews":"0.6%","Users":"0.5%"},"Name":"孟加拉国"},{"Code":"TR","Rank":"45","Contribution":{"PageViews":"1.5%","Users":"1.7%"},"Name":"土耳其"},{"Code":"RU","Rank":"13","Contribution":{"PageViews":"5.5%","Users":"9.6%"},"Name":"俄罗斯"},{"Code":"IL","Rank":"9","Contribution":{"PageViews":"1.3%","Users":"1.3%"},"Name":"以色列"},{"Code":"ES","Rank":"11","Contribution":{"PageViews":"2.5%","Users":"4.4%"},"Name":"西班牙"},{"Code":"AZ","Rank":"18","Contribution":{"PageViews":"1.5%","Users":"1.2%"},"Name":"阿塞拜疆"},{"Code":"PK","Rank":"22","Contribution":{"PageViews":"1.3%","Users":"1.1%"},"Name":"巴基斯坦"},{"Code":"US","Rank":"46","Contribution":{"PageViews":"19.7%","Users":"13.9%"},"Name":"美国"},{"Code":"HK","Rank":"59","Contribution":{"PageViews":"0.7%","Users":"0.5%"},"Name":"香港特区"},{"Code":"RO","Rank":"21","Contribution":{"PageViews":"0.3%","Users":"0.7%"},"Name":"罗马尼亚"},{"Code":"BE","Rank":"20","Contribution":{"PageViews":"0.6%","Users":"0.6%"},"Name":"比利时"},{"Code":"AU","Rank":"18","Contribution":{"PageViews":"3.3%","Users":"2.2%"},"Name":"澳大利亚"},{"Code":"SA","Rank":"15","Contribution":{"PageViews":"2.2%","Users":"2.2%"},"Name":"沙特阿拉伯"},{"Code":"CL","Rank":"18","Contribution":{"PageViews":"0.8%","Users":"1.1%"},"Name":"智利"},{"Code":"PL","Rank":"17","Contribution":{"PageViews":"1.5%","Users":"2.2%"},"Name":"波兰"},{"Code":"CH","Rank":"7","Contribution":{"PageViews":"1.4%","Users":"1.2%"},"Name":"瑞士"},{"Code":"NG","Rank":"25","Contribution":{"PageViews":"0.9%","Users":"1.0%"},"Name":"尼日利亚"},{"Code":"RS","Rank":"10","Contribution":{"PageViews":"0.6%","Users":"0.6%"},"Name":null},{"Code":"GB","Rank":"100","Contribution":{"PageViews":"0.5%","Users":"0.6%"},"Name":"英国"},{"Code":"FR","Rank":"24","Contribution":{"PageViews":"2.5%","Users":"2.8%"},"Name":"法国"},{"Code":"CO","Rank":"29","Contribution":{"PageViews":"0.6%","Users":"0.7%"},"Name":"哥伦比亚"},{"Code":"KR","Rank":"70","Contribution":{"PageViews":"1.5%","Users":"2.2%"},"Name":"韩国"},{"Code":"UA","Rank":"30","Contribution":{"PageViews":"0.4%","Users":"0.7%"},"Name":"乌克兰"},{"Code":"BR","Rank":"21","Contribution":{"PageViews":"6.6%","Users":"5.7%"},"Name":"巴西"},{"Code":"IT","Rank":"51","Contribution":{"PageViews":"0.7%","Users":"1.3%"},"Name":"意大利"},{"Code":"CZ","Rank":"23","Contribution":{"PageViews":"0.4%","Users":"0.8%"},"Name":"捷克"},{"Code":"GR","Rank":"45","Contribution":{"PageViews":"1.1%","Users":"0.9%"},"Name":"希腊"},{"Code":"LK","Rank":"10","Contribution":{"PageViews":"0.4%","Users":"0.6%"},"Name":"斯里兰卡"},{"Code":"MX","Rank":"25","Contribution":{"PageViews":"1.5%","Users":"2.3%"},"Name":"墨西哥"},{"Code":"SK","Rank":"11","Contribution":{"PageViews":"0.7%","Users":"0.8%"},"Name":"斯洛伐克"},{"Code":"DZ","Rank":"16","Contribution":{"PageViews":"1.1%","Users":"1.0%"},"Name":"阿尔及利亚"},{"Code":"QA","Rank":"14","Contribution":{"PageViews":"0.6%","Users":"0.6%"},"Name":"卡塔尔"},{"Code":"NL","Rank":"24","Contribution":{"PageViews":"0.5%","Users":"0.9%"},"Name":"荷兰"},{"Code":"CA","Rank":"21","Contribution":{"PageViews":"4.0%","Users":"2.9%"},"Name":"加拿大"},{"Code":"JP","Rank":"77","Contribution":{"PageViews":"5.2%","Users":"3.5%"},"Name":"日本"},{"Code":"CN","Rank":"396","Contribution":{"PageViews":"2.1%","Users":"1.1%"},"Name":"中国"},{"Code":"O","Rank":"","Contribution":{"PageViews":"12.2%","Users":"14.1%"},"Name":"其他"},{"Code":"PE","Rank":"17","Contribution":{"PageViews":"0.5%","Users":"0.9%"},"Name":"秘鲁"},{"Code":"DE","Rank":"53","Contribution":{"PageViews":"1.5%","Users":"1.8%"},"Name":"德国"}],"ContributingSubdomainList":[{"DataUrl":"aliexpress.com","TimeRange":null,"Reach":{"Percentage":"45.83%"},"PageViews":{"Percentage":"44.56%","PerUser":[{"#text":"7.98"}],"StrPerUser":"7.98"}},{"DataUrl":"trade.aliexpress.com","TimeRange":null,"Reach":{"Percentage":"25.10%"},"PageViews":{"Percentage":"5.69%","PerUser":[{"#text":"1.86"}],"StrPerUser":"1.86"}},{"DataUrl":"pt.aliexpress.com","TimeRange":null,"Reach":{"Percentage":"4.88%"},"PageViews":{"Percentage":"5.00%","PerUser":[{"#text":"8.41"}],"StrPerUser":"8.41"}},{"DataUrl":"login.aliexpress.com","TimeRange":null,"Reach":{"Percentage":"28.45%"},"PageViews":{"Percentage":"4.40%","PerUser":[{"#text":"1.27"}],"StrPerUser":"1.27"}},{"DataUrl":"ru.aliexpress.com","TimeRange":null,"Reach":{"Percentage":"10.67%"},"PageViews":{"Percentage":"4.29%","PerUser":[{"#text":"3.30"}],"StrPerUser":"3.30"}},{"DataUrl":"es.aliexpress.com","TimeRange":null,"Reach":{"Percentage":"5.34%"},"PageViews":{"Percentage":"4.04%","PerUser":[{"#text":"6.21"}],"StrPerUser":"6.21"}},{"DataUrl":"best.aliexpress.com","TimeRange":null,"Reach":{"Percentage":"29.58%"},"PageViews":{"Percentage":"3.61%","PerUser":[{"#text":"1.00"}],"StrPerUser":"1.00"}},{"DataUrl":"track.aliexpress.com","TimeRange":null,"Reach":{"Percentage":"12.30%"},"PageViews":{"Percentage":"3.12%","PerUser":[{"#text":"2.08"}],"StrPerUser":"2.08"}},{"DataUrl":"shoppingcart.aliexpress.com","TimeRange":null,"Reach":{"Percentage":"13.95%"},"PageViews":{"Percentage":"2.89%","PerUser":[{"#text":"1.70"}],"StrPerUser":"1.70"}},{"DataUrl":"fr.aliexpress.com","TimeRange":null,"Reach":{"Percentage":"3.16%"},"PageViews":{"Percentage":"2.80%","PerUser":[{"#text":"7.3"}],"StrPerUser":"7.3"}},{"DataUrl":"ja.aliexpress.com","TimeRange":null,"Reach":{"Percentage":"1.52%"},"PageViews":{"Percentage":"2.25%","PerUser":[{"#text":"12"}],"StrPerUser":"12"}},{"DataUrl":"sale.aliexpress.com","TimeRange":null,"Reach":{"Percentage":"12.29%"},"PageViews":{"Percentage":"1.77%","PerUser":[{"#text":"1.18"}],"StrPerUser":"1.18"}},{"DataUrl":"home.aliexpress.com","TimeRange":null,"Reach":{"Percentage":"5.07%"},"PageViews":{"Percentage":"1.56%","PerUser":[{"#text":"2.53"}],"StrPerUser":"2.53"}},{"DataUrl":"msg.aliexpress.com","TimeRange":null,"Reach":{"Percentage":"7.32%"},"PageViews":{"Percentage":"1.20%","PerUser":[{"#text":"1.35"}],"StrPerUser":"1.35"}},{"DataUrl":"ar.aliexpress.com","TimeRange":null,"Reach":{"Percentage":"1.27%"},"PageViews":{"Percentage":"1.07%","PerUser":[{"#text":"6.91"}],"StrPerUser":"6.91"}},{"DataUrl":"tr.aliexpress.com","TimeRange":null,"Reach":{"Percentage":"1.43%"},"PageViews":{"Percentage":"0.94%","PerUser":[{"#text":"5.37"}],"StrPerUser":"5.37"}},{"DataUrl":"pl.aliexpress.com","TimeRange":null,"Reach":{"Percentage":"1.44%"},"PageViews":{"Percentage":"0.86%","PerUser":[{"#text":"4.9"}],"StrPerUser":"4.9"}},{"DataUrl":"message.aliexpress.com","TimeRange":null,"Reach":{"Percentage":"4.46%"},"PageViews":{"Percentage":"0.76%","PerUser":[{"#text":"1.40"}],"StrPerUser":"1.40"}},{"DataUrl":"thirdparty.aliexpress.com","TimeRange":null,"Reach":{"Percentage":"5.70%"},"PageViews":{"Percentage":"0.71%","PerUser":[{"#text":"1.02"}],"StrPerUser":"1.02"}},{"DataUrl":"gsp.aliexpress.com","TimeRange":null,"Reach":{"Percentage":"0.93%"},"PageViews":{"Percentage":"0.68%","PerUser":[{"#text":"6.0"}],"StrPerUser":"6.0"}},{"DataUrl":"de.aliexpress.com","TimeRange":null,"Reach":{"Percentage":"0.97%"},"PageViews":{"Percentage":"0.68%","PerUser":[{"#text":"5.8"}],"StrPerUser":"5.8"}},{"DataUrl":"campaign.aliexpress.com","TimeRange":null,"Reach":{"Percentage":"4.01%"},"PageViews":{"Percentage":"0.59%","PerUser":[{"#text":"1.20"}],"StrPerUser":"1.20"}},{"DataUrl":"feedback.aliexpress.com","TimeRange":null,"Reach":{"Percentage":"3.65%"},"PageViews":{"Percentage":"0.58%","PerUser":[{"#text":"1.30"}],"StrPerUser":"1.30"}},{"DataUrl":"ko.aliexpress.com","TimeRange":null,"Reach":{"Percentage":"0.76%"},"PageViews":{"Percentage":"0.51%","PerUser":[{"#text":"5.5"}],"StrPerUser":"5.5"}},{"DataUrl":"my.aliexpress.com","TimeRange":null,"Reach":{"Percentage":"3.75%"},"PageViews":{"Percentage":"0.49%","PerUser":[{"#text":"1.07"}],"StrPerUser":"1.07"}},{"DataUrl":"it.aliexpress.com","TimeRange":null,"Reach":{"Percentage":"0.69%"},"PageViews":{"Percentage":"0.34%","PerUser":[{"#text":"4.0"}],"StrPerUser":"4.0"}},{"DataUrl":"nl.aliexpress.com","TimeRange":null,"Reach":{"Percentage":"0.62%"},"PageViews":{"Percentage":"0.28%","PerUser":[{"#text":"3.7"}],"StrPerUser":"3.7"}},{"DataUrl":"portals.aliexpress.com","TimeRange":null,"Reach":{"Percentage":"0.60%"},"PageViews":{"Percentage":"0.27%","PerUser":[{"#text":"3.8"}],"StrPerUser":"3.8"}},{"DataUrl":"passport.aliexpress.com","TimeRange":null,"Reach":{"Percentage":"0.86%"},"PageViews":{"Percentage":"0.25%","PerUser":[{"#text":"2.3"}],"StrPerUser":"2.3"}},{"DataUrl":"star.aliexpress.com","TimeRange":null,"Reach":{"Percentage":"1.42%"},"PageViews":{"Percentage":"0.19%","PerUser":[{"#text":"1.1"}],"StrPerUser":"1.1"}},{"DataUrl":"he.aliexpress.com","TimeRange":null,"Reach":{"Percentage":"0.26%"},"PageViews":{"Percentage":"0.17%","PerUser":[{"#text":"5.3"}],"StrPerUser":"5.3"}},{"DataUrl":"flashdeals.aliexpress.com","TimeRange":null,"Reach":{"Percentage":"1.35%"},"PageViews":{"Percentage":"0.17%","PerUser":[{"#text":"1.0"}],"StrPerUser":"1.0"}},{"DataUrl":"tmall.aliexpress.com","TimeRange":null,"Reach":{"Percentage":"0.45%"},"PageViews":{"Percentage":"0.15%","PerUser":[{"#text":"2.7"}],"StrPerUser":"2.7"}},{"DataUrl":"coupon.aliexpress.com","TimeRange":null,"Reach":{"Percentage":"0.66%"},"PageViews":{"Percentage":"0.11%","PerUser":[{"#text":"1.4"}],"StrPerUser":"1.4"}},{"DataUrl":"sell.aliexpress.com","TimeRange":null,"Reach":{"Percentage":"0.57%"},"PageViews":{"Percentage":"0.09%","PerUser":[{"#text":"1.3"}],"StrPerUser":"1.3"}},{"DataUrl":"helppage.aliexpress.com","TimeRange":null,"Reach":{"Percentage":"0.48%"},"PageViews":{"Percentage":"0.08%","PerUser":[{"#text":"1.3"}],"StrPerUser":"1.3"}},{"DataUrl":"accounts.aliexpress.com","TimeRange":null,"Reach":{"Percentage":"0.52%"},"PageViews":{"Percentage":"0.08%","PerUser":[{"#text":"1.2"}],"StrPerUser":"1.2"}},{"DataUrl":"sycm.aliexpress.com","TimeRange":null,"Reach":{"Percentage":"0.31%"},"PageViews":{"Percentage":"0.07%","PerUser":[{"#text":"1.9"}],"StrPerUser":"1.9"}},{"DataUrl":"th.aliexpress.com","TimeRange":null,"Reach":{"Percentage":"0.16%"},"PageViews":{"Percentage":"0.07%","PerUser":[{"#text":"3.5"}],"StrPerUser":"3.5"}},{"DataUrl":"cainiao.aliexpress.com","TimeRange":null,"Reach":{"Percentage":"0.33%"},"PageViews":{"Percentage":"0.07%","PerUser":[{"#text":"1.6"}],"StrPerUser":"1.6"}},{"DataUrl":"service.aliexpress.com","TimeRange":null,"Reach":{"Percentage":"0.35%"},"PageViews":{"Percentage":"0.06%","PerUser":[{"#text":"1.4"}],"StrPerUser":"1.4"}},{"DataUrl":"ilogistics.aliexpress.com","TimeRange":null,"Reach":{"Percentage":"0.38%"},"PageViews":{"Percentage":"0.06%","PerUser":[{"#text":"1.3"}],"StrPerUser":"1.3"}},{"DataUrl":"ilogisticsaddress.aliexpress.com","TimeRange":null,"Reach":{"Percentage":"0.47%"},"PageViews":{"Percentage":"0.06%","PerUser":[{"#text":"1.0"}],"StrPerUser":"1.0"}},{"DataUrl":"survey.aliexpress.com","TimeRange":null,"Reach":{"Percentage":"0.35%"},"PageViews":{"Percentage":"0.05%","PerUser":[{"#text":"1.2"}],"StrPerUser":"1.2"}},{"DataUrl":"OTHER","TimeRange":null,"Reach":{"Percentage":"0"},"PageViews":{"Percentage":"2.35%","PerUser":[{"#text":"0"}],"StrPerUser":"0"}}],"CreateTime":0,"TrendValue":0,"PhysicalAddress":"未知","CNRank":396,"NextRank":31,"ShowDescription":"Launched in April 2010, AliExpress (www.aliexpress.com) is a global retail marketplace targeted at consumers worldwide, many of them located in Russia, the United States and Brazil. The platform enables consumers from around the world to buy directly from wholesalers and manufacturers in China and have access to a wide variety of products at wholesale prices. AliExpress is a business within Alibaba Group.","ShowOnlineSince":"没有记录","ShowAdultContent":"没有记录","UsageStatistic_Day":{"TimeRange":{"Days":1},"Rank":{"Value":"39","Delta":"+3"},"Reach":{"Rank":{"Value":"49","Delta":"+5"},"PerMillion":{"Value":"9,900","Delta":"-5.380%"}},"PageViews":{"PerMillion":{"Value":"2,380","Delta":"-7.294%"},"Rank":{"Value":"28","Delta":"1"},"PerUser":{"Value":"8.84","Delta":"-2.00%"}}},"UsageStatistic_Week":{"TimeRange":{"Days":7},"Rank":{"Value":"34","Delta":"-1"},"Reach":{"Rank":{"Value":"41","Delta":"+1"},"PerMillion":{"Value":"10,900","Delta":"-1.71%"}},"PageViews":{"PerMillion":{"Value":"2,644","Delta":"+0.6%"},"Rank":{"Value":"22","Delta":"-1"},"PerUser":{"Value":"8.61","Delta":"+2%"}}},"UsageStatistic_Month":{"TimeRange":{"Days":30},"Rank":{"Value":"35","Delta":"+7"},"Reach":{"Rank":{"Value":"40","Delta":"+6"},"PerMillion":{"Value":"11,000","Delta":"-16.96%"}},"PageViews":{"PerMillion":{"Value":"2,610","Delta":"-23.98%"},"Rank":{"Value":"23","Delta":"5"},"PerUser":{"Value":"8.21","Delta":"-8.371%"}}},"UsageStatistic_ThreeMonth":{"TimeRange":{"Days":90},"Rank":{"Value":"31","Delta":"-9"},"Reach":{"Rank":{"Value":"40","Delta":"-9"},"PerMillion":{"Value":"12,320","Delta":"+24.3%"}},"PageViews":{"PerMillion":{"Value":"2,936","Delta":"+23.4%"},"Rank":{"Value":"18","Delta":"-5"},"PerUser":{"Value":"8.940","Delta":"-0.667%"}}},"IpNum":8175000.0,"PvNum":70386750.0}}
stateCode = 1
globalRank = 31
ipNum = 8175000
pvNum = 70386750
--------------------------
countryName = 摩洛哥
countryCode = MA
countryRank = 14
pageViewsPercent = 1.6%
usersPercent = 1.4%
--------------------------
countryName = 印度
countryCode = IN
countryRank = 79
pageViewsPercent = 5.1%
usersPercent = 4.0%
--------------------------
countryName = 埃及
countryCode = EG
countryRank = 79
pageViewsPercent = 0.5%
usersPercent = 0.7%