Open GoAwayNow opened 4 years ago
Really just making the whole http request and response parsable inputs would be fine.
@GoAwayNow what exactly do you mean by this? You want to pull specific elements from the URL (like a hostname, query KV items, URI fragment) and be able to automatically apply them as tags? (like the filename:
option when importing files)
I need to figure out how to enable notifications for issues I've created.
But yes, that's exactly what I mean. Something like this:
hxxps://subdomain.domain.yeet/id/authorname/file.heh
being able to produce
creator:authorname
site id:id
filename:file
without going through a parser.
Sounds useful, however, how would one handle URL parameters? What about URL metadata relating to user accounts or even devices instead of the art/page?
The most useful case for me is preserving the context of the file if the URL has the filename - which mostly is either the name of a meme / reaction or a title of an artwork. This is helpful if there are artists releasing exclusive or better quality works on Discord.
An alternative solution would be downloading the image then import said image while preserving the filename as a tag, but then you'd lose the URL it originated from.
@mruac for discord specifically the existing parser can be easily modified to add filename tags.
@mruac for discord specifically the existing parser can be easily modified to add filename tags.
I'm not downloading / watching a discord channel, just some specific pictures from it.
To keep it short and sweet, the idea is, when importing a file url, and not something like a post or gallery, to pull tags from the url, similar to using the url variable (? I can't recall how the client refers to this) in a parser.