【问题标题】:Stop ytdl from sending messages to console阻止 ytdl 向控制台发送消息
【发布时间】:2021-06-09 17:48:02
【问题描述】:

当我从 ytdl 加载视频时,它会在控制台中打印:[youtube] videoLink: Downloading webpage。我怎样才能让它停止打印这些?

【问题讨论】:

    标签: python ytdl


    【解决方案1】:

    好的,我想我知道怎么做了。我只需要像这样定义我的 ydl_opts:

    ydl_opts = {
        'quiet': True
    }
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2017-03-12
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2013-02-15
      • 2023-01-03
      • 1970-01-01
      相关资源
      最近更新 更多