diff options
author | James Taylor <user234683@users.noreply.github.com> | 2018-07-06 18:12:41 -0700 |
---|---|---|
committer | James Taylor <user234683@users.noreply.github.com> | 2018-07-06 18:16:15 -0700 |
commit | 1eecc5a880a460ebe18d513a94010b265303d567 (patch) | |
tree | 6cdd3909199a3c5ead6d4438f82c5eef5fc0fa13 /youtube/channel.py | |
parent | 2cf83d6e2a083969aff8ededfcad555ca9bf8e71 (diff) | |
download | yt-local-1eecc5a880a460ebe18d513a94010b265303d567.tar.lz yt-local-1eecc5a880a460ebe18d513a94010b265303d567.tar.xz yt-local-1eecc5a880a460ebe18d513a94010b265303d567.zip |
fix video length not being gotten for grid renderers
Diffstat (limited to 'youtube/channel.py')
-rw-r--r-- | youtube/channel.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/youtube/channel.py b/youtube/channel.py index f04ac45..96e85c8 100644 --- a/youtube/channel.py +++ b/youtube/channel.py @@ -80,8 +80,8 @@ def get_channel_tab(channel_id, page="1", sort=3, tab='videos', view=1): content = common.fetch_url(url, headers_1) print("Finished recieving channel tab response") - '''with open('debug/channel_debug', 'wb') as f: - f.write(content)''' + with open('debug/channel_debug', 'wb') as f: + f.write(content) info = json.loads(content) return info |