cobalt-7/web/changelogs/4.3.md

27 lines
2 KiB
Markdown
Raw Normal View History

---
title: "developers, developers, developers, developers"
banner:
file: "developers.webp"
alt: "steve ballmer going \"developers, developers, developers\""
---
this update features a TON of improvements.
<a class="text-backdrop link" href="https://www.youtube.com/watch?v=SaVTHG-Ev4k" target="_blank">developers</a>, you now can rely on cobalt for getting content from social media. the api has been revamped and <a class="text-backdrop link" href="https://github.com/imputnet/cobalt/tree/current/docs/API.md" target="_blank">documentation</a> is now available. you can read more about API changes down below. go crazy, and have fun :D
if you're not a developer, here's a list of changes that you probably care about:
- rate limit is now approximately 8 times bigger. no more waiting, even if you want to download entirety of your tiktok "for you" page.
- some updates will now have expressive banners, just like this one.
- fixed what was causing an error when a youtube video had no description.
- mp4 format button text should now be displayed properly, no matter if you touched the switcher or not.
next, the star of this update — improved api!
- main endpoint now uses POST method instead of GET.
- internal variables for preferences have been updated to be consistent and easier to understand.
- ip address is now hashed right upon request, not somewhere deep inside the code.
- global stream salt variable is no longer unnecessarily passed over a billion functions.
- url and picker keys are now separate in the json response.
- cobalt web app now correctly processes responses with "success" status.
if you currently have a siri shortcut or some other script that uses the GET method, make sure to update it soon. this method is deprecated, limited, and will be removed entirely in coming updates.
if you ever make something using cobalt's api, make sure to mention <a class="text-backdrop link" href="https://twitter.com/justusecobalt" target="_blank">@justusecobalt</a> on twitter, i would absolutely love to see what you made.