Skip to content

Commit

Permalink
Join string instead of putting list in URL (#60)
Browse files Browse the repository at this point in the history
  • Loading branch information
joostlek authored Jul 23, 2023
1 parent 5653367 commit ddd444e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "youtubeaio"
version = "1.1.1"
version = "1.1.3"
description = "Asynchronous Python client for YouTube V3 API."
authors = ["Joost Lekkerkerker <joostlek@outlook.com>"]
maintainers = ["Joost Lekkerkerker <joostlek@outlook.com>"]
Expand Down
4 changes: 2 additions & 2 deletions src/youtubeaio/youtube.py
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ async def get_videos(
raise ValueError(msg)
param = {
"part": "snippet",
"id": video_ids,
"id": ",".join(video_ids),
}
async for item in self._build_generator(
"GET",
Expand Down Expand Up @@ -234,7 +234,7 @@ async def get_channels(
"""Return list of channels."""
param = {
"part": "snippet,contentDetails,statistics",
"id": channel_ids,
"id": ",".join(channel_ids),
}
async for item in self._get_channels(param):
yield item
Expand Down

0 comments on commit ddd444e

Please sign in to comment.