Skip to content

Commit

Permalink
chore, fix: pytubefix must be up to date, also version bumping yt-dlp
Browse files Browse the repository at this point in the history
  • Loading branch information
THEGOLDENPRO committed Sep 29, 2024
1 parent e6c3d1e commit 9040c12
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion mov_cli_youtube/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@
}
}

__version__ = "1.3.4"
__version__ = "1.3.5"
8 changes: 4 additions & 4 deletions mov_cli_youtube/yt_dlp.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,10 @@ def search(self, query: str, limit: Optional[int] = None) -> Generator[Metadata,

for key in info["entries"]:
yield Metadata(
id = key["url"],
title = f"{key['title']} ~ {key['uploader']}",
type = MetadataType.SINGLE,
image_url = self.__get_best_thumbnail(key["thumbnails"]),
id = key["url"],
title = f"{key['title']} ~ {key['uploader']}",
type = MetadataType.SINGLE,
image_url = self.__get_best_thumbnail(key["thumbnails"]),
extra_func = lambda: self.__scrape_extra(key)
)

Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ dependencies = [
"requests",
"importlib-metadata; python_version<'3.8'",

"pytubefix>=6.8.1",
"yt-dlp>=2024.8.1"
"pytubefix>=7.1.3",
"yt-dlp>=2024.9.27"
]

dynamic = ["version"]
Expand Down

0 comments on commit 9040c12

Please sign in to comment.