Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: Install addon by name instead of URL #42

Open
vvambo opened this issue Feb 17, 2022 · 3 comments
Open

Feature: Install addon by name instead of URL #42

vvambo opened this issue Feb 17, 2022 · 3 comments
Labels
enhancement New feature or request

Comments

@vvambo
Copy link

vvambo commented Feb 17, 2022

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

@Trojan295
Copy link
Owner

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?

@vvambo
Copy link
Author

vvambo commented Feb 19, 2022

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
Copy link
Author

vvambo commented Mar 19, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants