0xb8 / WiseTagger

Simple picture tagging tool
Do What The F*ck You Want To Public License
15 stars 1 forks source link

Possible improvement: Open imageboard post (Ctrl+P) -> generic url handler #1

Closed Brawlence closed 4 years ago

Brawlence commented 6 years ago

Since you're implementing custom RegExp sorter, it may be benefical to allow users make a list of possible shortened urls, opened when\if that menu item is triggered:

(now existing) yandere_012345 -> https://yande.re/post/show/012345 pixiv_55952691 -> https://www.pixiv.net/member_illust.php?mode=medium&illust_id=55952691 reddit_ekwh5l -> https://redd.it/ekwh5l [↓ deprecated suggestion removed, look below ↓]

Brawlence commented 5 years ago

Alternatively, since neither Windows Search nor Chrome Extentions tolerate ~ (tilde) in their naming, we could establish a more organic-like @ naming, for example, swisser@PX, [prettyplease@DF] and so on.

If I would find a way for those to work with # (number sign) we could reserve those for unique image IDs (if present, like on pixiv or yande.re).

Windows Search makes it an additional pain in the ass - to search for special characters you need to escape them like ~="~" or ~="#"

Brawlence commented 4 years ago

Implemented PIXIV and DRAWFRIENDS IDs handling in https://github.com/Brawlence/WiseTagger/commit/733a690 , author handles will have to either have their own respective parsing function or a whole database solution instead.

I'm leaving these here just for the sake of posterity: sasuga@DA → https://sasuga.deviantart.com/gallery/ anooon@DF → https://drawfriends.booru.org/index.php?page=post&s=list&tags=anon_(artist) swoopi@PX → https://www.pixiv.net/search_user.php?s_mode=s_usr&nick=swoopi qtpie1@TW → https://twitter.com/qtpie1 toofat@TU → https://toofat.tumblr.com/ smuts5@HF → https://www.hentai-foundry.com/user/smuts5/profile absltU@AS → https://www.artstation.com/absltU splats@VK → https://vk.com/splats 8l8i8@JR → https://joyreactor.cc/user/8l8i8