eso-addons icon indicating copy to clipboard operation
eso-addons copied to clipboard

Feature: Install addon by name instead of URL

Open vvambo opened this issue 2 years ago • 3 comments

It should not be too complicated to take a keyword and use it with the esoui search.
The search on the website already delivers the addon page if only one result fits, if there are multiple, the names could be parsed and given into a selection (1-X) with the option to deny and check through the search results on esoui

Found <x> Addons searching for "<keyword>":
<URLtoESOUISearch> # clickable link 
1. <name-searchresult1>
2. <name-searchresult2>
3. ...

Select the result by typing the according number, 'n' to abort or insert the URL for an addon manually.

Kind of what I'd imagine

vvambo avatar Feb 17 '22 05:02 vvambo

Good idea, I'm just a bit concerned that this will base on web scrapping of the esoui.com webpage and in case they change the page layout this could break.

On the other hand, current functionalities (like getting the addon download link) also scrap the HTML of esoui.com.

@vvambo, do you want to contribute such a feature?

Trojan295 avatar Feb 18 '22 19:02 Trojan295

I have not seen esoui.com change in ~5 years? So I think the risk for that is small.

I'd love to help, but I have 0 experience with either Rust or web APIs. I can try to dig through the esoui wiki/docs though. (Nvm.. I noticed its just about the ESOUI - not esoui.com ...)

https://www.esoui.com/forums/showthread.php?t=10029 uhhhh

Looks like its not on the table, although asking sirinsidiator is always an option.

vvambo avatar Feb 19 '22 16:02 vvambo

Just thought about this again, two other ideas:

IF skipping the web scrapping, it could output the search URL (https://www.esoui.com/downloads/search.php?search= ) in case the search didnt directly go to an Addon page (= search.php is still part of the URL) And then the user opens that, finds the correct one and pastes the URL

vvambo avatar Mar 19 '22 18:03 vvambo