1
0
Fork 0

Linter and misc cleanup

:ci skip dl
This commit is contained in:
pukkandan 2021-01-29 01:02:37 +05:30
commit 66c935fb16
11 changed files with 66 additions and 89 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