qm_spider package

Submodules

qm_spider.asm_spider module

class qm_spider.asm_spider.Get_ASM_Bill(accountName, accountPwd, start_date, end_date)

Bases: qm_spider.asm_spider.Get_ASM_Consume

asm_bill()
class qm_spider.asm_spider.Get_ASM_Consume(accountName, accountPwd, X_Apple_Widget_Key='a01459d797984726ee0914a7097e53fad42b70e1f08d09294d14523a1d4f61e1', file_name='ASM-可用余额存取表.csv', file_path='./', push_token='https://oapi.dingtalk.com/robot/send?access_token=0dbd8b6b14b0aca04e7f5ea8367d43522d3fc79eaff519a0d7ee3509cfe70e18')

Bases: object

asm_consume()
asm_login()
clear_trash_file()

qm_spider.email_py module

class qm_spider.email_py.Send_Mail(subject, mail_text, send_user, send_userpwd, receivers='ctrlf4@yeah.net', file_path='', from_user='', cc=())

Bases: object

send_qm_mail()

qm_spider.multiprocessing_py module

qm_spider.multiprocessing_py.multiprocessing_run(appid, keyword_hot_start, start_time, end_time, file_path)
qm_spider.multiprocessing_py.top_keyword_multiprocessing(appid_list, keyword_hot_start, start_time, end_time, file_path='./')

qm_spider.pyecharts_plot module

class qm_spider.pyecharts_plot.Bar_Py(title, x_value, y_name, y_value)

Bases: qm_spider.pyecharts_plot.Pyecharts_Var

bar_render_air()
class qm_spider.pyecharts_plot.Line_Py(title, x_value, y_name, y_value, *args)

Bases: qm_spider.pyecharts_plot.Pyecharts_Var

line_render_air()
line_render_qimai()
class qm_spider.pyecharts_plot.Pyecharts_Var(title, x_value, y_name, y_value, *args, subtitle='', is_symbol_show=False, line_width=1, is_show=False, color_list='#00b088', '#f76b61', '#ffb55d', '#8470ff', '#00a2ff', '#ffe400', '#11d2c2', '#c263f9')

Bases: object

render_to_png(c)

qm_spider.threading_py module

class qm_spider.threading_py.Top_Keyword_Thread(threadID, *args)

Bases: threading.Thread

run()

Method representing the thread's activity.

You may override this method in a subclass. The standard run() method invokes the callable object passed to the object's constructor as the target argument, if any, with sequential and keyword arguments taken from the args and kwargs arguments, respectively.

class qm_spider.threading_py.Top_Multiple_Keyword_Thread(appid_list, keyword_hot_start, start_time, end_time, file_path='./')

Bases: object

multiple_Thread_run()

qm_spider.top_keyword module

class qm_spider.top_keyword.Get_Multiple_Top_Keyword(appid_list, keyword_hot_start, start_time, end_time, file_path='./')

Bases: object

class qm_spider.top_keyword.Get_Top_Keyword(appid, keyword_hot_start, start_time, end_time, keyword_hot_end=150000)

Bases: object

df_to_excel(file_path='./')
get_all_top()

Module contents

class qm_spider.DingDing_Push(push_title, *args, push_status='执行成功', now_time='2021-01-29 14:01:06', push_url='https://oapi.dingtalk.com/robot/send?access_token=f3a590b8c5f4c4777fe0f217067f15132091bff53e2a2143a5daa981d795159d')

Bases: object

app_args_push()
app_rank_abnormal_push()
status_push()
class qm_spider.Get_App_Appinfo(appid)

Bases: qm_spider.Qimai_Diy_Var

get_appinfo()
get_subname()
class qm_spider.Get_App_Comment(appid, start_time, end_time)

Bases: qm_spider.Qimai_Diy_Var

get_Star_commentRateNum(star_value='五星')
get_all_commentRateNum()
get_comment()
get_commentNum()
get_commentRateNum()
class qm_spider.Get_App_Keyword(appid)

Bases: qm_spider.Qimai_Diy_Var

