The easiest way to find a locator is using the console on your browser. I tend to use Chrome. I'll open the Developer Tools. Easiest way is to right click on the web page and select Inspect. Once the Developer Tools are open you can press the ESC to toggle the console open and closed. At the console prompt I'll type something like:
document.querySelectorAll("[data-id='38579']")
where "[data-id='38579']" is a CSS selector. If I enter this and it finds one and only one result, it is a good locator for Selenium. If it finds more than one result then it isn't unique enough to be a good locator. In your case it will return two results. The first will be the <A> element and the second will be the <UL> element. In CSS this is really easy to say I want JUST the <A> element. In the console I would try the following:
document.querySelectorAll("a[data-id='38579']")
Adding the 'a' to the front of the CSS selector says I want the <A> tag with the attribute data-id='38579'. If this returns one and only one result you can use it as a Selenium locator. In Selenium (python) this would be:
driver.find_element_by_css_selector("a[data-id='38579']").click()
Darrell