diff --git a/.idea/workspace.xml b/.idea/workspace.xml
index e3c11ac33b5825fbbcc0d94a3f55dc90e7cecb20..433c41a0ec91f59296c0f0c7561af74364b98b63 100644
--- a/.idea/workspace.xml
+++ b/.idea/workspace.xml
@@ -1,7 +1,13 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <project version="4">
   <component name="ChangeListManager">
-    <list default="true" id="7b835479-ee84-40d6-9b97-0e9285d92119" name="Default Changelist" comment="" />
+    <list default="true" id="7b835479-ee84-40d6-9b97-0e9285d92119" name="Default Changelist" comment="">
+      <change afterPath="$PROJECT_DIR$/pictorial_reply_data.txt" afterDir="false" />
+      <change afterPath="$PROJECT_DIR$/principal_offline_comment1.py" afterDir="false" />
+      <change afterPath="$PROJECT_DIR$/principal_online_comment1.py" afterDir="false" />
+      <change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
+      <change beforePath="$PROJECT_DIR$/auto_request.py" beforeDir="false" afterPath="$PROJECT_DIR$/auto_request.py" afterDir="false" />
+    </list>
     <option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
     <option name="SHOW_DIALOG" value="false" />
     <option name="HIGHLIGHT_CONFLICTS" value="true" />
@@ -14,26 +20,27 @@
         <counts>
           <entry key="README" value="1" />
           <entry key="batch_user_gen" value="1" />
-          <entry key="py" value="46" />
-          <entry key="txt" value="3" />
+          <entry key="guanshui" value="1" />
+          <entry key="py" value="51" />
+          <entry key="txt" value="5" />
         </counts>
       </usages-collector>
       <usages-collector id="statistics.file.types.open">
         <counts>
-          <entry key="PLAIN_TEXT" value="5" />
-          <entry key="Python" value="46" />
+          <entry key="PLAIN_TEXT" value="8" />
+          <entry key="Python" value="51" />
         </counts>
       </usages-collector>
       <usages-collector id="statistics.file.extensions.edit">
         <counts>
           <entry key="dummy" value="1" />
-          <entry key="py" value="2007" />
+          <entry key="py" value="2310" />
         </counts>
       </usages-collector>
       <usages-collector id="statistics.file.types.edit">
         <counts>
           <entry key="PLAIN_TEXT" value="1" />
-          <entry key="Python" value="2007" />
+          <entry key="Python" value="2310" />
         </counts>
       </usages-collector>
       <usages-collector id="statistics.lifecycle.project">
@@ -47,14 +54,39 @@
     </session>
   </component>
   <component name="FileEditorManager">
-    <leaf>
-      <file pinned="false" current-in-tab="true">
+    <leaf SIDE_TABS_SIZE_LIMIT_KEY="300">
+      <file pinned="false" current-in-tab="false">
         <entry file="file://$PROJECT_DIR$/auto_request.py">
           <provider selected="true" editor-type-id="text-editor">
-            <state relative-caret-position="462">
-              <caret line="170" column="61" selection-start-line="170" selection-start-column="61" selection-end-line="170" selection-end-column="61" />
+            <state relative-caret-position="367">
+              <caret line="162" column="19" selection-start-line="162" selection-start-column="4" selection-end-line="162" selection-end-column="19" />
               <folding>
                 <element signature="e#0#15#0" expanded="true" />
+                <marker date="1565059617000" expanded="true" signature="6010:6330" ph="..." />
+              </folding>
+            </state>
+          </provider>
+        </entry>
+      </file>
+      <file pinned="false" current-in-tab="true">
+        <entry file="file://$PROJECT_DIR$/principal_online_comment1.py">
+          <provider selected="true" editor-type-id="text-editor">
+            <state relative-caret-position="775">
+              <caret line="70" lean-forward="true" selection-start-line="70" selection-end-line="70" />
+              <folding>
+                <element signature="e#0#14#0" expanded="true" />
+              </folding>
+            </state>
+          </provider>
+        </entry>
+      </file>
+      <file pinned="false" current-in-tab="false">
+        <entry file="file://$PROJECT_DIR$/principal_offline_comment1.py">
+          <provider selected="true" editor-type-id="text-editor">
+            <state relative-caret-position="270">
+              <caret line="18" column="41" selection-start-line="18" selection-start-column="41" selection-end-line="18" selection-end-column="41" />
+              <folding>
+                <element signature="e#0#14#0" expanded="true" />
               </folding>
             </state>
           </provider>
@@ -84,6 +116,8 @@
       <find>latest_topic_time_val</find>
       <find>mv-alpha-tag-test-190718901</find>
       <find>mv-alpha-pictorial-test-190717904</find>
+      <find>rand</find>
+      <find>/api/v1/reply/create</find>
     </findStrings>
   </component>
   <component name="Git.Settings">
@@ -100,20 +134,23 @@
         <option value="$PROJECT_DIR$/index_contrast/tag.py" />
         <option value="$PROJECT_DIR$/index_contrast/user.py" />
         <option value="$PROJECT_DIR$/index_contrast/pictorial.py" />
-        <option value="$PROJECT_DIR$/auto_request.py" />
         <option value="$PROJECT_DIR$/answer_reply1.py" />
         <option value="$PROJECT_DIR$/reply_comment2.py" />
         <option value="$PROJECT_DIR$/answer_reply3.py" />
         <option value="$PROJECT_DIR$/answer_reply2.py" />
         <option value="$PROJECT_DIR$/reply_comment3.py" />
+        <option value="$PROJECT_DIR$/pictorial_reply_data.txt" />
+        <option value="$PROJECT_DIR$/principal_offline_comment1.py" />
+        <option value="$PROJECT_DIR$/auto_request.py" />
+        <option value="$PROJECT_DIR$/principal_online_comment1.py" />
       </list>
     </option>
   </component>
-  <component name="ProjectFrameBounds" extendedState="1">
-    <option name="x" value="-238" />
-    <option name="y" value="-967" />
-    <option name="width" value="1280" />
-    <option name="height" value="727" />
+  <component name="ProjectFrameBounds" extendedState="6">
+    <option name="x" value="-323" />
+    <option name="y" value="-1080" />
+    <option name="width" value="1920" />
+    <option name="height" value="1080" />
   </component>
   <component name="ProjectView">
     <navigator proportions="" version="1">
@@ -136,8 +173,8 @@
   </component>
   <component name="RecentsManager">
     <key name="CopyFile.RECENT_KEYS">
-      <recent name="$PROJECT_DIR$/index_contrast" />
       <recent name="$PROJECT_DIR$" />
+      <recent name="$PROJECT_DIR$/index_contrast" />
     </key>
   </component>
   <component name="RunDashboard">
@@ -189,11 +226,12 @@
     <servers />
   </component>
   <component name="ToolWindowManager">
-    <frame x="32" y="-1068" width="1280" height="727" extended-state="0" />
+    <frame x="-323" y="-1080" width="1920" height="1080" extended-state="6" />
+    <editor active="true" />
     <layout>
       <window_info id="Structure" order="0" sideWeight="0.21188119" side_tool="true" weight="0.19112115" />
       <window_info id="Favorites" order="1" side_tool="true" />
-      <window_info content_ui="combo" id="Project" order="2" sideWeight="0.7872763" visible="true" weight="0.20333599" />
+      <window_info active="true" content_ui="combo" id="Project" order="2" sideWeight="0.7872763" visible="true" weight="0.20642443" />
       <window_info id="DB Browser" order="3" />
       <window_info anchor="bottom" id="Message" order="0" />
       <window_info anchor="bottom" id="Find" order="1" weight="0.3284974" />
@@ -203,7 +241,7 @@
       <window_info anchor="bottom" id="Inspection" order="5" weight="0.4" />
       <window_info anchor="bottom" id="TODO" order="6" />
       <window_info anchor="bottom" id="Version Control" order="7" show_stripe_button="false" />
-      <window_info active="true" anchor="bottom" id="Terminal" order="8" sideWeight="0.49960285" visible="true" weight="0.34150326" />
+      <window_info anchor="bottom" id="Terminal" order="8" sideWeight="0.49960285" visible="true" weight="0.0" />
       <window_info anchor="bottom" id="Event Log" order="9" sideWeight="0.50039715" side_tool="true" weight="0.32890365" />
       <window_info anchor="bottom" id="Python Console" order="10" />
       <window_info anchor="bottom" id="DB Execution Console" order="11" />
@@ -418,13 +456,7 @@
         <state relative-caret-position="-69" />
       </provider>
     </entry>
-    <entry file="file://$PROJECT_DIR$/index_contrast/topic.py">
-      <provider selected="true" editor-type-id="text-editor">
-        <state relative-caret-position="184">
-          <caret line="301" column="55" selection-start-line="301" selection-start-column="47" selection-end-line="301" selection-end-column="55" />
-        </state>
-      </provider>
-    </entry>
+    <entry file="file://$PROJECT_DIR$/index_contrast/topic.py" />
     <entry file="file://$USER_HOME$/.local/lib/python3.6/site-packages/requests/__init__.py">
       <provider selected="true" editor-type-id="text-editor" />
     </entry>
@@ -444,31 +476,9 @@
         </state>
       </provider>
     </entry>
-    <entry file="file://$PROJECT_DIR$/index_contrast/tag.py">
-      <provider selected="true" editor-type-id="text-editor">
-        <state relative-caret-position="1633">
-          <caret line="321" column="29" lean-forward="true" selection-start-line="321" selection-start-column="29" selection-end-line="321" selection-end-column="29" />
-          <folding>
-            <element signature="e#46#55#0" expanded="true" />
-            <element signature="e#495#925#0" />
-          </folding>
-        </state>
-      </provider>
-    </entry>
-    <entry file="file://$PROJECT_DIR$/index_contrast/user.py">
-      <provider selected="true" editor-type-id="text-editor">
-        <state relative-caret-position="439">
-          <caret line="314" column="40" lean-forward="true" selection-start-line="314" selection-start-column="40" selection-end-line="314" selection-end-column="40" />
-        </state>
-      </provider>
-    </entry>
-    <entry file="file://$PROJECT_DIR$/index_contrast/pictorial.py">
-      <provider selected="true" editor-type-id="text-editor">
-        <state relative-caret-position="228">
-          <caret line="194" column="67" selection-start-line="194" selection-start-column="67" selection-end-line="194" selection-end-column="67" />
-        </state>
-      </provider>
-    </entry>
+    <entry file="file://$PROJECT_DIR$/index_contrast/tag.py" />
+    <entry file="file://$PROJECT_DIR$/index_contrast/user.py" />
+    <entry file="file://$PROJECT_DIR$/index_contrast/pictorial.py" />
     <entry file="file://$PROJECT_DIR$/batch_user_gen">
       <provider selected="true" editor-type-id="text-editor" />
     </entry>
@@ -493,13 +503,6 @@
         </state>
       </provider>
     </entry>
-    <entry file="file://$PROJECT_DIR$/answer_reply1.py">
-      <provider selected="true" editor-type-id="text-editor">
-        <state relative-caret-position="393">
-          <caret line="79" column="74" lean-forward="true" selection-start-line="79" selection-start-column="20" selection-end-line="79" selection-end-column="74" />
-        </state>
-      </provider>
-    </entry>
     <entry file="file://$PROJECT_DIR$/reply_comment3.py">
       <provider selected="true" editor-type-id="text-editor">
         <state relative-caret-position="330">
@@ -514,12 +517,56 @@
         </state>
       </provider>
     </entry>
