質問編集履歴
1
ログの追記
test
CHANGED
File without changes
|
test
CHANGED
@@ -97,3 +97,51 @@
|
|
97
97
|
p doc.css("p.novel_title").inner_text
|
98
98
|
|
99
99
|
p doc.css("div#novel_ex").inner_text
|
100
|
+
|
101
|
+
|
102
|
+
|
103
|
+
|
104
|
+
|
105
|
+
### 追記
|
106
|
+
|
107
|
+
|
108
|
+
|
109
|
+
小説取得部分のログを追記いたします。
|
110
|
+
|
111
|
+
heroku logs -t -a narou-matome
|
112
|
+
|
113
|
+
```terminal
|
114
|
+
|
115
|
+
2018-07-06T05:12:49.216323+00:00 app[web.1]: [15832366-33fd-4bc0-aaa6-5c38caea95fe] Started GET "/matomes/scraping_novel?url=https%3A%2F%2Fn
|
116
|
+
|
117
|
+
code.syosetu.com%2Fn4449cj%2F" for 162.158.7.30 at 2018-07-06 05:12:49 +0000
|
118
|
+
|
119
|
+
2018-07-06T05:12:49.217485+00:00 app[web.1]: [15832366-33fd-4bc0-aaa6-5c38caea95fe] Processing by MatomesController#scraping_novel as HTML
|
120
|
+
|
121
|
+
2018-07-06T05:12:49.217515+00:00 app[web.1]: [15832366-33fd-4bc0-aaa6-5c38caea95fe] Parameters: {"url"=>"https://ncode.syosetu.com/n4449cj
|
122
|
+
|
123
|
+
/"}
|
124
|
+
|
125
|
+
2018-07-06T05:12:49.970244+00:00 heroku[router]: at=info method=GET path= "/matomes/scraping_novel?url=https%3A%2F%2Fncode.syosetu.com%2Fn44
|
126
|
+
|
127
|
+
49cj%2F" host=narou-matome.com request_id=15832366-33fd-4bc0-aaa6-5c38caea95fe fwd="125.12.18.156,162.158.7.30" dyno=web.1 connect=1ms servi
|
128
|
+
|
129
|
+
ce=755ms status=500 bytes=1827 protocol=https
|
130
|
+
|
131
|
+
2018-07-06T05:12:49.968024+00:00 app[web.1]: [15832366-33fd-4bc0-aaa6-5c38caea95fe] Completed 500 Internal Server Error in 750ms (ActiveReco
|
132
|
+
|
133
|
+
rd: 0.0ms)
|
134
|
+
|
135
|
+
2018-07-06T05:12:49.968840+00:00 app[web.1]: [15832366-33fd-4bc0-aaa6-5c38caea95fe]
|
136
|
+
|
137
|
+
2018-07-06T05:12:49.968886+00:00 app[web.1]: [15832366-33fd-4bc0-aaa6-5c38caea95fe] OpenURI::HTTPError (503 Service Temporarily Unavailable)
|
138
|
+
|
139
|
+
:
|
140
|
+
|
141
|
+
2018-07-06T05:12:49.968934+00:00 app[web.1]: [15832366-33fd-4bc0-aaa6-5c38caea95fe]
|
142
|
+
|
143
|
+
2018-07-06T05:12:49.968983+00:00 app[web.1]: [15832366-33fd-4bc0-aaa6-5c38caea95fe] app/controllers/matomes_controller.rb:90:in `scraping_no
|
144
|
+
|
145
|
+
vel'
|
146
|
+
|
147
|
+
```
|