Guest User

Untitled

a guest
Dec 8th, 2020
52
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.21 KB | None | 0 0
  1. from requests_html import HTMLSession
  2. session = HTMLSession()
  3.  
  4. cookies = {my_cookies}
  5.  
  6. url = 'https://www.rusprofile.ru/id/2088578'
  7. r = session.get(url, cookies=cookies)
  8. r.html.xpath('//a[@itemprop="url"]/@href')
Add Comment
Please, Sign In to add comment