Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support to index tables? #20

Closed
fjorgemota opened this issue Apr 16, 2014 · 2 comments
Closed

Support to index tables? #20

fjorgemota opened this issue Apr 16, 2014 · 2 comments
Labels

Comments

@fjorgemota
Copy link

Hello.

I'm testing Portia and I found that there is none actual way to index a table.

By 'index a table', I think something like allowing a element with various parents (something like table > tr (which can vary) > td based on a determinated index, or something like it).

I think that, for some cases, this is useful, like for indexing a page with tables. However, I not tested Slybot to see if it support that feature.

Can anyone help?

Thanks

@almeidaf
Copy link
Contributor

i think u need to annotate the fields has variants (instead of base) (this is how i do it on scrapinghub.com)

theres a forum post that describes it
http://support.scrapinghub.com/topic/194782-scrape-page-with-list-of-items/

portia doesnt have splitvariantmiddleware but i think it will be added support for it

@tpeng tpeng added the feature label Jun 27, 2014
@watchpoints
Copy link

can you give me a demo of Portia that how to config

@ruairif ruairif closed this as completed Mar 11, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants