| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -69,7 +69,6 @@ def print_video_infos(video_response): | |||
| 69 | 69 | # get stats infos | |
| 70 | 70 | comment_count = statistics["commentCount"] | |
| 71 | 71 | like_count = statistics["likeCount"] | |
| 72 | - dislike_count = statistics["dislikeCount"] | ||
| 73 | 72 | view_count = statistics["viewCount"] | |
| 74 | 73 | # get duration from content details | |
| 75 | 74 | duration = content_details["duration"] | |
@@ -89,7 +88,6 @@ def print_video_infos(video_response): | |||
| 89 | 88 | Duration: {duration_str} | |
| 90 | 89 | Number of comments: {comment_count} | |
| 91 | 90 | Number of likes: {like_count} | |
| 92 | - Number of dislikes: {dislike_count} | ||
| 93 | 91 | Number of views: {view_count} | |
| 94 | 92 | """) | |
| 95 | 93 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,26 +1,4 @@ | |||
| 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,7 +98,6 @@ | |||
| 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,7 +117,6 @@ | |||
| 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,5 +368,27 @@ | |||
| 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 | + } | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments