diff options
author | James Taylor <user234683@users.noreply.github.com> | 2020-08-11 19:47:37 -0700 |
---|---|---|
committer | James Taylor <user234683@users.noreply.github.com> | 2020-08-11 19:47:37 -0700 |
commit | 81ff5ab99ca05c4559c604ba7517d17f4bc79ea8 (patch) | |
tree | f096f79bb6fd885f9f600c9cf7b62072fd592553 /youtube/yt_data_extract/watch_extraction.py | |
parent | 804ed093ee2a18f72b4e393664459a3b74186412 (diff) | |
download | yt-local-81ff5ab99ca05c4559c604ba7517d17f4bc79ea8.tar.lz yt-local-81ff5ab99ca05c4559c604ba7517d17f4bc79ea8.tar.xz yt-local-81ff5ab99ca05c4559c604ba7517d17f4bc79ea8.zip |
extract_channel_info: Improve error extraction
Use extract_str function since it's not always 'simpleText'
Make sure we don't output an empty error message if we don't
know what it is.
channel.py: Don't check if error message is empty, check if it's
None
Diffstat (limited to 'youtube/yt_data_extract/watch_extraction.py')
0 files changed, 0 insertions, 0 deletions