# -*- coding:UTF-8 -*-
# @Time  : 2020/12/3 13:53
# @File  : temp_service_to_redis.py
# @email : litao@igengmei.com
# @author : litao
import json
import time
import urllib

query_list = ["双眼皮",
              "瘦脸针",
              "发型",
              "脱毛",
              "水光针",
              "热玛吉",
              "光子嫩肤",
              "吸脂",
              "测脸型",
              "玻尿酸",
              "鼻综合",
              "小气泡",
              "果酸焕肤",
              "如何根据脸型测发型",
              "线雕",
              "脸型适合什么发型",
              "测发型",
              "开内眼角",
              "美白针",
              "隆胸",
              "下颌角",
              "祛斑",
              "菲洛嘉",
              "瘦腿针",
              "隆鼻",
              "植发",
              "眼综合",
              "超声刀",
              "皮秒",
              "双眼皮2388",
              "祛痘",
              "超皮秒",
              "搜索项目、商品、医生",
              "皮秒激光",
              "补水",
              "微针",
              "除皱",
              "面部吸脂",
              "热拉提",
              "脸型",
              "点阵激光",
              "牙齿矫正",
              "面部轮廓",
              "测适合什么发型",
              "颧骨内推",
              "嗨体",
              "美白",
              "ai测颜值",
              "下巴",
              "颜值分析",
              "自体脂肪填充",
              "鼻头",
              "改善肤质",
              "丰胸（隆胸）",
              "热玛吉五代",
              "美莱",
              "玻尿酸注射",
              "黄金微针",
              "手术瘦脸",
              "脂肪填充",
              "牙齿美白",
              "鼻基底",
              "Fotona4D",
              "玻尿酸丰太阳穴",
              "厚唇改薄",
              "吸脂瘦脸",
              "深蓝射频",
              "缩毛孔",
              "自体脂肪填充面部",
              "韩式半永久妆",
              "自体脂肪隆胸",
              "韩式半永久纹眉",
              "鼻部综合",
              "鼻翼缩小",
              "软骨隆鼻",
              "瘦脸",
              "毛发移植",
              "假体隆胸",
              "瘦肩针",
              "双眼皮修复",
              "白瓷娃娃",
              "溶脂针",
              "更美小秘书",
              "切开双眼皮",
              "祛痘印",
              "拍照测发型",
              "手术缩鼻翼",
              "埋线双眼皮",
              "眼袋",
              "m22",
              "法令纹",
              "保妥适",
              "缩鼻翼",
              "玻尿酸丰唇",
              "激光脱毛",
              "洗牙",
              "欧洲之星",
              "适合的头发",
              "周文武",
              "纹眉",
              "人中缩短",
              "发型设计",
              "侧脸",
              "艾莉薇",
              "拉皮",
              "瘦脸针580",
              "黑眼圈",
              "菲洛嘉水光针",
              "开眼角",
              "热玛吉5999",
              "自体脂肪丰太阳穴",
              "瘦腿",
              "抽脂",
              "伊肤泉微针",
              "祛眼袋",
              "自体脂肪全面部填充",
              "M22",
              "溶解酶",
              "泪沟",
              "水光",
              "颧骨",
              "磨骨",
              "瘦脸针680",
              "肋骨鼻",
              "伊婉V",
              "耳软骨隆鼻",
              "光子嫩肤88",
              "面部填充",
              "伊婉C",
              "祛黑眼圈",
              "假体垫鼻基底",
              "点痣",
              "激光祛斑",
              "艺星",
              "黄金微雕",
              "刘海",
              "吸脂瘦大腿",
              "水杨酸",
              "私密",
              "上海艺星医疗美容医院",
              "丰唇",
              "ai测肤质",
              "上睑提肌术",
              "下颌缘提升",
              "除皱针",
              "鼻",
              "玻尿酸隆鼻",
              "眼睑下至",
              "北京美莱医疗美容医院",
              "华美",
              "自体脂肪",
              "祛疤",
              "测肤质",
              "鼻子",
              "果酸",
              "脸型适合什么头型",
              "北京凯润婷（原史三八）医疗美容医院",
              "看我适合什么发型",
              "瘦脸针一口价680",
              "超声提升",
              "测头发",
              "植发际线",
              "玻尿酸丰下巴",
              "半永久纹眉",
              "皮肤检测",
              "上海首尔丽格医疗美容整形医院",
              "丰胸",
              "定点双眼皮",
              "埋线",
              "溶脂",
              "祛痣",
              "光纤溶脂",
              "眼",
              "熊猫针",
              "乔雅登",
              "针清",
              "广州积美医疗美容门诊部",
              "去眼袋",
              "重庆华美整形美容医院",
              "鼻修复",
              "处女膜修复",
              "M唇成形术",
              "微笑唇",
              "玻尿酸丰鼻基底",
              "测脸",
              "测一测发型",
              "假体隆鼻",
              "看看我适合什么发型",
              "胶原蛋白",
              "射频紧肤",
              "痘坑",
              "热玛吉四代",
              "魔镜测脸",
              "埋线提升",
              "假体下巴",
              "重庆时光整形美容医院",
              "无痕植眉",
              "胶原蛋白填充泪沟",
              "点阵",
              "全身吸脂",
              "进口botox瘦脸针",
              "所长大人",
              "杭州艺星医疗美容医院",
              "红蓝光",
              "吸脂瘦全身",
              "扫一扫发型",
              "爱芙莱",
              "大腿吸脂",
              "头发",
              "紫馨医疗美容医院",
              "微针祛痘坑",
              "北京艺星医疗美容医院",
              "肋骨鼻综合",
              "肉毒素",
              "蜂巢皮秒",
              "玻尿酸垫下巴",
              "测颜值",
              "收缩毛孔",
              "提眉术",
              "发际线",
              "熊猫针祛黑眼圈",
              "广州美莱医疗美容",
              "切开双眼皮去皮去脂",
              "胸",
              "上海薇琳医疗美容医院",
              "广州曙光医学美容医院",
              "硅胶隆鼻",
              "嗨体祛颈纹",
              "私密整形",
              "嗨体泪沟",
              "北京画美医院",
              "肋软骨隆鼻",
              "酒窝",
              "刷酸",
              "腰腹吸脂",
              "深圳联合丽格医疗美容门诊部",
              "广州天姿医美",
              "太阳穴填充",
              "深圳艺星医疗美容医院",
              "抬头纹",
              "轮廓针",
              "fotona",
              "润百颜",
              "沈阳灿美医疗美容",
              "玻尿酸除法令纹",
              "双眼皮一口价2149",
              "洁面",
              "提眉",
              "上海美莱医疗美容医院",
              "西安米兰柏羽医疗美容医院（原西安美立方）",
              "英诺",
              "黑脸娃娃",
              "我是什么脸",
              "广东美恩整形美容医院",
              "乔雅登极致",
              "切眉",
              "小阴唇手术",
              "种植发际线",
              "射频",
              "溶脂针瘦脸",
              "热玛吉一口价5279",
              "卧蚕",
              "西安美莱医学美容医院",
              "补牙",
              "下眼睑下至",
              "法思丽",
              "郑州东方整形美容医院",
              "侧颜值",
              "北京凤凰妇儿医院",
              "嘟嘟唇",
              "玻尿酸填充泪沟",
              "ai测脸",
              "射频祛黑眼圈",
              "阴道紧缩",
              "酷塑",
              "硅胶垫下巴",
              "上海九院",
              "上海华美医疗美容医院",
              "丝丽动能素",
              "深圳美莱医疗美容医院",
              "手术紧缩阴道",
              "颈纹",
              "广州可玫尔医疗美容",
              "ai",
              "开外眼角",
              "童颜针",
              "膨体隆鼻",
              "小宝",
              "重庆当代整形美容医院",
              "一针降颧骨",
              "试发型",
              "北京联合丽格第一医疗美容医院",
              "洗眉",
              "成都军大整形美容医院",
              "拍照",
              "去法令纹",
              "小棕瓶",
              "填充泪沟",
              "润百颜黑金",
              "海薇",
              "面部提升",
              "眶隔脂肪释放",
              "婴儿针",
              "M唇",
              "润月雅水光针",
              "上海悦莱医疗美容门诊部有限公司",
              "颧骨降低",
              "双眼皮修复手术",
              "广东省韩妃整形医院（官方旗舰店）",
              "我想测一下我是什么脸型",
              "嗨体去颈纹",
              "去黑眼圈",
              "四川华美紫馨医学美容医院",
              "南京艺星医疗美容",
              "面吸",
              "八大处",
              "下颌角整形",
              "上海李斌",
              "私密漂红",
              "适合妆容",
              "广州华美医疗美容医院",
              "自体脂肪全脸填充",
              "拉皮手术",
              "面部分析",
              "冷光美白",
              "无针水光",
              "更美",
              "阴唇整形",
              "深圳艾妍医疗美容门诊部",
              "四川米兰柏羽医学美容医院",
              "眉毛",
              "唇综合",
              "小腿神经阻断术",
              "西安画美医疗美容医院",
              "去疤痕",
              "冷冻溶脂",
              "积美",
              "腰腹环吸",
              "舒敏之星",
              "私密脱毛",
              "美立方",
              "重庆军美医疗美容医院",
              "瑞蓝",
              "上海百达丽医疗美容门诊部",
              "重庆星宸整形美容医院",
              "妊娠纹",
              "成都市西区医院",
              "眼部热玛吉",
              "美莱瘦脸针",
              "头型",
              "红蓝光祛痘",
              "双下巴",
              "微笑唇/M唇",
              "双美",
              "婕尔",
              "肤质测试",
              "鼻基底凹陷",
              "凸嘴矫正",
              "脂肪胶",
              "嘴角上扬术",
              "玻尿酸填充面部",
              "丰臀",
              "全切双眼皮修复",
              "北京惠合嘉美医疗美容",
              "更美ai",
              "m唇",
              "水光针注射",
              "除皱针注射",
              "脸型决定发型",
              "双眼皮2149",
              "南京美贝尔医疗整形美容医院",
              "垫下巴",
              "凯润婷",
              "内切祛眼袋",
              "壹加壹",
              "北京润美玉之光医疗美容",
              "全切双眼皮",
              "文艺优雅脸适合什么头发",
              "你的大王",
              "阴唇漂红",
              "人中缩短术",
              "英诺小棕瓶",
              "衡力瘦脸针",
              "重庆玛恩医疗美容医院",
              "磨骨手术",
              "上海伯思立医疗美容门诊部",
              "私密紧致",
              "热提拉",
              "海菲秀",
              "光博士",
              "ai试发型",
              "红血丝",
              "我适合什么发型",
              "昆明梦想医疗美容医院",
              "去黑头",
              "美版超声提升",
              "润百颜水光针",
              "南宁悦星医疗美容",
              "一键侧脸",
              "嗨体熊猫针",
              "热拉提plus",
              "自体脂肪隆鼻",
              "化妆",
              "五洲",
              "下颌缘",
              "吸脂瘦手臂",
              "黑头",
              "宝尼达",
              "小拉皮",
              "牙齿隐形矫正",
              "激光祛疤",
              "颧骨颧弓",
              "厚唇改薄术",
              "重庆美莱整形美容医院",
              "适合什么样的眉毛",
              "激光点痣",
              "深圳鹏爱秀琪医疗美容医院",
              "伊婉",
              "鼻骨内推",
              "深圳阳光医院",
              "光子",
              "圆脸适合什么发型",
              "测试",
              "假体丰臀",
              "精华导入",
              "雪儿海蒂（女性私密整形专科）",
              "种植牙",
              "丝丽",
              "吸脂祛双下巴",
              "隐形矫正",
              "剪头发",
              "眼部综合",
              "玻尿酸溶解酶",
              "广州荔医整形美容",
              "北京煤医医疗美容医院（原煤炭总医院整形科）",
              "PRP自体血清美肤",
              "毛孔粗大",
              "抗衰",
              "人中",
              "双美胶原蛋白",
              "祛黑头",
              "美瞳线",
              "填充",
              "三点双眼皮",
              "重庆新铜雀台整形美容医院",
              "测试发型",
              "眉弓",
              "薇琳",
              "小阴唇整形",
              "削骨",
              "深圳富华医疗美容医院",
              "成都铜雀台医学美容医院",
              "杭州华山连天美医疗美容医院",
              "衡力",
              "眼部护理",
              "重庆沙坪坝玺悦台医疗美容门诊有限公司",
              "兔八哥",
              "北京彤美整形",
              "腰腹抽脂",
              "胸部下垂矫正",
              "ai测脸型",
              "伊肤泉",
              "缔妍",
              "小气泡美肤",
              "测一测脸型",
              "迷你小拉皮",
              "激光祛黑眼圈",
              "牙齿瓷贴面",
              "适合什么发型",
              "上海愉悦美联臣医疗美容医院有限公司",
              "乳头缩小",
              "男性私密",
              "光纤溶脂瘦脸",
              "深圳鹏程医院",
              "祛斑套餐",
              "杭州仁德妇产医院（私密整形修复中心）",
              "玻尿酸下巴",
              "射频提升",
              "射频溶脂",
              "面部线雕",
              "祛皱",
              "肉毒",
              "非剥脱点阵激光",
              "维多利亚",
              "去除脸上痘痘",
              "成都艺星医疗美容医院",
              "威塑吸脂",
              "下至",
              "明星颜值分析",
              "福州格莱美美容医院",
              "魔镜侧脸",
              "小腿吸脂",
              "重庆宝丽医疗整形",
              "苹果肌",
              "疤痕",
              "V脸套餐",
              "自体脂肪丰臀",
              "怎么测脸型",
              "方脸发型",
              "薄唇",
              "深圳福华医疗美容医院",
              "荔湾鼻综合",
              "小阴唇",
              "瑞蓝2号",
              "去痘印痘坑",
              "玻尿酸垫鼻基底",
              "三文鱼水光针",
              "自体脂肪填充泪沟",
              "荔湾丰胸",
              "缩小鼻头",
              "大分子玻尿酸",
              "八大处整形（亚运村院）",
              "菲蜜丽",
              "女性私密",
              "面部测试",
              "深圳鹏爱医疗美容医院",
              "北京亚楠容悦医疗美容诊所",
              "南京医科大学友谊整形外科医院",
              "外切祛眼袋",
              "御美妍",
              "测试脸型",
              "抽脂瘦身",
              "杭州美莱医疗美容医院",
              "太阳穴",
              "重庆艺星医疗美容医院",
              "北京华悦府医疗美容",
              "激光紧缩阴道",
              "垫眉弓",
              "广大整形美容医院",
              "吸脂瘦小腿",
              "怎样去黑头",
              "拉皮手术提升",
              "南京华美整形医院",
              "伊美尔",
              "搜索项目、美购、医生",
              "广州医选医疗美容",
              "西安华旗唯美医疗美容门诊部",
              "哈尔滨斯美诺医疗美容门诊",
              "全身脱毛",
              "ai测发型",
              "上海玫瑰医疗美容医院",
              "脸型适合的发型",
              "海薇伊婉",
              "玻尿酸导入",
              "超体隆鼻",
              "吸脂瘦下颌缘",
              "正颌手术",
              "瘦肩",
              "鼻头缩小",
              "超光子",
              "牙贴面",
              "",
              "铜雀台",
              "减肥",
              "冰点脱毛",
              "埋线减肥",
              "嘴唇",
              "测眼睛",
              "成都美绽美整形美容医院",
              "面膜",
              "美修斯",
              "刘晓伟",
              "上海光博士医疗美容门诊部",
              "成都中医大银海医美",
              "更换发型",
              "轮廓",
              "手术缩鼻头",
              "垫鼻基底",
              "祛颊脂垫",
              "自体脂肪丰胸",
              "痘印",
              "五洲水光",
              "适合发型",
              "拍照侧脸",
              "画美",
              "瘦身",
              "中家医家庭医生整形美容医院",
              "去痣",
              "美白嫩肤",
              "漂红",
              "眼睛",
              "河南缔莱美整形美容医院",
              "悦升线",
              "四川美莱医学美容医院",
              "眼修复",
              "牙套",
              "膨体垫下巴",
              "壹加壹整形美容医院（华南旗舰院）",
              "牙齿",
              "唇",
              "长沙艺星医学美容医院",
              "乳晕漂红",
              "王者之冠",
              "返现小助手",
              "五洲瘦脸",
              "美颜相机",
              "AI",
              "祛痘生活美容",
              "手臂吸脂",
              "北京薇琳医疗美容医院",
              "脂肪填充修复",
              "下颌角切除术",
              "漂唇",
              "小切口手术提升",
              "小切口拉皮",
              "西安艺星医疗美容医院",
              "超生刀",
              "脂肪填充面部年轻化",
              "拔牙",
              "怎么去痘痘",
              "蛋白",
              "痘痘",
              "深圳悦她医疗美容",
              "种植睫毛",
              "九院",
              "大腿环吸",
              "线雕隆鼻",
              "杭州薇琳医疗美容医院",
              "爱贝芙",
              "深圳弘美医疗美容门诊部",
              "四川省人民医院医疗集团友谊医院",
              "毛孔",
              "河南汇星医疗美容整形",
              "三文鱼",
              "黄雪琴",
              "唯颜医疗美容诊所",
              "重庆铂生医疗美容",
              "深圳米兰柏羽医疗美容门诊部",
              "重庆新瑞俪医疗美容",
              "北京雅靓医疗美容",
              "如何去黑头",
              "西安壹加壹医疗美容医院（西北旗舰店）",
              "深圳妍熙医疗美容门诊部",
              "针清祛痘",
              "下颚线",
              "正颌",
              "激光去痘印",
              "适合自己的发型",
              "脱发际线",
              "沈阳杏林整形外科医院",
              "内切去眼袋",
              "天津伊美尔医疗整形美容专科医院",
              "上眼睑下垂矫正",
              "鼻小柱延长",
              "洗纹身",
              "隐适美",
              "嘴巴整形",
              "北京华韩医疗美容医院",
              "检测脸型",
              "曼托",
              "苏州美莱美容医院",
              "侧脸。",
              "胶原蛋白注射",
              "北京京城皮肤美容医院",
              "上海颜范医美",
              "咬肌切除",
              "烤瓷牙",
              "拔智齿",
              "水光针188",
              "首尔丽格",
              "鼻翼",
              "长沙美莱医疗美容医院",
              "仁德",
              "颊脂垫",
              "北京达美如艺医疗美容",
              "重庆长良医疗美容",
              "丽珠兰",
              "鹅蛋脸适合什么发型",
              "吸脂瘦腰部",
              "沈阳童颜医疗美容门诊部",
              "武汉艺星医疗美容医院",
              "眶隔释放",
              "上海时光整形外科医院",
              "水动力吸脂",
              "重庆五洲整形",
              "男生",
              "成都八大处医疗美容医院",
              "缩鼻头",
              "深圳丽港丽格医疗美容",
              "玻尿酸填充卧蚕",
              "测测看发型",
              "重庆军科整形美容医院",
              "Fotona",
              "重庆美仑美奂医疗整形美容医院",
              "美白舱",
              "怎么侧脸",
              "脸型矫正",
              "自体肋软骨隆鼻",
              "适合的发型",
              "漂亮的美发",
              "肤质分析",
              "玻尿酸全脸填充",
              "鼻部",
              "韩妃",
              "正畸",
              "紧致提升",
              "二氧化碳点阵",
              "纹唇",
              "百达丽",
              "洗面奶",
              "颜值",
              "扫脸配发型",
              "联合丽格",
              "如何测发型",
              "上海仁爱医院",
              "川字纹",
              "瘦小腿",
              "时光",
              "毕胜",
              "我适合什么样的发型",
              "更美AI测脸",
              "超皮秒999",
              "上海知颜医疗美容",
              "美恩",
              "如何测脸型",
              "私处美白",
              "南京康美国际整形美容医院",
              "杭州格莱美医疗美容医院",
              "下颌角切除",
              "去双下巴",
              "丰额头",
              "广州艺美整形",
              "膨体垫鼻基底",
              "乔雅登雅致",
              "广州深美整形美容",
              "颜值测试",
              "杭州甄美医疗美容医院",
              "做头发",
              "威塑",
              "瑞丽",
              "动能素",
              "胶原蛋白填充祛黑眼圈",
              "妍熙",
              "鞠婧祎",
              "重庆玛恩玻尿酸",
              "额头缩小",
              "武汉五洲整形美容医院",
              "颧弓内推",
              "测测发型",
              "脸上长痘痘了怎么办",
              "牙齿贴面",
              "上海瑰丽医疗美容门诊部",
              "热玛吉5279",
              "果酸换肤",
              "鹏爱",
              "线雕鼻",
              "杭州时光医疗美容医院",
              "北京知音医疗美容",
              "激光",
              "自体脂肪面部填充",
              "泪沟明显",
              "胸部提升",
              "填充卧蚕",
              "皮秒祛斑",
              "瘦脸针下颌缘",
              "脂肪",
              "丹sir",
              "成都润美玉之光医疗美容",
              "成都恒博医疗美容",
              "昆明美伊莱医疗美容",
              "一键测脸",
              "男生整容",
              "easySCULPT怡脂",
              "半永久",
              "华中科技大学同济医学院医院",
              "脸型测试",
              "轮廓套餐",
              "颜范医疗美容武汉总院",
              "成都天使之翼医学美容医院",
              "男生发型",
              "干细胞填充",
              "北京星医汇医疗美容门诊部",
              "肉毒素去鱼尾纹",
              "激光祛眼袋",
              "成都西区安琪儿妇产医院",
              "傲诺拉",
              "全身美白",
              "重庆星荣整形外科医院",
              "墨镜侧脸",
              "自体脂肪祛黑眼圈",
              "鼻部修复",
              "康华清医疗美容门诊部",
              "野生眉",
              "云南华美美莱美容医院",
              "乳晕漂染",
              "上海和德门诊部有限公司",
              "圆脸发型",
              "塌鼻子",
              "北京领医医疗美容",
              "清华大学玉泉医院",
              "长曲线下颌角",
              "则一则你是什么脸",
              "进口瘦脸针",
              "眼部提肌",
              "湖南叶甄美医疗美容",
              "M22光子嫩肤特惠100元",
              "肉毒素瘦脸",
              "黄金微雕面部吸脂",
              "上睑提肌",
              "发型测试",
              "玛恩玻尿酸",
              "深圳优脂医疗美容",
              "杭州维多利亚医疗美容医院",
              "缩胸",
              "长沙爱思特医疗美容医院",
              "曙光",
              "变白",
              "福州爱美尔医疗美容",
              "皓齿美白",
              "合适发型",
              "冯啸",
              "深圳广和门诊部",
              "和颜美帕",
              "瓷贴面",
              "我属于什么脸型",
              "东莞美立方",
              "韩国4ever医疗美容（杭州院）",
              "眼部修复",
              "长沙梵童医疗美容门诊部",
              "不开刀去眼袋",
              "广州贝漾美天医疗美容",
              "时代天使",
              "上海医颜医疗美容门诊部",
              "植眉",
              "面部分析在哪里打开",
              "直播",
              "比基尼线脱毛",
              "成都菲尔瑞医疗美容",
              "种植眉毛",
              "武汉华美整形外科医院总院（中整协修复基地）",
              "光子嫩肤m22",
              "外眼角",
              "上海伊莱美医疗美容医院",
              "近视矫正",
              "嘴角上扬",
              "膨体垫眉弓",
              "昆明艺星医疗美容医院",
              "广州紫馨",
              "日式无痕双眼皮",
              "河南整形美容医院",
              "莫娜丽莎",
              "郑州华领医疗美容医院",
              "乳晕缩小",
              "超肋隆鼻",
              "扫脸",
              "美贝尔",
              "整形模拟",
              "祛斑祛色素",
              "整牙",
              "脂肪隆胸",
              "瘦脸针限时680",
              "武汉诠美医疗美容门诊部",
              "东国水光针",
              "切眉术",
              "昆明吴氏嘉美美容医院",
              "怎么测发型",
              "广州美莱",
              "看看我是什么脸型",
              "杭州美天美医疗美容门诊部有限公司",
              "G点注射",
              "bodytite黄金微雕",
              "中医药下颌角",
              "成都圣丹福整形美容医院",
              "下颌骨",
              "深圳颜美医疗美容门诊部",
              "缩小毛孔",
              "头发种植",
              "深圳鹏爱悦己医疗美容医院",
              "广美整形美容",
              "水氧活肤",
              "祛颈纹",
              "更美小助手",
              "co2点阵激光",
              "阴蒂整形",
              "深圳健丽医疗美容门诊部",
              "酒窝成形术",
              "武汉化蝶整形",
              "吸脂瘦腹部",
              "祛痘坑",
              "青岛华韩整形美容医院",
              "杭州瑞丽医疗美容医院",
              "妆容",
              "腹壁成形术",
              "西安尤美医疗美容诊所",
              "北京炫美医疗美容",
              "北京俏中关医疗美容门诊部",
              "颧骨高",
              "缩阴术",
              "眶隔释放术",
              "调Q激光净肤",
              "北京八大处",
              "医选",
              "半肋骨隆鼻",
              "短发",
              "武汉中翰整形外科医院",
              "上海奉浦医院",
              "皮肤",
              "深圳福雅医疗美容",
              "苏州康美美容医院",
              "唇形",
              "更美AI",
              "FAME芝洺国际医美",
              "测脸型。",
              "丰体针",
              "深圳谦达医疗美容",
              "干细胞",
              "测适合什么妆容",
              "泰州华美医疗美容",
              "激光去眼袋",
              "狐臭手术",
              "润月雅",
              "医院",
              "玻尿酸填充丰苹果肌",
              "郑州美莱",
              "剥脱型点阵激光",
              "南京华韩奇致美容医院",
              "罗海军",
              "润百颜玻尿酸",
              "缩人中",
              "染料激光",
              "内切眼袋眶隔释放",
              "全瓷牙",
              "南京美莱整形",
              "提升",
              "创美荟",
              "嘴唇外翻",
              "酷塑冷冻溶脂",
              "明星脸",
              "脸型眉毛",
              "双眼皮加宽",
              "半永久美瞳线",
              "武汉洪山月目医疗美容",
              "武汉美莱医疗美容医院",
              "杭州珠儿丽医疗美容",
              "乔雅登玻尿酸",
              "中医药肋",
              "脸部吸脂",
              "姣兰",
              "长沙南湖整形医疗美容医院（长沙南湖和睦医院）",
              "北京欧扬医疗美容门诊部",
              "瘦大腿",
              "全脸整形套餐",
              "SVF-gel脂肪胶",
              "假体垫下巴",
              "长沙亚韩医疗美容医院",
              "眼部整形",
              "武汉仁爱时光医疗美容",
              "下颚角切除",
              "比基尼脱毛",
              "调q",
              "长脸",
              "陈萍",
              "武汉美基元医疗美容医院",
              "南昌韩美美容医院",
              "玻尿酸填充",
              "耳软骨",
              "瘦肩膀",
              "DPL精准嫩肤",
              "郑州颜图丽人医疗美容",
              "艾莉薇（韩国）",
              "脂肪丰胸",
              "肉毒素去抬头纹",
              "埋线隆鼻",
              "紫馨",
              "成都鹏爱悦己医疗美容",
              "重庆联合丽格美容医院",
              "娃娃脸适合什么发型",
              "下颌线",
              "保妥适肉毒素",
              "闭口",
              "矫正牙套",
              "怡脂",
              "选择发型",
              "云南铜雀台整形美容医院",
              "aopt",
              "成都军建医院",
              "半永久纹唇",
              "孕睫术",
              "我是什么脸型",
              "杭州天鑫医疗整形（旗舰店）",
              "眼部",
              "怎么试发型",
              "嘴巴",
              "佛山美莱医疗美容医院",
              "怎么化妆",
              "成都艺美汇植发",
              "AI测脸",
              "额头",
              "阴茎延长",
              "长沙华韩华美医疗美容医院",
              "中医药微创颧骨",
              "爱思特",
              "广州瑞港医疗美容",
              "opt",
              "任东",
              "dpl",
              "玻尿酸嘟嘟唇",
              "深圳美瑞儿医疗美容门诊部",
              "杭州整形医院",
              "丰太阳穴",
              ]

