Commit c95409a5 authored by litaolemo's avatar litaolemo

update

parent 781e362a
......@@ -313,7 +313,7 @@ def get_how_word_crawler_count(data_index, start_ts, end_ts, week_num, last_week
def craw_query_one_week(data_index, start_ts, end_ts, week_num, last_week_num, year):
tag_names_list_week = []
all_data_week = []
date = datetime.datetime.fromtimestamp(start_ts)
date = datetime.datetime.fromtimestamp(start_ts/1e3)
one_month_ago = datetime.datetime.now().date() - datetime.timedelta(days=30)
search_keyword_dict = get_search_keywrod_dict()
sql = 'select keywords,sum(sorted) as nums,sum(uv) as uvs from api_search_words where is_delete = 0 and create_time >= "' + str(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment