Hi everyone,

i'm trying "scrapy" some information from a website, and i need select meta 
tags by language, i have this meta:
<meta name="Title" xml:lang="pt_br" content="Titulo em pt_br" />

when i use meta[contains(@name,'Title') and 
contains(@xml:lang,'pt_br')]/@content".. the return is null...

but in other meta I used meta[contains(@name,'Title') and 
contains(@data,'pt')]/@content" for meta tag bellow:
<meta name="Title" data="pt" content="data content" />

in this case works fine

i believe my problem is the xml:lang, the ":".. someone know how to fix it?

thanks

-- 
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