Originally created by @kenziewebm on GitHub (Aug 7, 2024).
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
# 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.
Originally created by @kenziewebm on GitHub (Aug 7, 2024).
### 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
```bash
# 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.

Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Originally created by @kenziewebm on GitHub (Aug 7, 2024).
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.