Compare commits
No commits in common. "0d2efcd3e3f2167323117f5df3429b063759aec5" and "28e48220c2d6a3b3986329e553eab2e887810ec6" have entirely different histories.
0d2efcd3e3
...
28e48220c2
4 changed files with 6 additions and 5 deletions
|
@ -1,5 +1,5 @@
|
|||
[bumpversion]
|
||||
current_version = 0.4.4
|
||||
current_version = 0.4.3
|
||||
commit = True
|
||||
tag = True
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
[tool.poetry]
|
||||
name = "ucast"
|
||||
version = "0.4.4"
|
||||
version = "0.4.3"
|
||||
description = "YouTube to Podcast converter"
|
||||
authors = ["Theta-Dev <t.testboy@gmail.com>"]
|
||||
packages = [
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
__version__ = "0.4.4"
|
||||
__version__ = "0.4.3"
|
||||
|
||||
|
||||
def template_context(request):
|
||||
|
|
|
@ -11,7 +11,7 @@ import feedparser
|
|||
import requests
|
||||
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}""")
|
||||
|
||||
|
@ -115,7 +115,8 @@ 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, videoutil.THUMBNAIL_SIZE)
|
||||
util.download_image_file(url, download_path)
|
||||
return
|
||||
except requests.HTTPError:
|
||||
logging.warning(f"downloading thumbnail {url} failed")
|
||||
|
|
Loading…
Reference in a new issue