Compare commits
2 commits
28e48220c2
...
0d2efcd3e3
Author | SHA1 | Date | |
---|---|---|---|
0d2efcd3e3 | |||
f9db556a41 |
4 changed files with 5 additions and 6 deletions
|
@ -1,5 +1,5 @@
|
|||
[bumpversion]
|
||||
current_version = 0.4.3
|
||||
current_version = 0.4.4
|
||||
commit = True
|
||||
tag = True
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
[tool.poetry]
|
||||
name = "ucast"
|
||||
version = "0.4.3"
|
||||
version = "0.4.4"
|
||||
description = "YouTube to Podcast converter"
|
||||
authors = ["Theta-Dev <t.testboy@gmail.com>"]
|
||||
packages = [
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
__version__ = "0.4.3"
|
||||
__version__ = "0.4.4"
|
||||
|
||||
|
||||
def template_context(request):
|
||||
|
|
|
@ -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")
|
||||
|
|
Loading…
Reference in a new issue