You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
add support for downloading youtube community posts (afaik cobalt doesnt support this yet. tried pasting the url below and got an error)
additional context
i managed to create a bash oneliner to successfully download a youtube community post image, so i think this will help somewhat :3
# this downloads the best resolution image, remove everything after "grep trackingParams" to list available resolutions in a very shitty way# example url i used for testing# export URL='https://www.youtube.com/post/UgkxpzFlSEobNVmQT14KeROKeOIPOXuhX8F9'
curl $URL| grep ggpht | sed -e 's/:"/\n/g'| grep trackingParams | head -1 | sed 's/",.*$//g'| xargs -I{} curl -s {} | convert - out.gif
its not the best, but it works
tested only on posts with animated content, not static images
FYI - the animated posts use some custom animated webp thing? ffmpeg doesnt support it and refuses to convert. imagemagick however does, thats why i use it here.
The text was updated successfully, but these errors were encountered:
describe the feature you'd like to see
add support for downloading youtube community posts (afaik cobalt doesnt support this yet. tried pasting the url below and got an error)
additional context
i managed to create a bash oneliner to successfully download a youtube community post image, so i think this will help somewhat :3
its not the best, but it works
tested only on posts with animated content, not static images
FYI - the animated posts use some custom animated webp thing? ffmpeg doesnt support it and refuses to convert. imagemagick however does, thats why i use it here.
The text was updated successfully, but these errors were encountered: