diff options
author | Jesús <heckyel@hyperbola.info> | 2019-07-12 11:37:10 -0500 |
---|---|---|
committer | Jesús <heckyel@hyperbola.info> | 2019-07-12 11:37:10 -0500 |
commit | 2e85a27bd50971684bd7000f5ebaae63f257208b (patch) | |
tree | 5b03af542a97774ff11ad2ac46bc72f0879e897f | |
parent | b21940399000058259f8d37f1bde5a1bbd3f298f (diff) | |
download | livie-2e85a27bd50971684bd7000f5ebaae63f257208b.tar.lz livie-2e85a27bd50971684bd7000f5ebaae63f257208b.tar.xz livie-2e85a27bd50971684bd7000f5ebaae63f257208b.zip |
Fix TypeError: the JSON object must be str, not 'bytes' closed #5
-rw-r--r-- | livie.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -14,7 +14,7 @@ HD = '&itag=22&local=true' FIRST = True # skip line loop -VIDEOS = json.loads(REQUEST.content) +VIDEOS = json.loads(REQUEST.content.decode('utf-8')) for video in VIDEOS: try: |