質問編集履歴
6
ログの追加
test
CHANGED
File without changes
|
test
CHANGED
@@ -72,6 +72,504 @@
|
|
72
72
|
|
73
73
|
|
74
74
|
|
75
|
+
|
76
|
+
|
77
|
+
**実行ログ**
|
78
|
+
|
79
|
+
---
|
80
|
+
|
81
|
+
```ログ
|
82
|
+
|
83
|
+
9:13:35 情報 Logging output too large. Truncating output. {position=0.0, _from={}, direction=from, log=false, content=
|
84
|
+
|
85
|
+
<!DOCTYPE html>
|
86
|
+
|
87
|
+
<!--[if IE 8]> <html lang="en" class="ie8"> <![endif]-->
|
88
|
+
|
89
|
+
<!--[if IE 9]> <html lang="en" class="ie9"> <![endif]-->
|
90
|
+
|
91
|
+
<!--[if !IE]><!-->
|
92
|
+
|
93
|
+
<html lang="en">
|
94
|
+
|
95
|
+
<!--<![endif]-->
|
96
|
+
|
97
|
+
<head>
|
98
|
+
|
99
|
+
<meta charset="utf-8">
|
100
|
+
|
101
|
+
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
102
|
+
|
103
|
+
<meta name="viewport" content="width=device-width, initial-scale=1">
|
104
|
+
|
105
|
+
<title>Coronavirus Update (Live): 103,502,314 Cases and 2,236,938 Deaths from COVID-19 Virus Pandemic - Worldometer</title>
|
106
|
+
|
107
|
+
<meta name="description" content="Live statistics and coronavirus news tracking the number of confirmed cases, recovered patients, tests, and death toll due to the COVID-19 coronavirus from Wuhan, China. Coronavirus counter with new cases, deaths, and number of tests per 1 Million population. Historical data and info. Daily charts, graphs, news and updates">
|
108
|
+
|
109
|
+
|
110
|
+
|
111
|
+
<link rel="shortcut icon" href="/favicon/favicon.ico" type="image/x-icon">
|
112
|
+
|
113
|
+
<link rel="apple-touch-icon" sizes="57x57" href="/favicon/apple-icon-57x57.png">
|
114
|
+
|
115
|
+
<link rel="apple-touch-icon" sizes="60x60" href="/favicon/apple-icon-60x60.png">
|
116
|
+
|
117
|
+
<link rel="apple-touch-icon" sizes="72x72" href="/favicon/apple-icon-72x72.png">
|
118
|
+
|
119
|
+
<link rel="apple-touch-icon" sizes="76x76" href="/favicon/apple-icon-76x76.png">
|
120
|
+
|
121
|
+
<link rel="apple-touch-icon" sizes="114x114" href="/favicon/apple-icon-114x114.png">
|
122
|
+
|
123
|
+
<link rel="apple-touch-icon" sizes="120x120" href="/favicon/apple-icon-120x120.png">
|
124
|
+
|
125
|
+
<link rel="apple-touch-icon" sizes="144x144" href="/favicon/apple-icon-144x144.png">
|
126
|
+
|
127
|
+
<link rel="apple-touch-icon" sizes="152x152" href="/favicon/apple-icon-152x152.png">
|
128
|
+
|
129
|
+
<link rel="apple-touch-icon" sizes="180x180" href="/favicon/apple-icon-180x180.png">
|
130
|
+
|
131
|
+
<link rel="icon" type="image/png" sizes="192x192" href="/favicon/android-icon-192x192.png">
|
132
|
+
|
133
|
+
<link rel="icon" type="image/png" sizes="32x32" href="/favicon/favicon-32x32.png">
|
134
|
+
|
135
|
+
<link rel="icon" type="image/png" sizes="96x96" href="/favicon/favicon-96x96.png">
|
136
|
+
|
137
|
+
<link rel="icon" type="image/png" sizes="16x16" href="/favicon/favicon-16x16.png">
|
138
|
+
|
139
|
+
<link rel="manifest" href="/favicon/manifest.json">
|
140
|
+
|
141
|
+
<meta name="msapplication-TileColor" content="#ffffff">
|
142
|
+
|
143
|
+
<meta name="msapplication-TileImage" content="/favicon/ms-icon-144x144.png">
|
144
|
+
|
145
|
+
<meta name="theme-color" content="#ffffff">
|
146
|
+
|
147
|
+
|
148
|
+
|
149
|
+
<meta property="og:image" content="http://www.worldometers.info/img/worldometers-fb.jpg" />
|
150
|
+
|
151
|
+
|
152
|
+
|
153
|
+
<link href="/css/bootstrap.min.css" rel="stylesheet">
|
154
|
+
|
155
|
+
<link href="/wm16.css" rel="stylesheet">
|
156
|
+
|
157
|
+
|
158
|
+
|
159
|
+
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.4.0/css/font-awesome.min.css">
|
160
|
+
|
161
|
+
|
162
|
+
|
163
|
+
<!--[if lt IE 9]>
|
164
|
+
|
165
|
+
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
|
166
|
+
|
167
|
+
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
|
168
|
+
|
169
|
+
<![endif]-->
|
170
|
+
|
171
|
+
|
172
|
+
|
173
|
+
<script src="/js/jquery.min.js"></script>
|
174
|
+
|
175
|
+
|
176
|
+
|
177
|
+
<script src="/js/bootstrap.min.js"></script>
|
178
|
+
|
179
|
+
|
180
|
+
|
181
|
+
<script src="/js/ie10-viewport-bug-workaround.js"></script>
|
182
|
+
|
183
|
+
|
184
|
+
|
185
|
+
<link rel="stylesheet" type="text/css" href="https://cdn.datatables.net/1.10.19/css/dataTables.bootstrap.min.css" />
|
186
|
+
|
187
|
+
<script type="text/javascript" src="https://cdn.datatables.net/1.10.19/js/jquery.dataTables.min.js"></script>
|
188
|
+
|
189
|
+
<script type="text/javascript" src="https://cdn.datatables.net/1.10.19/js/dataTables.bootstrap.min.js"></script>
|
190
|
+
|
191
|
+
<script type="text/javascript" class="init">
|
192
|
+
|
193
|
+
$.extend( $.fn.dataTable.defaults, {
|
194
|
+
|
195
|
+
responsive: true
|
196
|
+
|
197
|
+
} );
|
198
|
+
|
199
|
+
|
200
|
+
|
201
|
+
$(document).ready(function() {
|
202
|
+
|
203
|
+
$('#example2').dataTable( {
|
204
|
+
|
205
|
+
"scrollCollapse": true,
|
206
|
+
|
207
|
+
"sDom": '<"bottom"flp><"clear">',
|
208
|
+
|
209
|
+
"paging": false
|
210
|
+
|
211
|
+
} );
|
212
|
+
|
213
|
+
} );
|
214
|
+
|
215
|
+
</script>
|
216
|
+
|
217
|
+
<script type="text/javascript" class="init">
|
218
|
+
|
219
|
+
$.extend( $.fn.dataTable.defaults, {
|
220
|
+
|
221
|
+
responsive: true
|
222
|
+
|
223
|
+
} );
|
224
|
+
|
225
|
+
|
226
|
+
|
227
|
+
$(document).ready(function() {
|
228
|
+
|
229
|
+
$('#table3').dataTable( {
|
230
|
+
|
231
|
+
"scrollCollapse": true,
|
232
|
+
|
233
|
+
"order": [[ 1, 'desc' ]],
|
234
|
+
|
235
|
+
"sDom": '<"bottom"flp><"clear">',
|
236
|
+
|
237
|
+
"paging": false
|
238
|
+
|
239
|
+
} );
|
240
|
+
|
241
|
+
} );
|
242
|
+
|
243
|
+
</script>
|
244
|
+
|
245
|
+
<script type="text/javascript" class="init">
|
246
|
+
|
247
|
+
$.extend( $.fn.dataTable.defaults, {
|
248
|
+
|
249
|
+
responsive: true
|
250
|
+
|
251
|
+
} );
|
252
|
+
|
253
|
+
|
254
|
+
|
255
|
+
$(document).ready(function() {
|
256
|
+
|
257
|
+
$('#example').dataTable( {
|
258
|
+
|
259
|
+
"scrollCollapse": true,
|
260
|
+
|
261
|
+
"searching": false,
|
262
|
+
|
263
|
+
|
264
|
+
|
265
|
+
"sDom": '<"top">rt<"bottom"flp><"clear">',
|
266
|
+
|
267
|
+
"paging": false
|
268
|
+
|
269
|
+
} );
|
270
|
+
|
271
|
+
} );
|
272
|
+
|
273
|
+
</script>
|
274
|
+
|
275
|
+
<script type="text/javascript" class="init">
|
276
|
+
|
277
|
+
$(document).ready(function() {
|
278
|
+
|
279
|
+
$('#popbycountry').dataTable();
|
280
|
+
|
281
|
+
} );
|
282
|
+
|
283
|
+
</script>
|
284
|
+
|
285
|
+
|
286
|
+
|
287
|
+
<script data-cfasync="false" type="text/javascript">
|
288
|
+
|
289
|
+
var freestar = freestar || {};
|
290
|
+
|
291
|
+
freestar.hitTime = Date.now();
|
292
|
+
|
293
|
+
freestar.queue = freestar.queue || [];
|
294
|
+
|
295
|
+
freestar.config = freestar.config || {};
|
296
|
+
|
297
|
+
freestar.debug = window.location.search.indexOf('fsdebug') === -1 ? false : true;
|
298
|
+
|
299
|
+
freestar.config.enabled_slots = [];
|
300
|
+
|
301
|
+
!function(a,b){var c=b.getElementsByTagName("script")[0],d=b.createElement("script"),e="https://a.pub.network/worldometers-info";e+=freestar.debug?"/qa/pubfig.min.js":"/pubfig.min.js",d.async=!0,d.src=e,c.parentNode.insertBefore(d,c)}(window,document);
|
302
|
+
|
303
|
+
</script>
|
304
|
+
|
305
|
+
</head>
|
306
|
+
|
307
|
+
<body>
|
308
|
+
|
309
|
+
|
310
|
+
|
311
|
+
|
312
|
+
|
313
|
+
|
314
|
+
|
315
|
+
<script>
|
316
|
+
|
317
|
+
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
|
318
|
+
|
319
|
+
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
|
320
|
+
|
321
|
+
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
|
322
|
+
|
323
|
+
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
|
324
|
+
|
325
|
+
|
326
|
+
|
327
|
+
ga('create', 'UA-1438574-2', 'auto');
|
328
|
+
|
329
|
+
ga('send', 'pageview');
|
330
|
+
|
331
|
+
</script>
|
332
|
+
|
333
|
+
|
334
|
+
|
335
|
+
|
336
|
+
|
337
|
+
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-1438574-30"></script>
|
338
|
+
|
339
|
+
<script>
|
340
|
+
|
341
|
+
window.dataLayer = window.dataLayer || [];
|
342
|
+
|
343
|
+
function gtag(){dataLayer.push(arguments);}
|
344
|
+
|
345
|
+
gtag('js', new Date());
|
346
|
+
|
347
|
+
|
348
|
+
|
349
|
+
gtag('config', 'UA-1438574-30');
|
350
|
+
|
351
|
+
</script>
|
352
|
+
|
353
|
+
|
354
|
+
|
355
|
+
<link rel="stylesheet" type="text/css" href="//cdnjs.cloudflare.com/ajax/libs/cookieconsent2/3.1.0/cookieconsent.min.css" />
|
356
|
+
|
357
|
+
<script src="//cdnjs.cloudflare.com/ajax/libs/cookieconsent2/3.1.0/cookieconsent.min.js"></script>
|
358
|
+
|
359
|
+
<script>
|
360
|
+
|
361
|
+
window.addEventListener("load", function(){
|
362
|
+
|
363
|
+
window.cookieconsent.initialise({
|
364
|
+
|
365
|
+
"palette": {
|
366
|
+
|
367
|
+
"popup": {
|
368
|
+
|
369
|
+
"background": "#efefef",
|
370
|
+
|
371
|
+
"text": "#404040"
|
372
|
+
|
373
|
+
},
|
374
|
+
|
375
|
+
"button": {
|
376
|
+
|
377
|
+
"background": "#8ec760",
|
378
|
+
|
379
|
+
"text": "#ffffff"
|
380
|
+
|
381
|
+
}
|
382
|
+
|
383
|
+
},
|
384
|
+
|
385
|
+
"theme": "classic",
|
386
|
+
|
387
|
+
"content": {
|
388
|
+
|
389
|
+
"href": "http://www.worldometers.info/policy/"
|
390
|
+
|
391
|
+
}
|
392
|
+
|
393
|
+
})});
|
394
|
+
|
395
|
+
</script>
|
396
|
+
|
397
|
+
<style type="text/css">
|
398
|
+
|
399
|
+
.style1 {
|
400
|
+
|
401
|
+
color: #666666
|
402
|
+
|
403
|
+
}
|
404
|
+
|
405
|
+
</style>
|
406
|
+
|
407
|
+
<div class="navbar navbar-default">
|
408
|
+
|
409
|
+
<div class="container">
|
410
|
+
|
411
|
+
<div class="navbar-header">
|
412
|
+
|
413
|
+
<div class="logo"><a href="/" class="navbar-brand"><img src="/img/worldometers-logo.gif" border="0" title="Worldometer"></a></div>
|
414
|
+
|
415
|
+
<button class="navbar-toggle" type="button" data-toggle="collapse" data-target="#navbar-main">
|
416
|
+
|
417
|
+
<span class="icon-bar"></span>
|
418
|
+
|
419
|
+
<span class="icon-bar"></span>
|
420
|
+
|
421
|
+
<span class="icon-bar"></span>
|
422
|
+
|
423
|
+
</button>
|
424
|
+
|
425
|
+
</div>
|
426
|
+
|
427
|
+
<div class="navbar-collapse collapse" id="navbar-main">
|
428
|
+
|
429
|
+
<ul class="nav navbar-nav">
|
430
|
+
|
431
|
+
<li><a href="/coronavirus/"><span style="color:#FF9900; font-weight:bold">Coronavirus</span></a></li>
|
432
|
+
|
433
|
+
<li><a href="/population/">Population</a></li>
|
434
|
+
|
435
|
+
</ul>
|
436
|
+
|
437
|
+
</div>
|
438
|
+
|
439
|
+
</div>
|
440
|
+
|
441
|
+
</div>
|
442
|
+
|
443
|
+
|
444
|
+
|
445
|
+
<div class="container">
|
446
|
+
|
447
|
+
|
448
|
+
|
449
|
+
<div class="row">
|
450
|
+
|
451
|
+
<div style="text-align:left; margin-bottom:10px">
|
452
|
+
|
453
|
+
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
|
454
|
+
|
455
|
+
|
456
|
+
|
457
|
+
<ins class="adsbygoogle" style="display:inline-block;width:970px;height:90px" data-ad-client="ca-pub-3701697624350410" data-ad-slot="3287840995"></ins>
|
458
|
+
|
459
|
+
<script>
|
460
|
+
|
461
|
+
(adsbygoogle = window.adsbygoogle || []).push({});
|
462
|
+
|
463
|
+
</script>
|
464
|
+
|
465
|
+
</div>
|
466
|
+
|
467
|
+
</div>
|
468
|
+
|
469
|
+
|
470
|
+
|
471
|
+
|
472
|
+
|
473
|
+
|
474
|
+
|
475
|
+
<div class="row"> <div class="col-md-8">
|
476
|
+
|
477
|
+
|
478
|
+
|
479
|
+
<div class="content-inner">
|
480
|
+
|
481
|
+
<style>
|
482
|
+
|
483
|
+
.number-table {
|
484
|
+
|
485
|
+
font-size: 20px;
|
486
|
+
|
487
|
+
font-weight: bold
|
488
|
+
|
489
|
+
}
|
490
|
+
|
491
|
+
|
492
|
+
|
493
|
+
.number-table-main {
|
494
|
+
|
495
|
+
font-size: 24px;
|
496
|
+
|
497
|
+
font-weight: bold
|
498
|
+
|
499
|
+
}
|
500
|
+
|
501
|
+
</style>
|
502
|
+
|
503
|
+
|
504
|
+
|
505
|
+
<script src="/js/highcharts.js"></script>
|
506
|
+
|
507
|
+
<style type="text/css">
|
508
|
+
|
509
|
+
<!--
|
510
|
+
|
511
|
+
.source { }
|
512
|
+
|
513
|
+
|
514
|
+
|
515
|
+
.style2 {
|
516
|
+
|
517
|
+
color: #FF0000
|
518
|
+
|
519
|
+
}
|
520
|
+
|
521
|
+
|
522
|
+
|
523
|
+
.style4 {
|
524
|
+
|
525
|
+
color: #FF0000;
|
526
|
+
|
527
|
+
font-weight: bold;
|
528
|
+
|
529
|
+
}
|
530
|
+
|
531
|
+
|
532
|
+
|
533
|
+
.style6 {
|
534
|
+
|
535
|
+
font-size: 12px;
|
536
|
+
|
537
|
+
color: #bbb;
|
538
|
+
|
539
|
+
font-weight: bold;
|
540
|
+
|
541
|
+
}
|
542
|
+
|
543
|
+
|
544
|
+
|
545
|
+
.source1 {
|
546
|
+
|
547
|
+
font-size: 12px;
|
548
|
+
|
549
|
+
color: #bbb;
|
550
|
+
|
551
|
+
}
|
552
|
+
|
553
|
+
|
554
|
+
|
555
|
+
.source1 {
|
556
|
+
|
557
|
+
font-size: 12px;
|
558
|
+
|
559
|
+
color: #bbb;
|
560
|
+
|
561
|
+
}
|
562
|
+
|
563
|
+
|
564
|
+
|
565
|
+
.source11 {
|
566
|
+
|
567
|
+
font-size: 12px
|
568
|
+
|
569
|
+
```
|
570
|
+
|
571
|
+
|
572
|
+
|
75
573
|
**試したこと**
|
76
574
|
|
77
575
|
---
|
5
リンクのタイトル変更
test
CHANGED
File without changes
|
test
CHANGED
@@ -78,7 +78,7 @@
|
|
78
78
|
|
79
79
|
以下のライブラリーに変更を試みたり、正規表現に挑戦したりしましあたが、時間が多大にかかっている状況です。
|
80
80
|
|
81
|
-
https://tadaken3.hatenablog.jp/entry/parser-for-gas
|
81
|
+
[Parser以外の外部ライブラリー](https://tadaken3.hatenablog.jp/entry/parser-for-gas)
|
82
82
|
|
83
83
|
|
84
84
|
|
4
リンクの変更
test
CHANGED
File without changes
|
test
CHANGED
@@ -4,7 +4,7 @@
|
|
4
4
|
|
5
5
|
現在、日本のコロナの状況を日々アップデートし、gmailで報告するプログラムをgasで作成しています。
|
6
6
|
|
7
|
-
以下のサイトの情報のうち、感染者数、回復者数、100万あたりの感染者数、100万あたりの死者数を抜き取り、
|
7
|
+
そこでまず、以下のサイトの情報のうち、感染者数、回復者数、100万あたりの感染者数、100万あたりの死者数を抜き取り、
|
8
8
|
|
9
9
|
spreadsheetに反映したいと考えています。
|
10
10
|
|
@@ -20,7 +20,7 @@
|
|
20
20
|
|
21
21
|
---
|
22
22
|
|
23
|
-
現在、外部ライブラリーのparser(外部ライブラリーParser](https://www.kutil.org/2016/01/easy-data-scrapping-with-google-apps.html))を使用して、該当箇所を抜き取ることに取り組んでいますが、この値の抜き出しがうまくできない状況です。
|
23
|
+
現在、外部ライブラリーのparser([外部ライブラリーParser](https://www.kutil.org/2016/01/easy-data-scrapping-with-google-apps.html))を使用して、該当箇所を抜き取ることに取り組んでいますが、この値の抜き出しがうまくできない状況です。
|
24
24
|
|
25
25
|
色々資料を当たりましたが、サンプルは非常にシンプルなHTMLを使用しているケースが多く、参考になりませんでした。
|
26
26
|
|
3
リンクのタイトル変更
test
CHANGED
File without changes
|
test
CHANGED
@@ -20,7 +20,7 @@
|
|
20
20
|
|
21
21
|
---
|
22
22
|
|
23
|
-
現在、外部ライブラリーのparser(https://www.kutil.org/2016/01/easy-data-scrapping-with-google-apps.html)を使用して、該当箇所を抜き取ることに取り組んでいますが、この値の抜き出しがうまくできない状況です。
|
23
|
+
現在、外部ライブラリーのparser(外部ライブラリーParser](https://www.kutil.org/2016/01/easy-data-scrapping-with-google-apps.html))を使用して、該当箇所を抜き取ることに取り組んでいますが、この値の抜き出しがうまくできない状況です。
|
24
24
|
|
25
25
|
色々資料を当たりましたが、サンプルは非常にシンプルなHTMLを使用しているケースが多く、参考になりませんでした。
|
26
26
|
|
2
リンクのタイトル変更
test
CHANGED
File without changes
|
test
CHANGED
@@ -12,7 +12,7 @@
|
|
12
12
|
|
13
13
|
![イメージ説明](38a4c310ea6f5da1e7962d97c15d312d.png)
|
14
14
|
|
15
|
-
[
|
15
|
+
[参考サイト](https://www.worldometers.info/coronavirus/)
|
16
16
|
|
17
17
|
|
18
18
|
|
1
リンクの変更
test
CHANGED
File without changes
|
test
CHANGED
@@ -12,7 +12,7 @@
|
|
12
12
|
|
13
13
|
![イメージ説明](38a4c310ea6f5da1e7962d97c15d312d.png)
|
14
14
|
|
15
|
-
https://www.worldometers.info/coronavirus/
|
15
|
+
[リンク内容](https://www.worldometers.info/coronavirus/)
|
16
16
|
|
17
17
|
|
18
18
|
|