1
0

Add custom user agent

Signed-off-by: MK13 <marius@kleberonline.de>
This commit is contained in:
2021-01-15 22:14:36 +01:00
parent 7008509cf9
commit 274408bdb3

View File

@@ -3,6 +3,8 @@ import json
import re import re
import subprocess import subprocess
feedparser.USER_AGENT = "anime-rss/1.0"
# ANSI escape sequence coloring # ANSI escape sequence coloring
CSI = "\x1B[" CSI = "\x1B["
BOLD = CSI + "1;49m" BOLD = CSI + "1;49m"