diff --git a/.bumpversion.cfg b/.bumpversion.cfg index 6bfdcb8..e18cff3 100644 --- a/.bumpversion.cfg +++ b/.bumpversion.cfg @@ -1,5 +1,5 @@ [bumpversion] -current_version = 0.4.3 +current_version = 0.4.4 commit = True tag = True diff --git a/pyproject.toml b/pyproject.toml index aaf8d74..388048b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "ucast" -version = "0.4.3" +version = "0.4.4" description = "YouTube to Podcast converter" authors = ["Theta-Dev "] packages = [ diff --git a/ucast/__init__.py b/ucast/__init__.py index e07686c..0c5af70 100644 --- a/ucast/__init__.py +++ b/ucast/__init__.py @@ -1,4 +1,4 @@ -__version__ = "0.4.3" +__version__ = "0.4.4" def template_context(request): diff --git a/ucast/service/youtube.py b/ucast/service/youtube.py index 3fb3b0f..0e5c524 100644 --- a/ucast/service/youtube.py +++ b/ucast/service/youtube.py @@ -11,7 +11,7 @@ import feedparser import requests from yt_dlp import YoutubeDL -from ucast.service import scrapetube, storage, util +from ucast.service import scrapetube, storage, util, videoutil CHANID_REGEX = re.compile(r"""[-_a-zA-Z\d]{24}""") @@ -115,8 +115,7 @@ def download_thumbnail(vinfo: VideoDetails, download_path: Path): logging.info(f"downloading thumbnail {url}...") try: - # util.download_image_file(url, download_path, videoutil.THUMBNAIL_SIZE) - util.download_image_file(url, download_path) + util.download_image_file(url, download_path, videoutil.THUMBNAIL_SIZE) return except requests.HTTPError: logging.warning(f"downloading thumbnail {url} failed")