imputnet / cobalt

best way to save what you love
https://cobalt.tools
GNU Affero General Public License v3.0
17.29k stars 1.41k forks source link

New v10 API quality parameter not work #877

Closed ShirokamiRyzen closed 3 weeks ago

ShirokamiRyzen commented 3 weeks ago

bug description

When i use new API parameter like videoQuality it doesn't work

With videoQuality image

Only Url image

reproduction steps

add videoQuality to body request

screenshots

No response

links

No response

platform information

Ubuntu 22.04

additional context

No response

dumbmoron commented 3 weeks ago

https://github.com/imputnet/cobalt/blob/c3a23860863e2597a4235f42ba4f39d21792e359/docs/api.md?plain=1#L58 https://github.com/imputnet/cobalt/blob/c3a23860863e2597a4235f42ba4f39d21792e359/docs/api.md?plain=1#L61

wukko commented 3 weeks ago

hey, video quality is a string, as mentioned in docs. adding quotes ("720") should help

ShirokamiRyzen commented 3 weeks ago

hey, video quality is a string, as mentioned in docs. adding quotes ("720") should help

fixed, i dont see it 😂

lpwyz commented 2 weeks ago

Hello, I have a question to consult with you. Why can the YouTube address parsed by the cobalt instance you are running be opened normally, while the cobalt instance I am running on Docker returns the following address:

http://localhost/tunnel?id=typQSv_vR -wzU4LSNfcCZ&exp=1730775031019&sig=OBSAUAG8-yiQri0n_gRWVAvurea8-p0s7HtJ0rnd7T4&sec=D7313RNEdJim4ugVmnHjqul80_GAhW1-QgoNCOFEO1Q&iv=z13HimGtJg6-GBrKC7qYvg

An address similar to this

lpwyz commented 2 weeks ago

嘿,视频质量是一个字符串,如文档中所述。添加引号(“720”)应该有帮助

已修复,我没看到😂

Hello, I have a question to consult with you. Why can the YouTube address parsed by the cobalt instance you are running be opened normally, while the cobalt instance I am running on Docker returns the following address:

http://localhost/tunnel?id=typQSv_vR -wzU4LSNfcCZ&exp=1730775031019&sig=OBSAUAG8-yiQri0n_gRWVAvurea8-p0s7HtJ0rnd7T4&sec=D7313RNEdJim4ugVmnHjqul80_GAhW1-QgoNCOFEO1Q&iv=z13HimGtJg6-GBrKC7qYvg

An address similar to this

ShirokamiRyzen commented 2 weeks ago

Hello, I have a question to consult with you. Why can the YouTube address parsed by the cobalt instance you are running be opened normally, while the cobalt instance I am running on Docker returns the following address:

http://localhost/tunnel?id=typQSv_vR -wzU4LSNfcCZ&exp=1730775031019&sig=OBSAUAG8-yiQri0n_gRWVAvurea8-p0s7HtJ0rnd7T4&sec=D7313RNEdJim4ugVmnHjqul80_GAhW1-QgoNCOFEO1Q&iv=z13HimGtJg6-GBrKC7qYvg

An address similar to this

you need to type your domain on environment variable, otherwise you cant access the link