Linter and misc cleanup

:ci skip dl
This commit is contained in:
pukkandan
2021-01-29 01:02:37 +05:30
parent 64c0d954e5
commit 66c935fb16
11 changed files with 70 additions and 93 deletions

View File

@@ -31,6 +31,7 @@ try:
except ImportError:
NFLTokenGenerator = None
def md5_text(s):
if not isinstance(s, compat_str):
s = compat_str(s)

View File

@@ -2492,8 +2492,8 @@ class YoutubeIE(YoutubeBaseInfoExtractor):
def get_continuation(continuation, session_token, replies=False):
query = {
'pbj': 1,
'ctoken': continuation,
'pbj': 1,
'ctoken': continuation,
}
if replies:
query['action_get_comment_replies'] = 1