diff --git a/README.md b/README.md index b5d0d20..ac98d87 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ https://smat-app.com is a dime-a-dozen "hate watch" website that archives the social media sites: 4chan, Telegram, Kiwifarms, and others. They offer a very restricted public API. This script queries the SMAT chart API. You can discover the users with the highest keyword use on Kiwifarms. -`top-users.py --chart -t "chris chan" -s kiwifarms -S 2012-01-01 -U 2022-08-13` +`smat-query --chart -t "chris chan" -s kiwifarms -S 2012-01-01 -U 2022-08-13` ``` AnOminous:490 Shiversblood:351 @@ -32,7 +32,7 @@ Plotly is optional if not generating graphical plots. ## Usage: -`top-users.py [-h] --term TERM --site SITE --since SINCE --until UNTIL [--chart] [--esquery]` +`smat-query [-h] --term TERM --site SITE --since SINCE --until UNTIL [--chart] [--esquery]` ```Top Users on Site Based on Term @@ -63,7 +63,7 @@ Available values : `rumble_video, rumble_comment, bitchute_video, bitchute_comme Since and until: The dates to search. The format is YYYY-MM-DD. (2022-08-11) The full time format can be supplied YY-MM-DDThh:mm:ss.ssssss. (2022-06-13T02:30:40.065049) -eg: `top-users.py --chart -t nigger -s kiwifarms -S 2022-01-01 -U 2022-05-30` +eg: `smat-query --chart -t nigger -s kiwifarms -S 2022-01-01 -U 2022-05-30` Result: @@ -87,4 +87,4 @@ Sammich:50 - Does not work for most sites(key error). A lookup table can be created to resolve this. - No timeline support though can be added easily. - No automatic png export. You can export via the plotly interface. -- Public API is very restricted \ No newline at end of file +- Public API is very restricted diff --git a/top-users b/smat-query similarity index 95% rename from top-users rename to smat-query index c63d6e4..9473b56 100644 --- a/top-users +++ b/smat-query @@ -7,7 +7,7 @@ import requests import argparse #import plotly.express as px -parser = argparse.ArgumentParser(description='Top Users on Site Based on Term',epilog='eg: top-users.py --chart -t nigger -s kiwifarms -S 2022-01-01 -U 2022-05-30') +parser = argparse.ArgumentParser(description='Top Users on Site Based on Term',epilog='eg: smat-query --chart -t nigger -s kiwifarms -S 2022-01-01 -U 2022-05-30') parser.add_argument('--term', '-t', type=str, required=True, help='Search term. ex: nigger') parser.add_argument('--site', '-s', type=str, required=True, help='Site to search ex: kiwifarms') parser.add_argument('--since', '-S', type=str, required=True, help='Date to begin search. Format YYYY-MM-DD')