Skip to content

Commit

Permalink
Fixed typo errors
Browse files Browse the repository at this point in the history
  • Loading branch information
henrique-coder committed Dec 12, 2024
1 parent cf19c30 commit d122015
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions streamsnapper/merger.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ def __init__(self, logging: bool = False) -> None:
Initialize the Merger class with the required settings for merging audio and video streams.
Args:
logging: Enable or disable ffmpeg logging. (default: False)
logging: Enable or disable FFmpeg logging. (default: False)
"""

self._logging = logging
Expand All @@ -36,10 +36,10 @@ def merge(
video_path: The path to the video file to merge. (required)
audio_path: The path to the audio file to merge. (required)
output_path: The path to save the output file to. (required)
ffmpeg_path: The path to the ffmpeg executable. If 'local', the ffmpeg executable will be searched in the PATH environment variable. (default: 'local')
ffmpeg_path: The path to the FFmpeg executable. If 'local', the FFmpeg executable will be searched in the PATH environment variable. (default: 'local')
Raises:
FileNotFoundError: If the ffmpeg executable was not found.
FileNotFoundError: If the FFmpeg executable was not found.
MergeError: If an error occurs while merging the files.
"""

Expand All @@ -54,7 +54,7 @@ def merge(
ffmpeg_path = Path(found_ffmpeg_binary)
else:
raise FFmpegNotFoundError(
'The ffmpeg executable was not found. Please provide the path to the ffmpeg executable.'
'The FFmpeg executable was not found. Please provide the path to the FFmpeg executable.'
)
else:
ffmpeg_path = Path(ffmpeg_path).resolve()
Expand Down
6 changes: 3 additions & 3 deletions streamsnapper/platforms/youtube.py
Original file line number Diff line number Diff line change
Expand Up @@ -709,9 +709,9 @@ def search(
Args:
query: The search query string. (required)
sort_by: The sorting method to use for the search results. Options are 'relevance', 'upload_date', 'view_count', and 'rating' (default: 'relevance').
results_type: The type of content to search for. Options are 'video', 'channel', 'playlist', and 'movie' (default: 'video').
limit: The maximum number of video URLs to return (default: 1).
sort_by: The sorting method to use for the search results. Options are 'relevance', 'upload_date', 'view_count', and 'rating'. (default: 'relevance')
results_type: The type of content to search for. Options are 'video', 'channel', 'playlist', and 'movie'. (default: 'video')
limit: The maximum number of video URLs to return. (default: 1)
Returns:
A list of video URLs from the search results. If no videos are found, returns None.
Expand Down

0 comments on commit d122015

Please sign in to comment.