2 Commits
v2.0 ... v2.1

Author SHA1 Message Date
eneller
d32e6f2ddb feat: case-insensitive search 2025-04-13 12:43:31 +02:00
eneller
b32f4465ef build: upgrade uv.lock 2025-04-06 10:30:36 +02:00
3 changed files with 4 additions and 4 deletions

View File

@@ -1,6 +1,6 @@
[project]
name = "epub2go-py-web"
version = "0.1.0"
version = "2.1"
description = "Web Interface to epub2go.py"
readme = "README.md"
requires-python = ">=3.12"

View File

@@ -33,7 +33,7 @@ def index(request: HttpRequest):
return response
else: return HttpResponseBadRequest('Input URL invalid.')
elif searchParam:
localbooks = [book for book in books if searchParam in book.title]
localbooks = [book for book in books if searchParam.lower() in book.title.lower()]
# paginate items
paginationParam = request.GET.get('p', '')

4
uv.lock generated
View File

@@ -186,8 +186,8 @@ wheels = [
[[package]]
name = "epub2go"
version = "2.2.2"
source = { git = "https://github.com/eneller/epub2go.py#b3cd49326f871ee6e73215ec2a8c393476a85f98" }
version = "2.2.3"
source = { git = "https://github.com/eneller/epub2go.py#75974ae11957b8a65d607b1f00ad2fae41a6840b" }
dependencies = [
{ name = "beautifulsoup4" },
{ name = "click" },