aboutsummaryrefslogtreecommitdiff
path: root/yt_dlp/extractor/weibo.py
diff options
context:
space:
mode:
authorSimon Sawicki <contact@grub4k.xyz>2025-03-22 00:41:56 +0100
committerGitHub <noreply@github.com>2025-03-21 23:41:56 +0000
commitf36e4b6e65cb8403791aae2f520697115cb88dec (patch)
treec161d5f0a52648e0abca699a02cb9d6897deff45 /yt_dlp/extractor/weibo.py
parent983095485c731240aae27c950cb8c24a50827b56 (diff)
[cleanup] Misc (#12526)
Authored by: Grub4K, seproDev, gamer191, dirkf Co-authored-by: sepro <sepro@sepr0.com>
Diffstat (limited to 'yt_dlp/extractor/weibo.py')
-rw-r--r--yt_dlp/extractor/weibo.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/yt_dlp/extractor/weibo.py b/yt_dlp/extractor/weibo.py
index 6d4bd46e2..420ac3829 100644
--- a/yt_dlp/extractor/weibo.py
+++ b/yt_dlp/extractor/weibo.py
@@ -109,7 +109,7 @@ class WeiboBaseIE(InfoExtractor):
**traverse_obj(video_info, {
'display_id': ('mblogid', {str_or_none}),
'title': ('page_info', 'media_info', ('video_title', 'kol_title', 'name'),
- {lambda x: x.replace('\n', ' ')}, {truncate_string(left=50)}, filter),
+ {lambda x: x.replace('\n', ' ')}, {truncate_string(left=72)}, filter),
'alt_title': ('page_info', 'media_info', ('video_title', 'kol_title', 'name'), {str}, filter),
'description': ('text_raw', {str}),
'duration': ('page_info', 'media_info', 'duration', {int_or_none}),
@@ -213,6 +213,7 @@ class WeiboVideoIE(WeiboBaseIE):
'ext': 'mp4',
'display_id': 'LEZDodaiW',
'title': '呃,稍微了解了一下靡烟miya,感觉这东西也太二了',
+ 'alt_title': '呃,稍微了解了一下靡烟miya,感觉这东西也太二了',
'description': '呃,稍微了解了一下靡烟miya,感觉这东西也太二了 http://t.cn/A6aerGsM \u200b\u200b\u200b',
'duration': 76,
'timestamp': 1659344278,
@@ -224,6 +225,7 @@ class WeiboVideoIE(WeiboBaseIE):
'view_count': int,
'like_count': int,
'repost_count': int,
+ '_old_archive_ids': ['weibomobile 4797700463137878'],
},
}]