From a14b830b8bac5eb93de1f2dc3888a03c41989bae Mon Sep 17 00:00:00 2001 From: Tevin Date: Thu, 8 Apr 2021 22:53:02 +0800 Subject: [PATCH] Add beautifulsoup4 as a dependency So using filters like `beautify` won't result in the following error: ``` Traceback (most recent call last): File "/usr/lib/python3.8/site-packages/urlwatch/handler.py", line 120, in process data = FilterBase.process(filter_kind, subfilter, self, data) File "/usr/lib/python3.8/site-packages/urlwatch/filters.py", line 180, in process return filtercls(state.job, state).filter(data, subfilter) File "/usr/lib/python3.8/site-packages/urlwatch/filters.py", line 276, in filter raise ImportError('Please install BeautifulSoup') ImportError: Please install BeautifulSoup ``` --- urlwatch/Dockerfile | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/urlwatch/Dockerfile b/urlwatch/Dockerfile index 4318e8b..760fbac 100644 --- a/urlwatch/Dockerfile +++ b/urlwatch/Dockerfile @@ -18,16 +18,17 @@ RUN set -xe \ py3-pip \ python3 \ python3-dev \ - && pip3 install appdirs \ - cssselect \ - keyring \ - lxml \ - minidb \ - pyyaml \ - requests \ - chump \ - pushbullet.py \ - urlwatch \ + && pip3 install appdirs \ + cssselect \ + keyring \ + lxml \ + minidb \ + pyyaml \ + requests \ + chump \ + beautifulsoup4 \ + pushbullet.py \ + urlwatch \ && apk del build-base \ libffi-dev \ libxml2-dev \