Skip to content

Commit

Permalink
Tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
tw4l committed Jan 30, 2025
1 parent d107ea7 commit f141f8e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion backend/btrixcloud/pages.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
"""crawl pages"""

# pylint: disable=too-many-lines

import asyncio
import re
import traceback
Expand Down Expand Up @@ -598,7 +600,7 @@ async def list_collection_pages(
query["url"] = {"$regex": regex_pattern, "$options": "i"}

elif url:
query["url"] = url
query["url"] = urllib.parse.unquote(url)

aggregate = [{"$match": query}]

Expand Down

0 comments on commit f141f8e

Please sign in to comment.