Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Untitled
a guest
Mar 10th, 2013
693
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
Python
0.15 KB
| None
|
0
0
raw
download
clone
embed
print
report
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
Public Pastes
Untitled
34 min ago | 17.74 KB
Really Simple SSL Load Balancing Fix
1 hour ago | 0.80 KB
Untitled
2 hours ago | 7.11 KB
Untitled
3 hours ago | 6.79 KB
Untitled
4 hours ago | 16.49 KB
Untitled
6 hours ago | 10.79 KB
Warrior - DW Fury
6 hours ago | 13.59 KB
Untitled
7 hours ago | 6.14 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the
Cookies Policy
.
OK, I Understand
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!