ruff: ruff specific rules
This commit is contained in:
parent
b87c783d45
commit
9170197457
18 changed files with 62 additions and 61 deletions
|
|
@ -214,7 +214,7 @@ class SearchMixin(MixinProtocol):
|
|||
category = None
|
||||
# category "more from youtube" is missing sometimes
|
||||
if "messageRenderer" in results[0]:
|
||||
category = nav(results.pop(0), ["messageRenderer"] + TEXT_RUN_TEXT)
|
||||
category = nav(results.pop(0), ["messageRenderer", *TEXT_RUN_TEXT])
|
||||
type = None
|
||||
else:
|
||||
continue
|
||||
|
|
|
|||
Loading…
Reference in a new issue