Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import requests
- from lxml import html
- res = requests.get('http://www.example.com')
- doc = html.fromstring(res.text)
- el = doc.cssselect('#id.class')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement