wangkun hace 2 años
padre
commit
ee60da2492
Se han modificado 1 ficheros con 3 adiciones y 1 borrados
  1. 3 1
      main/xigua_follow.py

+ 3 - 1
main/xigua_follow.py

@@ -123,7 +123,8 @@ class Follow:
                     if 'title' not in feeds[i]:
                         video_title = 0
                     else:
-                        video_title = feeds[i]['title'].strip().replace('手游', '')
+                        video_title = feeds[i]['title'].strip().replace('手游', '')\
+                            .replace('/', '').replace('\/', '').replace('\n', '')
 
                     # video_id
                     if 'video_id' not in feeds[i]:
@@ -751,6 +752,7 @@ class Follow:
                     return
         except Exception as e:
             Common.logger(log_type).error('download_publish异常:{}\n', e)
+            Feishu.dimension_range(log_type, 'xigua', "wjhpDs", "ROWS", 2, 2)
 
     # 执行 下载 / 上传
     @classmethod