2022-08-12 23:37:14 -04:00
2022-08-12 22:59:43 -04:00
2022-08-12 23:37:14 -04:00
2022-08-12 23:25:29 -04:00
2022-08-12 22:59:43 -04:00
2022-08-12 22:59:43 -04:00
2022-08-12 22:59:43 -04:00
2022-08-12 23:25:29 -04:00

SMAT-query

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.

smat-query --chart -t "chris chan" -s kiwifarms -S 2012-01-01 -U 2022-08-13

AnOminous:490
Shiversblood:351
Mariposa Electrique:294
The Un-Clit:254
Stratochu:232
CatParty:204
Pickle Inspector:194
Doctor of Autism:187
FightenGnome:176
Fapcop:168

chris chan name

Installation:

(Optional)Create a virtual environment: pip install virtualenv && virtualenv smat-query

(Optional)Activate: source smat-query/bin/activate

Install prerequisites: pip install -r requirements.txt

Plotly is optional if not generating graphical plots.

Usage:

smat-query [-h] --term TERM --site SITE --since SINCE --until UNTIL [--chart] [--esquery]


options:
-h, --help            show this help message and exit
--term TERM, -t TERM  Search term. ex: nigger
--site SITE, -s SITE  Site to search ex: kiwifarms
--since SINCE, -S SINCE
Date to begin search. Format YYYY-MM-DD
--until UNTIL, -U UNTIL
Date to end search.
--chart, -C           Create a bar chart(requires plotly-chart-generator)
--esquery, -E         Use esquery. Will search beyond the message body, catching the username and other
metadata.
--debug, -D

The following arguments are required: --term/-t, --site/-s, --since/-S, --until/-U

Term: The term you want to search for. (eg. nigger)

Site: The website you want to search. (eg. kiwifarms)

Available values : rumble_video, rumble_comment, bitchute_video, bitchute_comment, lbry_video, lbry_comment, 8kun, 4chan, gab, parler, win, poal, telegram, kiwifarms, gettr, wimkin, mewe, minds, vk, truth_social

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: smat-query --chart -t nigger -s kiwifarms -S 2022-01-01 -U 2022-05-30

Result:

Retink:81
z0mb0:69
draggs:63
AnOminous:58
Lobster Cult High Priest:58
Blue Miaplacidus:56
MrJokerRager:55
mr.moon1488:54
Feline Supremacist:52
Sammich:50

example

Known Limitations

  • 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
S
Description
No description provided
Readme 144 KiB
Languages
Python 100%