Selenium Python click href element no attributes

You can locate the href element with the following locators:

"//a[contains(@href,'/ad/repost/id/2109701')]"

or

"//a[./span[text()='Réafficher']]"

The input element can be located with

"//input[@value='Fermer']"

I can't be 100% sure about uniqueness of the locators above without seeing the actual web page HTML