channelHandle is absent if user has not created a YouTube channel
This commit is contained in:
parent
1660d376c7
commit
0425429e4d
1 changed files with 1 additions and 1 deletions
|
|
@ -440,7 +440,7 @@ class LibraryMixin(MixinProtocol):
|
||||||
ACCOUNT_PHOTO_URL = [*ACCOUNT_INFO, "accountPhoto", "thumbnails", 0, "url"]
|
ACCOUNT_PHOTO_URL = [*ACCOUNT_INFO, "accountPhoto", "thumbnails", 0, "url"]
|
||||||
|
|
||||||
account_name = nav(response, ACCOUNT_NAME)
|
account_name = nav(response, ACCOUNT_NAME)
|
||||||
channel_handle = nav(response, ACCOUNT_CHANNEL_HANDLE)
|
channel_handle = nav(response, ACCOUNT_CHANNEL_HANDLE, none_if_absent=True)
|
||||||
account_photo_url = nav(response, ACCOUNT_PHOTO_URL)
|
account_photo_url = nav(response, ACCOUNT_PHOTO_URL)
|
||||||
|
|
||||||
return {
|
return {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue