Sfoglia il codice sorgente

add weighted traffic

ming 3 anni fa
parent
commit
13d804e76d
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  1. 1 0
      similar_web/main.py

+ 1 - 0
similar_web/main.py

@@ -41,6 +41,7 @@ def fake_traffic(jsdict):
         print('im here')
         jsdict['totalVisits'] = jsdict['totalVisits']*fake_traffic_weighted
         for k,v in jsdict.items():
+            print(jsdict['EstimatedMonthlyVisits'])
             jsdict['EstimatedMonthlyVisits'][k]=int(float(v)*fake_traffic_weighted)
         jsdict['CountryRank']-=fake_rank_plus
         jsdict['GlobalRank']-=fake_rank_plus*66