diff options
author | James Taylor <28744867+user234683@users.noreply.github.com> | 2020-10-21 09:57:49 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-21 09:57:49 -0700 |
commit | f01ef36a37c9112eca3f85d49622c41d68000a69 (patch) | |
tree | f62f99169397b3779a5a9c2db4dca9beb0a86b56 /youtube/yt_data_extract/watch_extraction.py | |
parent | c696db3e84d91092182adbeb7eef6126fad6be5d (diff) | |
parent | a27b575380378f1b490dcabb8cc67f05adee5daa (diff) | |
download | yt-local-f01ef36a37c9112eca3f85d49622c41d68000a69.tar.lz yt-local-f01ef36a37c9112eca3f85d49622c41d68000a69.tar.xz yt-local-f01ef36a37c9112eca3f85d49622c41d68000a69.zip |
Merge pull request #34 from zrose584/rm_whitespaces
remove trailing whitespaces
Diffstat (limited to 'youtube/yt_data_extract/watch_extraction.py')
-rw-r--r-- | youtube/yt_data_extract/watch_extraction.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube/yt_data_extract/watch_extraction.py b/youtube/yt_data_extract/watch_extraction.py index f89cec1..5e57c15 100644 --- a/youtube/yt_data_extract/watch_extraction.py +++ b/youtube/yt_data_extract/watch_extraction.py @@ -172,7 +172,7 @@ def _extract_watch_info_mobile(top_level): else: info['playlist'] = {} info['playlist']['title'] = playlist.get('title') - info['playlist']['author'] = extract_str(multi_get(playlist, + info['playlist']['author'] = extract_str(multi_get(playlist, 'ownerName', 'longBylineText', 'shortBylineText', 'ownerText')) author_id = deep_get(playlist, 'longBylineText', 'runs', 0, 'navigationEndpoint', 'browseEndpoint', 'browseId') |