diff --git a/files/classes/award.py b/files/classes/award.py
index 95b0ad20a7..c1de3fe0ff 100644
--- a/files/classes/award.py
+++ b/files/classes/award.py
@@ -1,23 +1,37 @@
from sqlalchemy import *
from sqlalchemy.orm import relationship
from files.__main__ import Base
+from os import environ
-AWARDS = {
- "ban": {
- "kind": "ban",
- "title": "One-Day Ban",
- "description": "Ban the author for a day.",
- "icon": "fas fa-gavel",
- "color": "text-danger"
- },
- "shit": {
- "kind": "shit",
- "title": "Shitpost",
- "description": "Let OP know how much their post sucks ass. Flies will swarm their idiotic post. (flies only work on posts lol!!)",
- "icon": "fas fa-poop",
- "color": "text-black-50"
+site_name = environ.get("SITE_NAME").strip()
+
+if site_name == "Drama":
+ AWARDS = {
+ "ban": {
+ "kind": "ban",
+ "title": "One-Day Ban",
+ "description": "Ban the author for a day.",
+ "icon": "fas fa-gavel",
+ "color": "text-danger"
+ },
+ "shit": {
+ "kind": "shit",
+ "title": "Shitpost",
+ "description": "Let OP know how much their post sucks ass. Flies will swarm their idiotic post. (flies only work on posts lol!!)",
+ "icon": "fas fa-poop",
+ "color": "text-black-50"
+ }
+ }
+else:
+ AWARDS = {
+ "shit": {
+ "kind": "shit",
+ "title": "Shitpost",
+ "description": "Let OP know how much their post sucks ass. Flies will swarm their idiotic post. (flies only work on posts lol!!)",
+ "icon": "fas fa-poop",
+ "color": "text-black-50"
+ }
}
-}
class AwardRelationship(Base):
diff --git a/files/helpers/sanitize.py b/files/helpers/sanitize.py
index a3558b8a74..6be3262ec2 100644
--- a/files/helpers/sanitize.py
+++ b/files/helpers/sanitize.py
@@ -172,22 +172,26 @@ def sanitize(sanitized):
if path.isfile(f'./files/assets/images/emojis/{i.group(1)}.gif'):
sanitized = sanitized.replace(f':{i.group(1)}:', f'')
- sanitized = sanitized.replace("https://www.", "https://").replace("https://youtu.be/", "https://youtube.com/embed/").replace("https://music.youtube.com/watch?v=", "https://youtube.com/embed/").replace("/watch?v=", "/embed/").replace("https://open.spotify.com/", "https://open.spotify.com/embed/").replace("https://streamable.com/", "https://streamable.com/e/").replace("https://youtube.com/shorts/", "https://youtube.com/embed/")
-
- for i in re.finditer('(https://youtube.com/watch\?v\=.*?)', sanitized):
+ url = i.group(1)
+ replacing = f'{url}'
+ htmlsource = f'