|
@@ -61,7 +61,7 @@ async def get_domain(domain_name):
|
|
|
# desc=js['siteDescription']
|
|
|
# ustr=desc.encode('utf-8').decode('utf-8')
|
|
|
# print(ustr)
|
|
|
- jsdict={'SiteName':js['name'],'Description':js['siteDescription'],'GlobalRank':js['globalRank'],'Title':js['name'],'Category':js['Category'],'CountryRank':js['countryRank']['rank']}
|
|
|
+ jsdict={'SiteName':js['name'],'Description':js['siteDescription'],'GlobalRank':js['globalRank'],'Title':js['name'],'Category':js['categoryRank']['taxonomy'],'CountryRank':js['countryRank']['rank']}
|
|
|
return JSONResponse(content=jsdict)
|
|
|
|
|
|
|