this post was submitted on 15 Oct 2024
1 points (100.0% liked)

GenZedong

4302 readers
9 users here now

This is a Dengist community in favor of Bashar al-Assad with no information that can lead to the arrest of Hillary Clinton, our fellow liberal and queen. This community is not ironic. We are Marxists-Leninists.

This community is for posts about Marxism and geopolitics (including shitposts to some extent). Serious posts can be posted here or in /c/GenZhou. Reactionary or ultra-leftist cringe posts belong in /c/shitreactionariessay or /c/shitultrassay respectively.

We have a Matrix homeserver and a Matrix space. See this thread for more information. If you believe the server may be down, check the status on status.elara.ws.

Rules:

founded 4 years ago
MODERATORS
 

Proxitok makes it possible to view Tiktok links in a privacy-respecting client.

For example, take this video: https://vm.tiktok.com/ZIJW68vcC/
We can redirect it to a Proxitok instance (from this list, for example), and we get this: https://proxitok.pabloferreiro.es/redirect/search?term=https://vm.tiktok.com/ZIJW68vcC/&type=url

The necessary code for this bot action would be:

[[reply]]
regex = '((?:https://)?(?:vm|www)\.tiktok\.com/[\w\d?@&=%/-]*)'
msg = '''
#(len(matches) == 1 ? "A Tiktok link was" : "Tiktok links were") detected in your #(type). Here are links to the same #(len(matches) == 1 ? "video" : "videos") on Proxitok, which is a Tiktok frontend that protects your privacy:

#for(i, match in matches):
#if(len(matches) > 1):Link #(i+1):#!if
- [proxitok.pabloferreiro.es](https://proxitok.pabloferreiro.es/redirect/search?term=#(match[1])&type=url)
- [proxitok.pussthecat.org](https://proxitok.pussthecat.org/redirect/search?term=#(match[1])&type=url)
- [proxitok.privacydev.net](https://proxitok.privacydev.net/redirect/search?term=#(match[1])&type=url)

#!for
'''

E: Wasn't really sure where to post this so I defaulted to here ๐Ÿ˜…
Also I haven't tested it, but I checked it on regex101 and it's correct

no comments (yet)
sorted by: hot top controversial new old
there doesn't seem to be anything here