Hello all, 
I have a problem for scraping. 
First, here is the html page: 

<ul><li><div client="45588;" class="bill"></div></li></ul>


Here are the file scrapy :

from scrapy.spider import Spider
from scrapy.selector import Selector

from dirbot.items import Website


class DmozSpider(Spider):
    name = "dmoz"
    allowed_domains = ["dmoz.org"]
    start_urls = [
        "http://mywebsite.com/example.html/";
        
    ]

    def parse(self, response):
        

    
         for sel in response . xpath ( '//ul/li' ) :
             name = sel . xpath ('//*[@class="client"]/@bill').extract()
         

             print name



Scrapy don't works .anyone can help me? 

thank you
STEF

-- 
You received this message because you are subscribed to the Google Groups 
"scrapy-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/scrapy-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to