Skip to content

download_video.py problem #2

@mmmiaoo

Description

@mmmiaoo

os.system('wget --quiet \'%s\' -O %s' % (video_url, cur_save_path))

问题:下载video文件时遇到错误,会出现只创建路径的情况,路径对应的文件为0kb。
解决: os.system('wget --quiet '%s' -O %s' % (video_url, cur_save_path)),改为os.system('wget --quiet %s -O %s' % (video_url, cur_save_path))

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions