|
@@ -176,10 +176,10 @@ class DyFollow(object):
|
|
|
publish_time = info['create_time']
|
|
|
publish_time_str = time.strftime("%Y-%m-%d %H:%M:%S", time.localtime(publish_time))
|
|
|
publish_day = int((int(time.time()) - publish_time) / (3600 * 24))
|
|
|
- if not info['desc']:
|
|
|
+
|
|
|
+ video_title = cls.video_title(log_type, crawler, info['desc'])
|
|
|
+ if not video_title:
|
|
|
video_title = cls.random_title(log_type, crawler)
|
|
|
- else:
|
|
|
- video_title = cls.video_title(log_type, crawler, info['desc'])
|
|
|
|
|
|
video_dict = {'video_title': video_title,
|
|
|
'video_id': info['aweme_id'],
|