app_cover_regular()
get_AnalysisDataKeyword(start_time, end_time)
get_keywordDetail()
get_keywordDetail_to_df()
get_keywordSummary()
class qm_spider.Get_App_Offline_List(start_time, end_time)

Bases: qm_spider.Qimai_Diy_Var

get_app_offline()
class qm_spider.Get_App_Rank(appid, start_time, end_time)

Bases: qm_spider.Qimai_Diy_Var

all_rank()
clear_rank()
get_rank_info()
class qm_spider.Get_App_Recommend(appid)

Bases: qm_spider.Qimai_Diy_Var

featured_match()
get_app_engagement(start_time, end_time)
class qm_spider.Get_App_SamePubApp(appid)

Bases: qm_spider.Get_App_Appinfo, qm_spider.Qimai_Diy_Var

get_app_genName()
get_samePubApp()
samePubApp_sorce()
class qm_spider.Get_App_Status(appid)

Bases: qm_spider.Qimai_Diy_Var

get_all_appStatusList()
get_new_status_info()
get_old_status_info()
get_status_appStatusList()
class qm_spider.Get_Clear_Keyword_List(start_time, end_time)

Bases: qm_spider.Qimai_Diy_Var

get_clear_keyword()
class qm_spider.Get_Clear_Rank_List(start_time, end_time)

Bases: qm_spider.Qimai_Diy_Var

get_clear_rank()
class qm_spider.Get_FreePaidGross_RankList(snapshot='')

Bases: qm_spider.Qimai_Diy_Var

get_freeRank_list()
get_grossRank_list()
get_paidRank_list()
get_updateTime_list()
class qm_spider.Get_Keyword_HintsRank

Bases: qm_spider.Qimai_Diy_Var

get_hints_rank()
class qm_spider.Get_Keyword_Info(keyword)

Bases: qm_spider.Qimai_Diy_Var

get_keyword_hints()
get_keyword_results()
get_keyword_wordID()
get_keyword_wordinfo()
get_top_to_df(top_num=100)
class qm_spider.Get_Keyword_LoseNewDownUp_List(keyword, start_date=datetime.date(2021, 1, 29), end_date=datetime.date(2021, 1, 29))

Bases: qm_spider.Qimai_Diy_Var

get_lostApp_list()
get_newApp_list()
get_rankDown_list()
get_rankGoUp_list()
get_t10App_list()
class qm_spider.Get_PreOrder_AppList

Bases: qm_spider.Qimai_Diy_Var

get_preOrder_applist()
class qm_spider.Qimai_Diy_Var(country='cn', rank_type='all', version='ios12', device='iphone', search_type='all', brand='all', day=1, appRankShow=1, subclass='all', simple=1, rankEchartType=1, rankType='day', run_time=datetime.date(2021, 1, 29), status=6, keyword_hot_start=4605, typec='day', star='five', delete=- 1, orderType='time', commentType='default', genre_type=36, status_type=3, clear_type=1, filter='offline', search_word='', export_type='rank_clear_words', sort_field='beforeClearNum', sort_type='desc', option=4, app_status_str='all', app_status_sdate='', app_status_edate='', app_status_order='', app_status_sort='', preOrder_order=1, change_inc=0, minResult='', maxResult='', minHints='', maxHints='', minPopular='', maxPopular='', top_history='all', lost_sort='out_time')

Bases: object

class qm_spider.Qimai_Intside_Tool(data_info)

Bases: object

new_rank_num(rank_name='总榜(免费)')
old_rank_num(rank_name='总榜(免费)')
rank_ios10_type()
class qm_spider.Qimai_Outside_Tool(*args)

Bases: object

calc_interval_time()
calc_overlap_days(s1, e1, s2, e2)
date_to_time()
get_month_time()
json_to_df()
list_to_df()
match_publisher_company()
match_str_chinese()
time_to_date()
trend_analysis()
unix_time()
class qm_spider.Sing_Qimai(user_id, user_pwd)

Bases: object

login_qm()