|
马上注册,结交更多好友,享用更多功能^_^
您需要 登录 才可以下载或查看,没有账号?立即注册
x
if transcript_list.find_manually_created_transcript(['en']) is not None:
print('man have-----------------')
elif transcript_list.find_generated_transcript(['en']):
print('gen have -----------------')
else:
continue
下面是告警
ytube_transcript_api._errors.NoTranscriptFound:
Could not retrieve a transcript for the video https://www.ytube.com/watch?v=DbkEDAqCxeo! This is most likely caused by:
No transcripts were found for any of the requested language codes: ['en']
For this video (DbkEDAqCxeo) transcripts are available in the following languages:
(MANUALLY CREATED)
None
(GENERATED)
- en ("English (auto-generated)")[TRANSLATABLE] |
|