+    <entry file="file://$PROJECT_DIR$/user_session.txt">
+      <provider selected="true" editor-type-id="text-editor" />
+    </entry>
+    <entry file="file://$PROJECT_DIR$/guanshui">
+      <provider selected="true" editor-type-id="text-editor" />
+    </entry>
+    <entry file="file://$PROJECT_DIR$/pictorial_reply_data.txt">
+      <provider selected="true" editor-type-id="text-editor">
+        <state relative-caret-position="270">
+          <caret line="18" column="12" lean-forward="true" selection-start-line="18" selection-start-column="12" selection-end-line="18" selection-end-column="12" />
+        </state>
+      </provider>
+    </entry>
+    <entry file="file://$PROJECT_DIR$/answer_reply1.py">
+      <provider selected="true" editor-type-id="text-editor">
+        <state relative-caret-position="271">
+          <caret line="46" column="59" lean-forward="true" selection-start-line="46" selection-start-column="8" selection-end-line="46" selection-end-column="59" />
+          <folding>
+            <element signature="e#0#14#0" expanded="true" />
+          </folding>
+        </state>
+      </provider>
+    </entry>
     <entry file="file://$PROJECT_DIR$/auto_request.py">
       <provider selected="true" editor-type-id="text-editor">
-        <state relative-caret-position="462">
-          <caret line="170" column="61" selection-start-line="170" selection-start-column="61" selection-end-line="170" selection-end-column="61" />
+        <state relative-caret-position="367">
+          <caret line="162" column="19" selection-start-line="162" selection-start-column="4" selection-end-line="162" selection-end-column="19" />
           <folding>
             <element signature="e#0#15#0" expanded="true" />
+            <marker date="1565059617000" expanded="true" signature="6010:6330" ph="..." />
+          </folding>
+        </state>
+      </provider>
+    </entry>
+    <entry file="file://$PROJECT_DIR$/principal_offline_comment1.py">
+      <provider selected="true" editor-type-id="text-editor">
+        <state relative-caret-position="270">
+          <caret line="18" column="41" selection-start-line="18" selection-start-column="41" selection-end-line="18" selection-end-column="41" />
+          <folding>
+            <element signature="e#0#14#0" expanded="true" />
+          </folding>
+        </state>
+      </provider>
+    </entry>
+    <entry file="file://$PROJECT_DIR$/principal_online_comment1.py">
+      <provider selected="true" editor-type-id="text-editor">
+        <state relative-caret-position="775">
+          <caret line="70" lean-forward="true" selection-start-line="70" selection-end-line="70" />
+          <folding>
+            <element signature="e#0#14#0" expanded="true" />
           </folding>
         </state>
       </provider>
diff --git a/auto_request.py b/auto_request.py
index 6da2313160b264e3a83be00786e1741333f1d318..84bef5a3fd738da9ca73ebf18fa12f4bd6e602ef 100644
--- a/auto_request.py
+++ b/auto_request.py
@@ -50,7 +50,7 @@ def get_majia_reply(user_id):
     try:
         data = open("/srv/apps/cybertron/batch_user_gen")
         list = []
-        for i in data :
+        for i in data:
             if i != user_id:
                 list.append(i.strip('\n').strip(','))
 
@@ -62,6 +62,7 @@ def get_majia_reply(user_id):
         logging.error("catch exception,get_majia:%s" % traceback.format_exc())
         return None
 
+
 def get_majia():
     try:
         data = open("/srv/apps/cybertron/batch_user_gen")
@@ -84,17 +85,13 @@ def get_cookies(user_id):
                 data = f.readlines()
             except:
                 data = None
-
         list = []
         for i in data:
             list.append(i.strip('\n').split(","))
-
         for i in list:
-
             if user_id == i[0]:
                 return (i[1])
     except:
-
         return None
 
 
@@ -128,8 +125,6 @@ def logins(user_id):
         return None
 
 
