From 2b95f9aec0233f332e151c7b318f70bb7b35fe03 Mon Sep 17 00:00:00 2001 From: Glenn Jocher Date: Thu, 25 Jul 2024 13:38:01 +0200 Subject: [PATCH] `ultralytics 8.2.65` fix YouTube throttling bug (#14684) --- ultralytics/__init__.py | 2 +- ultralytics/data/loaders.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ultralytics/__init__.py b/ultralytics/__init__.py index 8a0415c929..7126c40ce0 100644 --- a/ultralytics/__init__.py +++ b/ultralytics/__init__.py @@ -1,6 +1,6 @@ # Ultralytics YOLO 🚀, AGPL-3.0 license -__version__ = "8.2.64" +__version__ = "8.2.65" import os diff --git a/ultralytics/data/loaders.py b/ultralytics/data/loaders.py index d6e6b376dc..e4b3f27859 100644 --- a/ultralytics/data/loaders.py +++ b/ultralytics/data/loaders.py @@ -545,7 +545,7 @@ def get_best_youtube_url(url, method="pytube"): """ if method == "pytube": # Switched from pytube to pytubefix to resolve https://github.com/pytube/pytube/issues/1954 - check_requirements("pytubefix==6.3.4") # bug in 6.4.2 https://github.com/JuanBindez/pytubefix/issues/123 + check_requirements("pytubefix>=6.5.2") from pytubefix import YouTube streams = YouTube(url).streams.filter(file_extension="mp4", only_video=True)