aboutsummaryrefslogtreecommitdiffstats
path: root/youtube
diff options
context:
space:
mode:
Diffstat (limited to 'youtube')
-rw-r--r--youtube/comments.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/youtube/comments.py b/youtube/comments.py
index 8eec789..127db01 100644
--- a/youtube/comments.py
+++ b/youtube/comments.py
@@ -8,9 +8,6 @@ import settings
import json
import base64
-import urllib
-import re
-import traceback
import flask
from flask import request
@@ -34,7 +31,7 @@ def make_comment_ctoken(video_id, sort=0, offset=0, lc='', secret_key=''):
secret_key = proto.as_bytes(secret_key)
- page_info = proto.string(4,video_id) + proto.uint(6, sort)
+ page_info = proto.string(4, video_id) + proto.uint(6, sort)
offset_information = proto.nested(4, page_info) + proto.uint(5, offset)
if secret_key:
offset_information = proto.string(1, secret_key) + offset_information