From a971ac8c5dbb0612cb8bbdc11b5fb85b86cbcafc Mon Sep 17 00:00:00 2001
From: simon987 <me@simon987.net>
Date: Sun, 20 Dec 2020 21:05:58 -0500
Subject: [PATCH] fix plus4chan

---
 chan/plus4chan_html.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/chan/plus4chan_html.py b/chan/plus4chan_html.py
index 87fbaf4..9ef6357 100644
--- a/chan/plus4chan_html.py
+++ b/chan/plus4chan_html.py
@@ -45,7 +45,7 @@ class Plus4ChanHelper(ChanHelper):
 
             threads.append({
                 "id": int(threadEl.get("id")[1:]),
-                "omit": int(omit.text.split(" ")[1]) if omit else 0
+                "omit": int(omit.text.strip().split(" ")[1]) if omit else 0
             })
 
         for link in soup.find_all("a", href=lambda x: x):