public
Description: Small RDF python scraper for gumtree ads (include geocoding)
Clone URL: git://github.com/moustaki/flatscrap.git
Search Repo:
Now scraps title and description
moustaki (author)
Thu Mar 06 10:09:24 -0800 2008
commit  18801149edcbb9815f5c155694c0cb342efb9642
tree    ad010b3e50fff9fccdc1e112b1924739e7748904
parent  7451b32ab44f631c168f3dc7bcbafc61c4d3161f
...
11
12
13
 
 
14
 
 
15
16
 
 
...
11
12
13
14
15
16
17
18
19
20
21
22
0
@@ -11,7 +11,13 @@
0
 
0
 soup = BeautifulSoup(html)
0
 
0
+# Now, let's scrap!
0
+
0
 location = soup('span','location')[0].contents[1][6:]
0
+title = soup('div',id="title")[0].contents[0].contents[0]
0
+description = soup('div',id="desc")[0].contents[0].contents[0].contents[0]
0
 
0
 print location
0
+print title
0
+print description

Comments

    No one has commented yet.