Skip to content

Commit

Permalink
update youtube metadata scrape
Browse files Browse the repository at this point in the history
  • Loading branch information
aturret committed Nov 21, 2024
1 parent ad3f24d commit 31b4ca0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/services/file_export/video_download/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ def _youtube_info_parse(video_info: dict) -> dict:
"id": video_info["id"],
"title": video_info["title"],
"author": video_info["uploader"],
"author_url": video_info["uploader_url"],
"author_url": video_info["uploader_url"] or video_info["channel_url"],
"description": video_info["description"],
"playback_data": f"视频播放量:{video_info['view_count']} 评论数:{video_info['comment_count']}",
"author_avatar": video_info["thumbnail"],
Expand Down

0 comments on commit 31b4ca0

Please sign in to comment.