You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I solved this in #57 by parsing the HTML, then realized there was a json file available (which may be a better solution?) when I came here to mark this as done. 🤦
Upon further investigation using HtmlAgilityPack to parse the HTML instead of the JSON file yields better result as I can actually target the trait/weapon/sequence/table description, while in the JSON those are mixed with all the other text content about the entity.
So for the summary I will keep to parsing the HTML.
However, it would be interesting to investigate using the JSON to provide autocomplete suggestions for trait/weapon/sequence/table names when the user is invoking the commands.
Orabot/Orabot.Core/Modules/OpenRaTraitsModule.cs
Line 69 in 7ab2fa0
is not really helpful. Parse https://docs.openra.net/en/bleed/search/search_index.json instead.
The text was updated successfully, but these errors were encountered: