From c641020e167c6294d2102361c864c382d22e1cbf Mon Sep 17 00:00:00 2001 From: yzqzss Date: Sat, 3 Jun 2023 02:41:56 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BF=98=E4=BA=86=E5=8A=A0=20main=20=E5=85=A5?= =?UTF-8?q?=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- biliup_get_bvids_from_top100_rank_by_rid.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/biliup_get_bvids_from_top100_rank_by_rid.py b/biliup_get_bvids_from_top100_rank_by_rid.py index 0b10dfc..c481f24 100644 --- a/biliup_get_bvids_from_top100_rank_by_rid.py +++ b/biliup_get_bvids_from_top100_rank_by_rid.py @@ -40,4 +40,7 @@ def main(): with open(f'bvids/rank/by-rid/rid-{rid}-{int(time.time())}.txt', 'w', encoding='utf-8') as f: for bvid in bvids: f.write(f'{bvid}' + '\n') - print(f'已保存 {len(bvids)} 个 bvid 到 bvids/bvids-{today.isoformat()}.txt') \ No newline at end of file + print(f'已保存 {len(bvids)} 个 bvid 到 bvids/bvids-{today.isoformat()}.txt') + +if __name__ == '__main__': + main() \ No newline at end of file