mirror of
https://github.com/imputnet/cobalt.git
synced 2026-05-21 14:00:26 -05:00
Provide optional extracted data in the API response #552
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @m-ehsan on GitHub (Nov 9, 2024).
describe the feature you'd like to see
Is it appropriate to provide some extra service-specific data related to the media that has been extracted in the API response? Data items like tweet text, Instagram post caption and ...
In my opinion those kind of data are still public and are tightly related to the media file that the user has requested. In addition they are already accessible in the fetched data. Having an optional field in the API response can satisfy needs of more users.
I suggest adding the field below to
tunnel,redirect&pickerresponse types:miscobjectAnd of course this
miscfield would be service-dependent and dynamic, leaving room for future changes in the returned items. Also there will be no assurance for it to contain the same set of items every time, it may even contain no items at all. It just should return any relevant item that is possible.example value of
miscfield for Instagram service:Other accessible fields that might be relevant:
comment_count,like_count,play_count,taken_atWhat do you think? Is this a reasonable feature for this project?
additional context
No response
@wukko commented on GitHub (Nov 9, 2024):
cobalt is not some kind of api wrapper, it’s a downloader
plus, this info is useless unless you use the api for scraping
@dumbmoron commented on GitHub (Nov 9, 2024):
from CONTRIBUTING.md:
cobalt is a media downloader tool, not a webscraping tool, so this is wholly out of scope