bibanon / tubeup

Use yt-dlp to download video/metadata and upload to the Internet Archive.
https://pypi.python.org/pypi/tubeup/
GNU General Public License v3.0
424 stars 71 forks source link

Truncate `tags_string` until it fits in 255 bytes #286

Closed yzqzss closed 1 year ago

yzqzss commented 1 year ago

IA's subject field has a 255 bytes length limitation.

brandongalbraith commented 1 year ago

@yzqzss Looks good :+1: would you mind adding a test for this?

yzqzss commented 1 year ago

@yzqzss Looks good +1 would you mind adding a test for this?

OK.

vxbinaca commented 1 year ago

If this works I'll push a new version because I don't want the character limitation and I want to finally switch to date versioning.

Edit: It's passing I'll cut a new version tonight. Good find @yzqzss .