class Post(Item):
title = Css('.entry-title')
content = Css('.entry-content')
If a page has multiple item mathed the defined item model, Gain should have ability of parsing all of theme. I have an idea:
class Post(Item):
__base_html__ = Css('.entry')
title = Css('.entry-title')
content = Css('.entry-content')
Set item model a new attribute named __base_html__ or another appropriate name, which describe where is each item. So that we can parse multiple item from each page.
If a page has multiple item mathed the defined item model, Gain should have ability of parsing all of theme. I have an idea:
Set item model a new attribute named __base_html__ or another appropriate name, which describe where is each item. So that we can parse multiple item from each page.