Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: Sanitize Video Title to Remove Extra Double Quotes During Upload #270

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

iltekin
Copy link

@iltekin iltekin commented Dec 12, 2024

This PR fixes an issue where video titles were being uploaded with extra double quotes. The title is now sanitized by stripping any leading or trailing double quotes before uploading the video to YouTube.

Changes include:

  • A fix in the upload_video function to ensure the title is correctly formatted.
  • Prevents the inclusion of unintended characters in video titles, improving the user experience.

This resolves potential issues with incorrectly formatted video titles on the platform.

- Sanitized the video title by stripping any leading/trailing double quotes.
- Ensures that the title is uploaded correctly without unwanted quotes.
remove extra double quotes from video title before upload
@FujiwaraChoki
Copy link
Owner

Hey, thanks for the PR. Sometimes, you might have double quotes in the title itself, which are needed, and the title itself might be a quote. If you could find a way around this, that would be awesome.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants