python - extract Meta tags from website using portia (scrapy) -


extract meta tags website using portia (scrapy)

i want use portia extract meta tags website not showing head tag , starting body tag only

i able extract data body tag

you need annotate element within body , navigate element in head want map.

  1. annotate element on page, doesn't matter one.
  2. click settings icon either in annotation popup or within annotations panel on right-hand toolbox.
  3. click html element. warning lose mapped attributes annotation, click ok.
  4. click settings icon again, , time select head element.
  5. click settings icon yet again, , can select children elements within head.
  6. once you've selected element, click + field button create new field , map desired attribute value target field.

see also: https://github.com/scrapinghub/portia/issues/60


Comments

Popular posts from this blog

matlab - "Contour not rendered for non-finite ZData" -

delphi - Indy UDP Read Contents of Adata -

javascript - Any ideas when Firefox is likely to implement lengthAdjust and textLength? -