Direct link to the image: https://go.nature.com/3q56P5U
https://i.imgur.com/KlgEVze.png
Take a look at this sequence:
https://i.imgur.com/STcNkIP.png
They started with the image at left, which represents a combination of both the planet and the star. Clearly, the star is so much brighter than the reflection of starlight off the planet that it blows out the whole image. But the star is pretty consistent, and definitely circular, so they could take a reference image and a rotated image and erase all the pixels that look like they expect the star to look. The difference between a normal star and the image they actually took is the planet-shaped hole left after subtracting one from the other.