Explorar o código

print statement

ming %!s(int64=3) %!d(string=hai) anos
pai
achega
3cea74f35e
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      similar_web/main.py

+ 1 - 0
similar_web/main.py

@@ -118,6 +118,7 @@ async def get_domain_by_keyword(req:kw_req):
 
     statement = 'SELECT * FROM storage_similar_web where SiteName ="'+ domain_name+'"'
     jsdict = None
+    print(db.query(statement))
     for row in db.query(statement):
         jsdict = {'SiteName':row['SiteName'],'Description':row['Description'],'GlobalRank':row['GlobalRank']
             ,'Title':row['Title'],'Category':row['Category'],'CountryRank':row['CountryRank'],'EstimatedMonthlyVisits':eval(row['EstimatedMonthlyVisits'])