[pinterest] match board URLs with query strings (#7805)

This commit is contained in:
Mike Fährmann
2025-07-11 18:55:21 +02:00
parent e68dc960c2
commit 8e40ea2fe2
2 changed files with 7 additions and 1 deletions

View File

@@ -231,7 +231,7 @@ class PinterestBoardExtractor(PinterestExtractor):
directory_fmt = ("{category}", "{board[owner][username]}", "{board[name]}")
archive_fmt = "{board[id]}_{id}"
pattern = (BASE_PATTERN + r"/(?!pin/)([^/?#]+)"
"/(?!_saved|_created|pins/)([^/?#]+)/?$")
r"/(?!_saved|_created|pins/)([^/?#]+)/?(?:$|\?|#)")
example = "https://www.pinterest.com/USER/BOARD/"
def __init__(self, match):