|
|
|
@@ -89,7 +89,8 @@ async def report_kiriban ( |
|
|
|
prompt += f"つけられたタグは「{ '」、「'.join (video_info['tags']) }」です。\n" |
|
|
|
if comments: |
|
|
|
prompt += f"人気のコメントは次の通りです:「{ '」、「'.join (c.content for c in popular_comments) }」\n" |
|
|
|
prompt += f"最新のコメントは次の通りです:「{ '」、「'.join (c.content for c in latest_comments) }」\n" |
|
|
|
if latest_comments != popular_comment: |
|
|
|
prompt += f"最新のコメントは次の通りです:「{ '」、「'.join (c.content for c in latest_comments) }」\n" |
|
|
|
prompt += f""" |
|
|
|
概要には次のように書かれています: |
|
|
|
```html |
|
|
|
@@ -333,7 +334,7 @@ def _format_elapsed ( |
|
|
|
|
|
|
|
kiriban_list = ( |
|
|
|
fetch_kiriban_list ((now := datetime.now ()).date () |
|
|
|
- timedelta (days = now.hour < 15))) |
|
|
|
- timedelta (days = 1 if now.hour < 15 else 0))) |
|
|
|
|
|
|
|
if __name__ == '__main__': |
|
|
|
asyncio.run (main ()) |