Created
March 14, 2016 13:36
-
-
Save jh00nbr/bba088ffca426aef370e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
import requests | |
from lxml import html | |
url = "http://www.freeproxylists.net/?c=br&f=1&s=rs" | |
req = requests.get(url) | |
string = html.fromstring(req.content) | |
#result = string.xpath('//title/text()') | |
result2 = string.xpath('//table[@class="DataGrid"]//tr[@class="Odd"/td/text') | |
print result2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment