Ver Fonte

print statement

ming há 3 anos atrás
pai
commit
83249a76e4
1 ficheiros alterados com 0 adições e 2 exclusões
  1. 0 2
      similar_web/main.py

+ 0 - 2
similar_web/main.py

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