diff options
author | James Taylor <user234683@users.noreply.github.com> | 2020-09-05 23:44:01 -0700 |
---|---|---|
committer | James Taylor <user234683@users.noreply.github.com> | 2020-09-05 23:44:01 -0700 |
commit | 06974ef41be942111c472b4c7bc7dd93fd87a1a8 (patch) | |
tree | f732603c465ff4fbfbf053f1b302edda7bb399ca /server.py | |
parent | ec9834801886e1e29e87c1166382d7b4020023e2 (diff) | |
download | yt-local-06974ef41be942111c472b4c7bc7dd93fd87a1a8.tar.lz yt-local-06974ef41be942111c472b4c7bc7dd93fd87a1a8.tar.xz yt-local-06974ef41be942111c472b4c7bc7dd93fd87a1a8.zip |
Don't log noisy caption requests to console
Diffstat (limited to 'server.py')
-rw-r--r-- | server.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -125,7 +125,7 @@ def site_dispatch(env, start_response): class FilteredRequestLog: '''Don't log noisy thumbnail and avatar requests''' - filter_re = re.compile(r'"GET /https://(i\.ytimg\.com/|www.youtube\.com/data/subscription_thumbnails/|yt3.ggpht.com/).*" 200') + filter_re = re.compile(r'"GET /https://(i\.ytimg\.com/|www\.youtube\.com/data/subscription_thumbnails/|yt3\.ggpht\.com/|www\.youtube\.com/api/timedtext).*" 200') def __init__(self): pass def write(self, s): |