diff options
author | James Taylor <user234683@users.noreply.github.com> | 2019-03-25 13:15:54 -0700 |
---|---|---|
committer | James Taylor <user234683@users.noreply.github.com> | 2019-03-25 13:15:54 -0700 |
commit | 0ecf3d08be9206b1067fa37301fb187256dc17ab (patch) | |
tree | e3ee1b96d3e02078cc55e0e6a996ba0e634c5de8 /youtube/proto.py | |
parent | a33b71820c22892157612baeb47575e8dda5fbf4 (diff) | |
download | yt-local-0ecf3d08be9206b1067fa37301fb187256dc17ab.tar.lz yt-local-0ecf3d08be9206b1067fa37301fb187256dc17ab.tar.xz yt-local-0ecf3d08be9206b1067fa37301fb187256dc17ab.zip |
Fix error with channel searches with non-ascii characters
Diffstat (limited to 'youtube/proto.py')
-rw-r--r-- | youtube/proto.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube/proto.py b/youtube/proto.py index 004375a..d966455 100644 --- a/youtube/proto.py +++ b/youtube/proto.py @@ -60,7 +60,7 @@ def unpadded_b64encode(data): def as_bytes(value): if isinstance(value, str): - return value.encode('ascii') + return value.encode('utf-8') return value |