title: Which selector to use in html function in rvest package in R?
body: <p>I would like to parse HTML page containing such informations:</p>
  
  <pre><code>&lt;html xmlns="http://www.w3.org/1999/xhtml"&gt;
      &lt;head&gt;
          &lt;meta http-equiv="Content-Type" content="text/html; charset=utf-8" /&gt;
  &lt;title&gt;Tajemnica Oscara Pistoriusa - Książki - WP.PL&lt;/title&gt;
  &lt;meta name="description" content="Wieczorem, 13 lutego 2013 roku ona pisze dla niego kartkę na walentynki: &amp;lt;b&amp;gt;&amp;quot;Dziś jest dobry dzień, by powiedzieć, że Cię kocham&amp;quot;.&amp;lt;/b&amp;gt; Zanim on odczyta tę wiadomość, ona od kilku godzin nie..." /&gt;
  &lt;meta name="keywords" content="ksiazki, książka, literatura, czytelnik" /&gt;
  &lt;meta name="language" content="pl" /&gt;
  &lt;meta name="author" content="Grupa Wirtualna Polska" /&gt;
  &lt;meta name="robots" content="index,follow" /&gt;
  </code></pre>
  
  <p>And I am using <code>rvest</code> <a href="http://cran.r-project.org/web/packages/rvest/index.html" rel="nofollow noreferrer">package</a> in R. When I use such code, with this selector: <code>"meta"</code></p>
  
  <pre><code>library(rvest)
  
  content &lt;- html("http://ksiazki.wp.pl/gid,17325376,tytul,Tajemnica-Oscara-Pistoriusa,galeria.html?ticaid=1147a0&amp;_ticrsn=3")
  
  nodesS &lt;- html_nodes(content, "meta")
  </code></pre>
  
  <p>I recieve a list of all metas, but I am interested only in one specific.
  Which selector should I use to download only those informations from <code>content</code> in here: </p>
  
  <pre><code>&lt;meta name="keywords" content="ksiazki, książka, literatura, czytelnik" /&gt;
  </code></pre>
  
  <p><em>EDIT</em>:
  Can anyone knows how to set <code>encoding</code> argument properly?
  I received bad encoding while specifying it like this:</p>
  
  <pre><code>&gt; content &lt;- html("http://ksiazki.wp.pl/gid,17325376,tytul,Tajemnica-Oscara-Pistoriusa,galeria.html?ticaid=1147a0&amp;_ticrsn=3", 
  +                 encoding = "UTF-8" )
  &gt; 
  &gt; nodesS &lt;- html_nodes(content, "meta[name=keywords]")
  &gt; html_attrs(nodesS)[[1]][2]
                                      content 
  "ksiazki, ksiÄ…ĹĽka, literatura, czytelnik" 
  </code></pre>
  
  <p>EDIT: </p>
  
  <p>I found functions <code>guess_encoding()</code> and <code>repair_encoding()</code> in the overview of this readme.me on hadley's github project 
  <a href="https://github.com/hadley/rvest" rel="nofollow noreferrer">https://github.com/hadley/rvest</a> </p>