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

Add yt_dlp_extra_options argument to VideoHash #8

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

QyuBee
Copy link

@QyuBee QyuBee commented Aug 10, 2024

Description:

I have added a new argument, yt_dlp_extra_options, to the VideoHash class. This allows users to pass additional options directly to yt-dlp, such as --cookies-from-browser, which can be necessary for certain websites.

Motivation:

This feature enhances the flexibility and control over the behavior of yt-dlp within the VideoHash process. By allowing extra options, users can better handle specific use cases that require advanced configurations.

Changes:

  • Added the yt_dlp_extra_options argument to VideoHash.

Example usage:

video_hash = VideoHash(url=video_link, yt_dlp_extra_options="--cookies-from-browser firefox")

Additional Notes:

  • The wiki will need to be updated to include details about the new yt_dlp_extra_options argument and its usage.

This change should not affect existing functionality, but it provides a more powerful interface for those who need it.

Please review the changes and let me know if further adjustments are needed. Thank you!

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.

1 participant