title: how to find the xpath which is beside the element i already know?
body: <p>i am working on a crawler based on selenium.I expect to crwal &quot;https://sukebei.nyaa.si/?s=seeders&amp;o=desc&quot;(which is a porn torrent web) and only download every torrent on that day.Thus,i have to use &quot;driver.find_element_by_link_text(&quot;date&quot;)&quot; to detect whether the date is correct and save those elements as a list.After that,i have no idea what to do so as to click the hyperlink next to the date.
  If you have any idea please let me know,thank you.(By a Taiwanese high school student with poor English.)
  <a href="https://i.stack.imgur.com/ZlD2N.jpg" rel="nofollow noreferrer">part of html of that web</a>
  <a href="https://i.stack.imgur.com/EQAQs.jpg" rel="nofollow noreferrer">image of that web</a></p>
  <pre><code>from selenium import webdriver
  from selenium.webdriver.support import expected_conditions as EC
  import time
  date=&quot;2021-&quot;
  month=input(&quot;what month is it?&quot;)
  day=input(&quot;which day is it?&quot;)
  print(date+month+&quot;-&quot;+day)
  url=&quot;https://sukebei.nyaa.si/?s=seeders&amp;o=desc&quot;
  
  driver_path = &quot;C:\\webdriver\\chromedriver.exe&quot;
  option = webdriver.ChromeOptions()
  driver = webdriver.Chrome(driver_path, options=option)
  driver.implicitly_wait(10)
  driver.get(url)
  
  j=1
  for j in driver.find_element_by_link_text(&quot;date&quot;):
      
  
  time.sleep(20)
  </code></pre>