Note that there are some explanatory texts on larger screens.

plurals
  1. POCleaning up scraped Nokogiri output
    primarykey
    data
    text
    <p>The output of what I'm scraping leaves me with this:</p> <pre><code>&lt;li&gt;&lt;img class="static" src="pic.jpg"&gt;&lt;span id="dynamic1" class="the text"&gt;I like turtles&lt;/span&gt;&lt;/li&gt; &lt;li&gt;&lt;img class="static" src="pic.jpg"&gt;&lt;span id="dynamic2" class="the text"&gt;I like bears&lt;/span&gt;&lt;/li&gt; &lt;li&gt;&lt;img class="static" src="pic.jpg"&gt;&lt;span id="dynamic3" class="the text"&gt;I like ruby&lt;/span&gt;&lt;/li&gt; &lt;li&gt;&lt;img class="static" src="pic.jpg"&gt;&lt;span id="dynamic4" class="the text"&gt;I like oranges&lt;/span&gt;&lt;/li&gt; &lt;li&gt;&lt;img class="static" src="pic.jpg"&gt;&lt;span id="dynamic5" class="the text"&gt;I like keyboards&lt;/span&gt;&lt;/li&gt; &lt;li&gt;&lt;img class="static" src="pic.jpg"&gt;&lt;span id="dynamic6" class="the text"&gt;I like movies&lt;/span&gt;&lt;/li&gt; &lt;li&gt;&lt;img class="static" src="pic.jpg"&gt;&lt;span id="dynamic7" class="the text"&gt;I like Android&lt;/span&gt;&lt;/li&gt; &lt;li&gt;&lt;img class="static" src="pic.jpg"&gt;&lt;span id="dynamic8" class="the text"&gt;I like Mac&lt;/span&gt;&lt;/li&gt; &lt;li&gt;&lt;img class="static" src="pic.jpg"&gt;&lt;span id="dynamic9" class="the text"&gt;I like music&lt;/span&gt;&lt;/li&gt; &lt;li&gt;&lt;img class="static" src="pic.jpg"&gt;&lt;span id="dynamic10" class="the text"&gt;I like boats&lt;/span&gt;&lt;/li&gt; </code></pre> <p>There is about 100 lines of this with the span class being different each time, and the "I like turtles" part being different each time. </p> <p>Ideally, I only want the "I like turtles" part of each line. Is there a way to get this? </p> <p>Example 10 lines</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload