# -*- coding: UTF-8 -*-

from requests_html import HTMLSession


def get_url(url):
    session = HTMLSession()
    r = session.get(url)
    return r.html.links

print(get_url("https://www.baidu.com/"))