diff --git a/TikTok/Queries/Video.py b/TikTok/Queries/Video.py index 6746cc2..bb89c02 100644 --- a/TikTok/Queries/Video.py +++ b/TikTok/Queries/Video.py @@ -56,9 +56,6 @@ async def comments( Returns: Video.VideoCommentResponseModel: The response model containing the video comments. - - Raises: - ValueError: If video_id is not a positive integer. """ return await self._fetch_data( url=self.query.endpoints.VideoCommentsURL, diff --git a/TikTok/ValidationModels/RestAPI.py b/TikTok/ValidationModels/RestAPI.py index ec05043..f546f1c 100644 --- a/TikTok/ValidationModels/RestAPI.py +++ b/TikTok/ValidationModels/RestAPI.py @@ -47,6 +47,7 @@ class APIEndpoints(BaseRequestModel): UserFollowersURL (HttpUrl): The URL for retrieving followers of a specified user. PlaylistInfoURL (HttpUrl): The URL for retrieving information about a specific playlist. VideoSearchURL (HttpUrl): The URL for searching videos based on specified criteria. + VideoCommentsURL (HttpUrl): The URL for retrieving comments for a specific video. """ OAuthTokenRequestURL: HttpUrl = (