Browse Source

12-10新增账号:趣味生活漫谈

luojunhui 4 months ago
parent
commit
e972348eb4
1 changed files with 29 additions and 2 deletions
  1. 29 2
      applications/function.py

+ 29 - 2
applications/function.py

@@ -75,6 +75,16 @@ ARTICLE_URL = {
         "newsDescription": "孙中山和宋庆龄是中国近代史上备受瞩目的历史人物,他们不仅在政治领域有着深远的影响,也因其特殊的个人关系而广为人知。",
         "msgType": 2,
         "miniVideoId": None
+    },
+    "gh_971e23b9ecc4": {
+        "newsUrl": "https://mp.weixin.qq.com/s/mZxDswqY9-bjm9yrBh3oUQ",
+        "title": "58岁大姐每天吃一把南瓜子,半年后去体检,医生:吃了些啥",
+        "coverUrl": "https://mmbiz.qpic.cn/mmbiz_jpg/8Lo774o4SbjCg86tQox8PqsJRzVljKwXnoSpIPjIZAIbKJX3lotOImNiaCde0NA8iaogob0hyzVyZOB9OrmW2zfQ/0?wx_fmt=jpeg",
+        "miniAppId": "",
+        "miniPagePath": "",
+        "newsDescription": "58岁的李阿姨是一位活跃在社区的志愿者,她的热心和活力一直是社区活动的中坚力量。然而,随着岁月的流逝,李阿姨渐渐感到力不从心",
+        "msgType": 2,
+        "miniVideoId": None
     }
 }
 
@@ -557,6 +567,23 @@ ACCOUNT_VIDEO = {
                 }
             ]
         }
+    ],
+    "gh_971e23b9ecc4": [
+        {
+            "groupIndex": 0,
+            "groupVideoList": [
+                {
+                    "videoIndex": 1,
+                    "videoId": "13724870",
+                    "pagePath": "pages/category?jumpPage=pages%2Fuser-videos%3Fid%3D13724870%26fromGzh%3D1%26rootShareId%3Dc2994dc7-3651-49a7-98ce-13a8612f1a47%26shareId%3Dc2994dc7-3651-49a7-98ce-13a8612f1a47%26rootSourceId%3Dtouliu_tencentgzh_20241210_13724870_99080f13"
+                },
+                {
+                    "videoIndex": 2,
+                    "videoId": "1275943",
+                    "pagePath": "pages/category?jumpPage=pages%2Fuser-videos%3Fid%3D1275943%26fromGzh%3D1%26rootShareId%3D2a39c2eb-62b4-4995-e27c-fbb191810926%26shareId%3D2a39c2eb-62b4-4995-e27c-fbb191810926%26rootSourceId%3Dtouliu_tencentgzh_20241210_1275943_737ca61d"
+                }
+            ]
+        }
     ]
 }
 
@@ -573,7 +600,7 @@ def get_pq_video_detail(video_id):
     header = {
         "Content-Type": "application/json",
     }
-    response = requests.post(url,json=data, headers=header)
+    response = requests.post(url, json=data, headers=header)
     return response.json()
 
 
@@ -609,4 +636,4 @@ def generate_response(gh_id):
         article_obj = ARTICLE_URL[gh_id]
         item['msgDataList'].append(article_obj)
         response_list.append(item)
-    return response_list
+    return response_list