# Nokogiri not parsing the whole document

**URL:** <https://www.ruby-forum.com/t/nokogiri-not-parsing-the-whole-document/259381>\
**Category:** Uncategorized\
**Created:** [April 28, 2020, 10:27am UTC](https://www.ruby-forum.com/t/nokogiri-not-parsing-the-whole-document/259381 "2020-04-28T10:27:31Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Phimer951](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/bbce88/32.png) [@Phimer951](https://www.ruby-forum.com/u/Phimer951)\
**Post date:** [April 28, 2020, 10:27am UTC](https://www.ruby-forum.com/t/nokogiri-not-parsing-the-whole-document/259381/1 "2020-04-28T10:27:31Z")

</div>

Hi, I want to scrape the data of each of the products of the following link: [Zähleranschlußsäulen TEN Thüringer Energienetz](https://gsab.de/index.php/produkte/zaehleranschlusssaeulen/thueringen/zaehleranschlusssaeulen-ten-thueringer-energienetz.html)

The problem is that the output always give me the value of the first product, but not of the others… Im grateful for you help. Here is my code:

require “open-uri”

require “Nokogiri”

require “csv”

url = “[Zähleranschlußsäulen TEN Thüringer Energienetz](https://gsab.de/index.php/produkte/zaehleranschlusssaeulen/thueringen/zaehleranschlusssaeulen-ten-thueringer-energienetz.html)”

page = Nokogiri::HTML(open(url))

articlenum = page.css(“.jcepopup.noicon”)

articlenum.each do |articlenum|

puts articlenum.attribute(“alt”)

end

“Output: 01.00.1P1” but where are the other numbers??
