This commit is contained in:
hellsof 2017-12-19 18:56:16 +08:00
parent 65f8cec8e2
commit cb0dc09a01

View File

@ -65,9 +65,6 @@ def video_info(vid,**kwargs):
if "stream_id" in kwargs and kwargs["stream_id"].lower() in support_stream_id: if "stream_id" in kwargs and kwargs["stream_id"].lower() in support_stream_id:
stream_id = kwargs["stream_id"] stream_id = kwargs["stream_id"]
else: else:
print("Current Video Supports:")
for i in support_stream_id:
# print("\t--format",i,"<URL>")
if "1080p" in support_stream_id: if "1080p" in support_stream_id:
stream_id = '1080p' stream_id = '1080p'
elif "720p" in support_stream_id: elif "720p" in support_stream_id: