From a8899888d1f0acc05dab1a99907ed6efc02934b2 Mon Sep 17 00:00:00 2001 From: Swindler <69729638+gigglebits@users.noreply.github.com> Date: Fri, 20 Jun 2025 12:02:58 -0500 Subject: [PATCH] Updates the lxml library to make it work again and uses python -m venv venv instead of virtualenv --- configure.sh | 4 ++-- jhf.py | 2 +- requirements.txt | 3 ++- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/configure.sh b/configure.sh index a3ea839..88ad847 100755 --- a/configure.sh +++ b/configure.sh @@ -1,4 +1,4 @@ #!/usr/bin/env bash -virtualenv -p python3 venv +python3 -m venv venv source venv/bin/activate -pip3 install -r requirements.txt \ No newline at end of file +pip3 install -r requirements.txt diff --git a/jhf.py b/jhf.py index e161e19..622427b 100644 --- a/jhf.py +++ b/jhf.py @@ -4,7 +4,7 @@ import random from sys import argv from string import hexdigits - +import lxml_html_clean CLEAN_LINE = "\033[1K\r" GREEN_COLOR = "\033[42;30m" diff --git a/requirements.txt b/requirements.txt index e39691c..3e51a5f 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1 +1,2 @@ -requests_html \ No newline at end of file +requests_html +lxml_html_clean