city_list = {
"sichuan":298,
"xinjiang":299,
"neimenggu":300,
"xinjiang":301,
"xizang":302,
"hainan":303,
"shanxi":304,
"yunnan":305,
"anhui":306,
"liaoning":307,
"guizhou":308,
"henan":309,
"aomen":310,
"jilin":311,
"guangxi":312,
"hainan":313,
"jilin":314,
"gansu":315,
"tianjin":316,
"hebei":317,
"shanxi":318,
"yunnan":319,
"hainan":320,
"neimenggu":321,
"neimenggu":322,
"xinjiang":323,
"sichuan":324,
"chongqing":325,
"tianjin":326,
"guangxi":327,
"beijing":328,
"anhui":329,
"liaoning":330,
"guizhou":331,
"shandong":332,
"chongqing":333,
"xinjiang":334,
"anhui":335,
"hebei":336,
"jilin":337,
"hunan":338,
"xizang":339,
"xinjiang":340,
"hainan":341,
"beijing":342,
"hunan":343,
"chongqing":344,
"jiangsu":345,
"shannxi":346,
"jiangsu":347,
"anhui":348,
"beijing":349,
"guangdong":350,
"hebei":351,
"sichuan":352,
"chongqing":353,
"hainan":354,
"hunan":355,
"neimenggu":356,
"anhui":357,
"shanghai":358,
"chongqing":359,
"guangxi":360,
"yunnan":361,
"anhui":362,
"tianjin":363,
"yunnan":364,
"liaoning":365,
"liaoning":366,
"aomen":367,
"hainan":368,
"heilongjiang":369,
"shannxi":370,
"beijing":371,
"heilongjiang":372,
"sichuan":373,
"chongqing":374,
"yunnan":375,
"sichuan":376,
"shandong":377,
"chongqing":378,
"gansu":379,
"yunnan":380,
"hainan":381,
"guangdong":382,
"dongjingdu":2669,
"tianjin":383,
"zhejiang":384,
"shandong":385,
"neimenggu":386,
"hubei":387,
"hubei":388,
"guangxi":389,
"beijing":390,
"chongqing":391,
"chongqing":392,
"beijing":393,
"shanghai":394,
"guangdong":395,
"chongqing":396,
"liaoning":397,
"liaoning":398,
"anhui":399,
"fujian":400,
"jiangxi":401,
"gansu":402,
"jiangxi":403,
"sichuan":404,
"taiwan":405,
"qinghai":406,
"sichuan":407,
"sichuan":408,
"guangdong":409,
"guangxi":410,
"guangxi":411,
"guizhou":412,
"qinghai":413,
"ningxia":414,
"heilongjiang":415,
"qinghai":416,
"beijing":417,
"qinghai":418,
"hainan":419,
"qinghai":420,
"qinghai":421,
"xinjiang":422,
"hebei":423,
"tianjin":424,
"zhejiang":425,
"shanxi":426,
"anhui":430,
"henan":427,
"guangxi":428,
"chongqing":429,
"anhui":430,
"heilongjiang":431,
"heilongjiang":432,
"shannxi":433,
"hebei":434,
"hunan":435,
"xinjiang":436,
"guangdong":437,
"shandong":438,
"guangxi":439,
"yunnan":440,
"jiangsu":441,
"anhui":442,
"hunan":443,
"anhui":444,
"beijing":445,
"taiwan":446,
"hubei":447,
"qinghai":448,
"anhui":449,
"hubei":450,
"neimenggu":451,
"guangdong":452,
"liaoning":453,
"neimenggu":454,
"zhejiang":455,
"shanghai":456,
"heilongjiang":457,
"jiangxi":458,
"chongqing":459,
"guangdong":460,
"sichuan":461,
"henan":462,
"zhejiang":463,
"taiwan":464,
"gansu":465,
"guangdong":466,
"jilin":467,
"shandong":468,
"gansu":469,
"shannxi":470,
"jiangxi":471,
"tianjin":472,
"jiangsu":1681,
"hubei":473,
"hubei":474,
"zhejiang":475,
"shandong":476,
"tianjin":477,
"shanghai":478,
"shannxi":479,
"liaoning":480,
"jiangxi":481,
"xianggang":482,
"gansu":483,
"heilongjiang":484,
"tianjin":485,
"henan":486,
"jizhoutebiezizhidao":2536,
"henan":487,
"chongqing":488,
"xinjiang":489,
"xinjiang":490,
"xinjiang":491,
"xinjiang":492,
"yunnan":493,
"jiangsu":494,
"guangxi":495,
"shandong":496,
"hebei":497,
"gansu":498,
"xizang":499,
"hainan":500,
"sichuan":501,
"chongqing":502,
"sichuan":503,
"jiangsu":504,
"shandong":505,
"liaoning":506,
"jilin":507,
"yunnan":508,
"yunnan":509,
"shannxi":510,
"hainan":511,
"hainan":512,
"gansu":513,
"shandong":514,
"xizang":515,
"zhejiang":516,
"anhui":517,
"guizhou":518,
"guangxi":519,
"gansu":520,
"fujian":521,
"hunan":522,
"aomen":523,
"henan":524,
"henan":525,
"sichuan":526,
"shannxi":527,
"anhui":528,
"mangu":3936,
"guangdong":529,
"sichuan":530,
"guangdong":531,
"beijing":532,
"sichuan":533,
"taiwan":534,
"shanghai":535,
"beijing":536,
"shandong":284,
"heilongjiang":537,
"jiangxi":538,
"sichuan":539,
"chongqing":540,
"shanghai":541,
"jiangsu":542,
"guangxi":543,
"fujian":544,
"jiangsu":545,
"taiwan":546,
"henan":547,
"xizang":548,
"sichuan":549,
"zhejiang":550,
"fujian":551,
"tianjin":552,
"yunnan":553,
"liaoning":554,
"sichuan":555,
"chongqing":556,
"henan":557,
"taiwan":558,
"beijing":559,
"gansu":560,
"jiangxi":561,
"shanghai":562,
"yunnan":563,
"fujian":564,
"henan":565,
"guizhou":566,
"hubei":567,
"chongqing":568,
"guizhou":569,
"guizhou":570,
"chongqing":571,
"shandong":572,
"shanghai":573,
"gansu":574,
"guangdong":575,
"hebei":576,
"guangxi":577,
"hainan":578,
"hainan":579,
"heilongjiang":580,
"heilongjiang":581,
"fujian":582,
"yunnan":583,
"zhejiang":584,
"xizang":585,
"shandong":586,
"chongqing":587,
"shandong":588,
"henan":589,
"fujian":590,
"hainan":591,
"shanghai":592,
"shanxi":593,
"henan":594,
"jiangxi":595,
"xizang":596,
"guangdong":597,
"guangdong":598,
"guangdong":599,
"zhejiang":600,
"hunan":601,
"zhejiang":7401,
"hubei":602,
"liaoning":603,
"guangdong":604,
"xinjiang":605,
"hebei":606,
"beijing":607,
"hubei":608,
"shanghai":609,
"chongqing":610,
"ningxia":611,
"shouer":612,
"heilongjiang":613,
"guangdong":1033,
"beijing":614,
"shannxi":615,
"jilin":616,
"shanghai":617,
"jilin":618,
"heilongjiang":619,
"sichuan":620,
"hubei":621,
"jiangsu":622,
"jiangsu":623,
"anhui":624,
"xinjiang":625,
"shandong":626,
"taiwan":627,
"jiangsu":628,
"taiwan":629,
"taiwan":630,
"shannxi":631,
"taiwan":632,
"jiangsu":633,
"zhejiang":634,
"tianjin":635,
"hebei":636,
"taiwan":637,
"tianjin":638,
"hubei":639,
"gansu":640,
"liaoning":641,
"shanxi":642,
"jilin":643,
"chongqing":644,
"neimenggu":645,
"anhui":646,
"chongqing":647,
"guizhou":648,
"beijing":649,
"xinjiang":650,
"hainan":651,
"hainan":652,
"chongqing":653,
"chongqing":654,
"shandong":655,
"shandong":656,
"shanxi":657,
"hainan":658,
"yunnan":659,
"zhejiang":660,
"neimenggu":661,
"hubei":662,
"anhui":663,
"neimenggu":664,
"chongqing":665,
"xinjiang":666,
"tianjin":667,
"chongqing":668,
"gansu":669,
"jiangsu":670,
"hainan":671,
"ningxia":672,
"guangxi":673,
"fujian":674,
"shanxi":675,
"xianggang":677,
"hunan":678,
"hunan":679,
"hubei":676,
"hubei":680,
"hubei":681,
"shanxi":682,
"hubei":683,
"neimenggu":684,
"neimenggu":685,
"hebei":686,
"xinnanweiershizhou":7382,
"qinghai":687,
"xinjiapo":5188,
"xianggang":688,
"henan":689,
"henan":690,
"jiangxi":691,
"shannxi":692,
"taiwan":693,
"tianjin":694,
"yunnan":695,
"chongqing":696,
"anhui":697,
"henan":698,
"jiangsu":699,
"sichuan":700,
"shanxi":701,
"jilin":702,
"jiangsu":703,
"guangdong":704,
"shannxi":705,
"jiangsu":706,
"jilin":707,
"beijing":708,
"shandong":709,
"sichuan":710,
"hubei":711,
"heilongjiang":712,
"jiangxi":713,
"taiwan":714,
"xinjiang":715,
"ningxia":716,
"liaoning":717,
"jiangxi":718,
"zhejiang":297,
"hunan":719,
"chongqing":720,
"hunan":721,
"chongqing":722,
"chongqing":723,
"hunan":724,
"guangxi":725,
"shanxi":726,
"shannxi":727,
"guangdong":728,
"taiwan":729,
"chongqing":730,
"qinghai":731,
"yunnan":732,
"shandong":733,
"taiwan":734,
"jiangsu":735,
"hunan":736,
"hebei":737,
"jiangxi":738,
"gansu":739,
"fujian":740,
"guangdong":741,
"guangdong":742,
"yunnan":743,
"henan":744,
"jiangsu":745,
"guangdong":746,
"ningxia":747,
"chongqing":748,
"henan":749,
"zhejiang":750,
"guangdong":751,
"henan":752,
"hunan":753,
"shandong":754,
"sichuan":755,
"sichuan":756,
"guizhou":757,


}
import requests
import redis

