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

added useful functions to DownloadOptions class #164

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

Conversation

xafable
Copy link

@xafable xafable commented Aug 9, 2022

// get best combined format by video quality
public function getBestCombinedFormat()

// get best video format by quality
public function getBestVideoFormat()

// get best audio format by quality
public function getBestAudioFormat()

    // get best combined format by video quality
   public function getBestCombinedFormat()

    // get best video format by quality
    public function getBestVideoFormat()

    // get best audio format by quality
    public function getBestAudioFormat()
@unikapps
Copy link
Contributor

I like this PR, it will be nice to make it flexible to select maximum quality for video:
For example, I want the best video quality up to 1080p
getBestVideoFormat(1080)

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.

None yet

2 participants