eso-addons
eso-addons copied to clipboard
Feature: Install addon by name instead of URL
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
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?
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.
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