【发布时间】:2021-01-04 09:22:35
【问题描述】:
当运行这个 python 脚本时
storage_client = storage.Client()
bucket = storage_client.bucket('bucket_name')
blob1 = bucket.get_blob(blob)
print(blob1.name)
得到以下错误:
ValueError: <Blob: bucket-name, /videos/batch1TestingVideo1/video1.mp4, 1600346932097827>
could not be converted to unicode
bucket中存储的所有对象都是视频文件。
如何获取存储桶中存储的视频文件的元数据。
提前致谢。
【问题讨论】:
标签: python google-cloud-platform google-cloud-storage blobstore bucket