def METHOD_NAME(url):
    time.sleep(random.randint(1,5)) # 睡一会防止触发google反爬虫
    response = session.get(url)
    soup = BeautifulSoup(response.text, "html.parser")
    for result in soup.select(".gs_ri"):
        try:
            url = result.select_one(".gs_rt").a['href']
        except:
            continue
        arxiv_id = extract_arxiv_id(url)
        if not arxiv_id:
            continue
        search = arxiv.Search(
            id_list=[arxiv_id],
            max_results=1,
            sort_by=arxiv.SortCriterion.Relevance,
        )
        try: paper = next(search.results())
        except: paper = None
        return paper
    return None