From afe24a3e65b798b71ef2be8142488d2c4e2d8091 Mon Sep 17 00:00:00 2001 From: Jack Robison Date: Fri, 18 Oct 2019 09:35:10 -0400 Subject: [PATCH] update time_to_first_byte.py --- lbry/scripts/time_to_first_byte.py | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/lbry/scripts/time_to_first_byte.py b/lbry/scripts/time_to_first_byte.py index 8d79beeea..749143459 100644 --- a/lbry/scripts/time_to_first_byte.py +++ b/lbry/scripts/time_to_first_byte.py @@ -59,12 +59,26 @@ async def main(cmd_args=None): kwargs = { 'page': page, 'claim_type': 'stream', + 'any_tags': [ + 'art', + 'automotive', + 'blockchain', + 'comedy', + 'economics', + 'education', + 'gaming', + 'music', + 'news', + 'science', + 'sports', + 'technology', + ], 'order_by': ['trending_global', 'trending_mixed'], 'no_totals': True } - # if not cmd_args.allow_fees: - # kwargs['fee_amount'] = 0 + if not cmd_args.allow_fees: + kwargs['fee_amount'] = 0 response = await daemon_rpc( conf, 'claim_search', **kwargs