Python: Ignoring exception in for each loop and continue with next element

前端 未结 0 659
悲&欢浪女
悲&欢浪女 2020-12-08 02:42

I have this loop in python: for video in playlist.videos: where I get YouTube videos in a playlist per URL, so if a video is invalid I get an exception in this

相关标签:
回答
  • 消灭零回复
提交回复
热议问题