Compare commits

..

No commits in common. "0d2efcd3e3f2167323117f5df3429b063759aec5" and "28e48220c2d6a3b3986329e553eab2e887810ec6" have entirely different histories.

4 changed files with 6 additions and 5 deletions

View file

@ -1,5 +1,5 @@
[bumpversion] [bumpversion]
current_version = 0.4.4 current_version = 0.4.3
commit = True commit = True
tag = True tag = True

View file

@ -1,6 +1,6 @@
[tool.poetry] [tool.poetry]
name = "ucast" name = "ucast"
version = "0.4.4" version = "0.4.3"
description = "YouTube to Podcast converter" description = "YouTube to Podcast converter"
authors = ["Theta-Dev <t.testboy@gmail.com>"] authors = ["Theta-Dev <t.testboy@gmail.com>"]
packages = [ packages = [

View file

@ -1,4 +1,4 @@
__version__ = "0.4.4" __version__ = "0.4.3"
def template_context(request): def template_context(request):

View file

@ -11,7 +11,7 @@ import feedparser
import requests import requests
from yt_dlp import YoutubeDL from yt_dlp import YoutubeDL
from ucast.service import scrapetube, storage, util, videoutil from ucast.service import scrapetube, storage, util
CHANID_REGEX = re.compile(r"""[-_a-zA-Z\d]{24}""") CHANID_REGEX = re.compile(r"""[-_a-zA-Z\d]{24}""")
@ -115,7 +115,8 @@ def download_thumbnail(vinfo: VideoDetails, download_path: Path):
logging.info(f"downloading thumbnail {url}...") logging.info(f"downloading thumbnail {url}...")
try: try:
util.download_image_file(url, download_path, videoutil.THUMBNAIL_SIZE) # util.download_image_file(url, download_path, videoutil.THUMBNAIL_SIZE)
util.download_image_file(url, download_path)
return return
except requests.HTTPError: except requests.HTTPError:
logging.warning(f"downloading thumbnail {url} failed") logging.warning(f"downloading thumbnail {url} failed")