From 476d05a17d9197185f06b4b0d90fc8e6db41af30 Mon Sep 17 00:00:00 2001 From: "yakumo.izuru" Date: Sat, 28 Oct 2023 16:49:10 +0000 Subject: [PATCH] Ignore m.youtube.com Signed-off-by: Izuru Yakumo git-svn-id: file:///srv/svn/repo/chen/trunk@24 32723744-9b23-0b4a-b1da-9b2e968f9461 --- main.py | 1 + services/chen.yml | 2 ++ 2 files changed, 3 insertions(+) create mode 100644 services/chen.yml diff --git a/main.py b/main.py index a334a61..c14f581 100644 --- a/main.py +++ b/main.py @@ -32,6 +32,7 @@ block_list = ( "youtu.be", "www.youtube.com", "youtube.com", + "m.youtube.com" ) req_list = ("http://", "https://") html_files = ("text/html", "application/xhtml+xml") diff --git a/services/chen.yml b/services/chen.yml new file mode 100644 index 0000000..1e16d18 --- /dev/null +++ b/services/chen.yml @@ -0,0 +1,2 @@ +cmd: /usr/bin/env python3 main.py +cwd: %h/chen