1
1
{
2
- "metadata" : {
3
- "language_info" : {
4
- "codemirror_mode" : {
5
- "name" : " ipython" ,
6
- "version" : 3
7
- },
8
- "file_extension" : " .py" ,
9
- "mimetype" : " text/x-python" ,
10
- "name" : " python" ,
11
- "nbconvert_exporter" : " python" ,
12
- "pygments_lexer" : " ipython3" ,
13
- "version" : " 3.8.7-final"
14
- },
15
- "orig_nbformat" : 2 ,
16
- "kernelspec" : {
17
- "name" : " python36664bitea6884f10f474b21a2a2f022451e0d09" ,
18
- "display_name" : " Python 3.6.6 64-bit" ,
19
- "language" : " python"
20
- }
21
- },
22
- "nbformat" : 4 ,
23
- "nbformat_minor" : 2 ,
24
2
"cells" : [
25
3
{
26
4
"cell_type" : " code" ,
120
98
" # get stats infos\n " ,
121
99
" comment_count = statistics[\" commentCount\" ]\n " ,
122
100
" like_count = statistics[\" likeCount\" ]\n " ,
123
- " dislike_count = statistics[\" dislikeCount\" ]\n " ,
124
101
" view_count = statistics[\" viewCount\" ]\n " ,
125
102
" # get duration from content details\n " ,
126
103
" duration = content_details[\" duration\" ]\n " ,
140
117
" Duration: {duration_str}\n " ,
141
118
" Number of comments: {comment_count}\n " ,
142
119
" Number of likes: {like_count}\n " ,
143
- " Number of dislikes: {dislike_count}\n " ,
144
120
" Number of views: {view_count}\n " ,
145
121
" \"\"\" )"
146
122
]
392
368
"outputs" : [],
393
369
"source" : []
394
370
}
395
- ]
396
- }
371
+ ],
372
+ "metadata" : {
373
+ "kernelspec" : {
374
+ "display_name" : " Python 3.6.6 64-bit" ,
375
+ "language" : " python" ,
376
+ "name" : " python36664bitea6884f10f474b21a2a2f022451e0d09"
377
+ },
378
+ "language_info" : {
379
+ "codemirror_mode" : {
380
+ "name" : " ipython" ,
381
+ "version" : 3
382
+ },
383
+ "file_extension" : " .py" ,
384
+ "mimetype" : " text/x-python" ,
385
+ "name" : " python" ,
386
+ "nbconvert_exporter" : " python" ,
387
+ "pygments_lexer" : " ipython3" ,
388
+ "version" : " 3.8.7-final"
389
+ },
390
+ "orig_nbformat" : 2
391
+ },
392
+ "nbformat" : 4 ,
393
+ "nbformat_minor" : 2
394
+ }
0 commit comments