-
-
 def click(cookies_get, id):
     try:
         post_dict = {
@@ -165,6 +160,24 @@ def reply(cookies_get, id, content):
         logging.error("catch exception,logins:%s" % traceback.format_exc())
 
 
+def pictorial_reply(cookies_get, id, content):
+    try:
+        post_dict = {
+            'pictorial_id': id,
+            'content': content,
+            "type": 4
+        }
+        response = requests.post(url=auto_reply_url,
+                                 cookies=cookies_get,
+                                 data=post_dict)
+
+        logging.info("response.text:%s" % response.text)
+        get_error(response.text)
+    except:
+
+        logging.error("catch exception,logins:%s" % traceback.format_exc())
+
+
 def time_conv(minutest, minutest2):
     try:
         now = datetime.datetime.now()
@@ -229,6 +242,24 @@ def get_comment():
         return None
 
 
+def get_pictorial_comment():
+    try:
+        data = open("/srv/apps/cybertron/pictorial_reply_data", "r")
+        list_guanshui = []
+        for i in data:
+            list_guanshui.append(i)
+
+        num = random.randint(0, len(list_guanshui))
+
+        comment = list_guanshui[num - 1]
+
+        return comment
+
+    except:
+
+        return None
+
+
 def get_comments():
     try:
         data = open("/srv/apps/cybertron/guanshui", "r")
diff --git a/pictorial_reply_data.txt b/pictorial_reply_data.txt
new file mode 100644
index 0000000000000000000000000000000000000000..635f373313f4bca55e806b5ba7a054af90db4561
--- /dev/null
+++ b/pictorial_reply_data.txt
@@ -0,0 +1,300 @@
+整理这个榜单的人也太优秀了吧
+这个榜单我爱了
+这个榜单是干货啊干货
+整理这个榜单的人也太棒了吧
+这个榜单我完全心动
+真的是非常厉害了
+这个榜单是我的菜
+宁这个榜单一定会火的
+超级棒了!!!!!!
+这个榜单完全是我的取向狙击
+整理的好棒,加油~
+给贴主加油!
+这么棒的榜单我一定要站前排!
+火前留个名吧
+超爱看这个类型的
+疯狂夸赞贴主
+收藏成功
+真心瑞思拜
+我真的超爱这个类型的榜单
+感谢干货
+支持支持
+这是什么神仙榜单啊
+整理的真的很棒啦
+这个榜单有点屌
+干货最实用了
+比起别的更喜欢干货
+在这里面得到了一些启发哈哈哈哈哈
+真爱干货
+断头推荐这个榜单
+刚看到,好可惜
+已经收藏好~
+偶买噶,这个也太棒了
+干货真棒
+断头安利这个榜单
+看榜单太欢乐了
+pick这个榜单
+被吸粉了
+我要立刻把这个榜单分享给朋友
+有人在一起看么?
+各种榜单里面有宝藏
+看见干货就会收藏
+我立马把这个榜单分享给小伙伴
+求更新下一个榜单
+马一下,等会一起看
+看见的第一件事儿就是点赞
+看到很多感兴趣的就很幸福了
+绝对不能错过
+选择题真的好难做
+您更新的下一个榜单我也一定追
+看到很多感兴趣的就很开心了
+成功安利给小伙伴
+激情留名
+好了,我要追到底了
+respect!
+偷偷看很多遍
+瑞思拜
+敬佩敬佩~
+看见的第一件事儿就是收藏
+真的很了不起呢
+真的很佩服哇
+太佩服你了
+赞赞赞
+激情夸赞这个榜单
+悄咪咪的看很多遍
+不收藏还在等啥呢
+这是我不断翻阅的榜单
+看各种榜单是我的快乐源泉
+我最爱榜单没错了
+果断pick
+看见你更新我就很喜欢
+你更新我立马来看了
+我莫得感情,只想点赞
+前排留个名吧
+我宣布这是我的最爱了
+给你点个赞
+希望总能看见你更新
+我在这个榜单住下了
+这个榜单治愈了我
+消除疲惫感的一榜单
+感谢这个榜单哦
+咋这么厉害呢
+我吹爆这个榜单
+给你点一万个赞
+这是我最爱的榜单无疑
+这个榜单是我留下的理由
+这个榜单太了不起了
+这个榜单所有内容我都爱!
+很喜欢这个榜单,看了好几遍
+吹爆这个榜单
+我宣布我住在这个榜单了
+先马一下
+翻看了好几遍
+整理的很全啊
+请保持这个速度继续更新
+宁整理的是对的
+这个有点nice
+先马一下一会看
+噢哟,有点厉害的
+太优秀了
+看见这个榜单我决定留在这个app
+这个好棒呀!
+这个榜单整理的厉害了~
+这个榜单好酷哦!!!
+果断收藏了
+真的很棒了呢
+这个真的很酷哦
+这个很棒啊
+这个有点厉害
+这个很不错的样子
+就喜欢这种看这种榜单
+果断码了
+很厉害的样子
+这个很需要了
+这是什么好登西
+wow!so cool
+哇哇哇,我要化身尖叫鸡了
+前来打call
+在线打call哇
+默默地占个前排
+火速前来围观
+火速前来占坑
+前排留名
+火前留名
+前排围观
+前排占坑
+默默的钱来围观
+默默地占个坑
+这又是什么好东西哦
+这个好像很厉害的样子
+这个好像还不错哦
+这个好像很不错哦
+这个有点点厉害
+这个有些厉害哦
+这个感觉很棒哎
+这个真心不错哦
+这个真心喜欢呢
+这个真心可以
+这个真的可以哎!
+不错,支持一下
+这个好哎
+真棒呀,支持!
+特意前来打call
+这个必须收藏
+这个必须支持
+这个我爱了
+哇,真的不错
+可以哎,相当可以
+很棒啊,支持!
+为你点赞!
+前排火速留名
+前排火速占坑
+前排火速围观
+我又看到了什么好东西哦
+真好呀,支持!
+很不错哎,支持一下
+很OK啊,支持!
+很OK啊,必须支持
+很棒啊,必须支持!!!!
+很不错,必须支持
+很好啊,必须支持
+哇,相当可以哎
+哇,非常OK呢
+哇,真的棒
+哇,很厉害哎
+是我喜欢的没错了
+是戳我点的了
+是我欣赏的呢
+是我的菜了~~~
+看着就好棒的样子
+看着就不错的样子
+看着很不错的样子
+怎么办 心动了呢
+非常OK哇
+是很棒的内容
+是很不错的内容
+这真的是超级棒的榜单啊
+好用心的榜单啊
+真心喜欢这个榜单啊
+榜单看着很厉害的样子
+这个榜单很不错啊
+这个必须支持了
+这个必须收藏哇
+感觉很不错呢
+感觉很OK啊
+感觉很喜欢呢
+哇塞,可以呀!
+哇塞,我爱了
+相当不错哎
+真的很OK呢
+前排前来打call
+前排火速来打call
+前排火速赶来支持
+前排火速赶来给排面
+前排表白这个榜单
+必须夸夸这个榜单了
+前排火速赶来夸赞这个榜单
+前排占楼夸下这个榜单
+前排占坑表白此榜
+很不错哎,夸一波这个榜单
+这波必须夸一下这个榜单
+下一次不要让我们等得太久好吗?
+反正你的每一期我都看着呢。
+恭喜你成功的吸引了我的注意力
+呦呵 最近更的挺勤啊
+啊啊啊。。。快把你的库存全部交出来!!!
+超喜欢这种风格!!!!好好看!!!!
+查收查收查收 嘻嘻
+我是么得感情的舔狗机器
+啊啊啊啊啊啊啊,终于逮住你啦!!!!
+这才多久我就赶不上前排了
+妈呀这么靠前!
+看了一眼,好懵,我是前排
+卑微小粉在线关注
+为了贡献一个粉丝数上来关注一下
+我怎就觉得我要开始转粉了呢
+希望以后我可以成为你粉丝中的一员哦!
+哈哈哈哈在线等你
+今天热情营业中啊
+我也在线给你彩虹屁
+我早就关注你了 只是少评论 我要变铁粉
+闲来无事就来看看
+看到这么优秀的你我好开心!
+今天刚关注你
+我是一个不经常给你评论点赞的安安静静的粉儿
+完了完了沦陷了沦陷了
+又营业啦!!!好棒
+最近辛苦啦,一直支持你
+好吧。。。入坑
+这营业频率也太开心了吧
+天哪,这个今日营业很奈斯啊
+这么多人评论你都回了宝贝考虑一下回我吗
+我想使劲夸你!
+我来了我来了我带着一天好心情来了
+最近的更博速度好喜欢啊!!
+每天营业也太棒了!把之前的都补回来
+粉丝速度给我冲啊!
+看到更新开心的我老泪纵横
+一直默默地关注你,现在真的藏不住了!
+刚上想看看你就发更新了哈哈哈啊哈
+请保持这个速度哦 迷晕我
+说实话我是新来的
+这种营业速度我真的喜欢!!!!
+热评坐稳了送我上去啊
+我来啦我来啦!前排让让! 
+我又来晚了?哇啊……
+为你沦陷了~
+考不考虑翻个牌啥的
+请保持这个营业速度,不要停
+我错过了前排,为什么!
+我的愿望是你能越来越好
+啊啊啊啊啊第一次这么前不知道说什么好啊啊
+最近营业速度真的很优秀了!!!冲鸭!!!
+我的愿望是你能每天更新
+这营业速度我可以
+我现在都抢不到前排惹
+不知为什么真的很喜欢你,尽管没有尽头
+就酱子更新,不要停
+我的喜欢溢于言表
+哇 等到你来了
+更新速度保持喔
+更新频率太棒了
+我还能抢到你的热评嘛?
+你永远都会被人发现,你是我们珍贵的宝藏啊
+老大你的粉丝涨的有点快
+继续加油,我们一直支持你
+我也想成为你的铁粉
+我的妈呀涨粉速度吓人
+每日必做:到这来支持你一下
+你终于被更多人知道了
+听说你最近被圈粉很严重啊
+我疯了第一次这么早!!!
+你知不知道每天看到你 就超级开心的
+哼 看过了 要新鲜的!!
+前排送来彩虹屁!
+今天更新好勤快呀!!!我爱了
+你也一定会闪闪发光呀
+我们永远在你身边
+你真的火了,但是你好就好
+前排混个眼熟。
+你的粉丝越来越多了 老粉在背后默默支持你
+天哪你居然更新了!!!!
+你一定也会越来越好啊!!!冲鸭!!
+你火了这么多评论 我再也上不了你的热评了
+一个迟来的留言!
+保持这个营业速度
+老粉表示不努力再也抢不到前排了
+我不管!反正我是第一!
+啊啊啊啊啊啊,福利来啦,太暖了
+会一如既往的支持您
+管他呢 先夸再说
+我觉得我上不了热评
+终于想到发福利了,都要哭了!
+继续加油,期待你的好作品
+我真的打卡好多天了,我是不是很听话!!!!!
+啊啊啊啊啊啊啊先尖叫了再说!!!
+他来了他来了他带着欠着一屁股的粉丝福利来了
+愿你走过的每一条路都平坦,度过的每一天艳阳满天
+我对你很满意,你会越来越好的
+看来我需要特别关注你了
+啊啊啊啊啊啊,太突然了~我以为是假的
\ No newline at end of file
diff --git a/principal_offline_comment1.py b/principal_offline_comment1.py
new file mode 100644
index 0000000000000000000000000000000000000000..93cd6a7fdb8d081c37bc56a485e81c0950dd843c
--- /dev/null
+++ b/principal_offline_comment1.py
@@ -0,0 +1,47 @@
+import pymysql
+import random
+import traceback
+from log_settings import *
+import logging
+from auto_request import logins, pictorial_reply, get_majia_reply, get_pictorial_comment
+from auto_request import host, user, db, passwd
+
+"""
+离线一次性插入{1,4}条评论
+"""
+
+
+def get_data():
+    try:
+        print("....")
+        pc = pymysql.connect(host=host, user=user, passwd=passwd, db=db, port=3306)
+        cursor = pc.cursor()
+        cursor.execute(
+            "SELECT  user_id,id FROM community_pictorial ")
+        data = cursor.fetchall()
+        topic_id = list(data)
+        logging.info("Database version : %s " % topic_id)
+        return topic_id
+
+    except:
+        logging.error("catch exception,get_data:%s" % traceback.format_exc())
+        return []
+
+
+if __name__ == "__main__":
+
+    try:
+        logging.info("comment offline  pictorial")
+        user_id = get_data()
+        dicts = {}
+        for i in user_id:
+            for num in range(4):
+                majia_user_id = get_majia_reply(i[0])
+                cook = logins(majia_user_id)
+                comment = get_pictorial_comment()
+                if cook is not None:
+                    pictorial_reply(cook, i[1], comment)
+                else:
+                    logging.info("no get cookies-------------")
+    except:
+        logging.error("catch exception,main:%s" % traceback.format_exc())
diff --git a/principal_online_comment1.py b/principal_online_comment1.py
new file mode 100644
index 0000000000000000000000000000000000000000..8b4d48232644a714b552a2b6c3a4916da32314cb
--- /dev/null
+++ b/principal_online_comment1.py
@@ -0,0 +1,77 @@
+import pymysql
+import random
+import traceback
+from log_settings import *
+import logging
+from auto_request import logins, pictorial_reply, get_majia_reply, get_pictorial_comment, time_conv_minute
+from auto_request import host, user, db, passwd
+
+"""
+榜单新增内容(仅限在线的)
+每半小时一次
+
+过去半小时之内,if
+
+新增在线帖子(既包含马甲用户、又包含普通用户)达到1个时,插入{1,2}条评论
+
+新增在线帖子(既包含马甲用户、又包含普通用户)达到2-5个时,插入{2,3}条评论
+
+新增在线帖子(既包含马甲用户、又包含普通用户)达到>5张时,插入{3,5}条评论
+
+(注意评论作者需要是马甲用户)
+
+
+评论取自单独的榜单评论列表,并自动随机关联马甲
+
+注意需要禁止本帖作者评论
+"""
+
+
+def get_data(numtime1, numtime2):
+    try:
+        print("....")
+        pc = pymysql.connect(host=host, user=user, passwd=passwd, db=db, port=3306)
+        cursor = pc.cursor()
+        cursor.execute(
+            "SELECT  pictorial_id ,count(*),user_id  as count FROM community_pictorial_topic WHERE is_online=1  and (create_time > '%s' and create_time < '%s' group by pictorial_id )" % (
+                numtime1, numtime2))
+        data = cursor.fetchall()
+        topic_id = list(data)
+        logging.info("Database version : %s " % topic_id)
+        return topic_id
+
+    except:
+        logging.error("catch exception,get_data:%s" % traceback.format_exc())
+        return []
+
+
+if __name__ == "__main__":
+
+    try:
+        logging.info("comment offline  pictorial")
+        numtime1, numtime2, minute = time_conv_minute(30, 0)
+        print(numtime1)
+        print(numtime2)
+        user_id = get_data(numtime1, numtime2)
+        dicts = {}
+        random_num = 0
+        if user_id:
+            for i in user_id:
+                if i[1] == 1:
+                    random_num = random.randint(1, 2)
+                if i[1] >= 2 and i[1] <= 5:
+                    random_num = random.randint(2, 3)
+                if i[1] > 5:
+                    random_num = random.randint(3, 5)
+
+                for num in range(random_num):
+                    majia_user_id = get_majia_reply(i[2])
+                    cook = logins(majia_user_id)
+                    comment = get_pictorial_comment()
+                    if cook is not None:
+                        pictorial_reply(cook, i[0], comment)
+
+            else:
+                logging.error("catch exception,main:%s" % traceback.format_exc())
+    except:
+        logging.error("catch exception,main:%s" % traceback.format_exc())
diff --git "a/~$\350\257\204\350\256\272500\346\235\241.xlsx" "b/~$\350\257\204\350\256\272500\346\235\241.xlsx"
new file mode 100644
index 0000000000000000000000000000000000000000..bf37f0f70e04402a1f291b8a90e0d187afad1ad9
Binary files /dev/null and "b/~$\350\257\204\350\256\272500\346\235\241.xlsx" differ