headers = {
    'X-GAIA-HELIOS-VERSION': '0.7.4',
    'X-GM-Request-Id': '123',
    'x-gm-path': '/60358/',
    'X-GM-Rpc-Method': 'rims/search/cpt_service',
}

rds = redis.StrictRedis.from_url("redis://:XfkMCCdWDIU%ls$h3@172.16.50.159:6379", decode_responses=True)

for query in query_list:
    res = json.dumps(query)
    for city in city_list:
        pass
        data = {
            'requests': '[{"method": "rims/search/cpt_service", "params": {"sort_with_submission": true, '
                        '"city_id": "%s", "is_feed": false, "sort_type": 0, "sort_params": {"query": %s,'
                        ' "user_city_tag_id": %s, "in_whitelist": true,"device_id": '
                        '"868741039702733996"}, "filters": {}, "offset":0, "query": %s, '
                        '"size": 100, "is_operation_cpt": true, "is_merchant_cpt": true, '
                        '"device_id": "860281041353608", "user_city_tag_id": %s}, "timeout": 120}]' %
                        (city,str(res),city_list[city],str(res),city_list[city])
        }
        # print(data)
        response = requests.post('http://172.16.50.10:8170/v1/batch', headers=headers, data=data)
        data = json.dumps(response.json())
        time.sleep(1)
        key = "meigou_" + city + "_" + query
        print(key)
        rds.set(key,data)
        break