質問編集履歴
2
追記
title
CHANGED
File without changes
|
body
CHANGED
@@ -67,4 +67,11 @@
|
|
67
67
|
=> [#<Nokogiri::XML::Attr:0x28e7a68 name="src" value="../genre/img/package/1172_0m_957.jpg">]
|
68
68
|
```
|
69
69
|
|
70
|
-
自力で解決できそうにないのでお願いします。
|
70
|
+
自力で解決できそうにないのでお願いします。
|
71
|
+
|
72
|
+
### 追記
|
73
|
+
```ruby
|
74
|
+
get_attribute('src')
|
75
|
+
get_attribute(:src)
|
76
|
+
```
|
77
|
+
どちらでもエラーになります
|
1
修正
title
CHANGED
File without changes
|
body
CHANGED
@@ -53,7 +53,7 @@
|
|
53
53
|
image = page.at('tbody tr .ttl a img')
|
54
54
|
|
55
55
|
image.each do |b|
|
56
|
-
puts b.get_attribute('src') ←こ
|
56
|
+
puts b.get_attribute('src') ←こいつをはずすと
|
57
57
|
end
|
58
58
|
|
59
59
|
end
|