Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from requests_html import HTMLSession
- session = HTMLSession()
- cookies = {my_cookies}
- url = 'https://www.rusprofile.ru/id/2088578'
- r = session.get(url, cookies=cookies)
- r.html.xpath('//a[@itemprop="url"]/@href')
Add Comment
Please, Sign In to add comment