1
0
mirror of https://github.com/mikf/gallery-dl.git synced 2025-01-31 19:51:34 +01:00

[pinterest] match 'pinterest.co.uk' URLs (fixes #914)

This commit is contained in:
Mike Fährmann 2020-07-27 14:41:34 +02:00
parent 901a897e6f
commit 26a967cbd4
No known key found for this signature in database
GPG Key ID: 5680CA389D365A88

View File

@ -14,7 +14,7 @@ import itertools
import json import json
BASE_PATTERN = r"(?:https?://)?(?:\w+\.)?pinterest\.\w+" BASE_PATTERN = r"(?:https?://)?(?:\w+\.)?pinterest\.[\w.]+"
class PinterestExtractor(Extractor): class PinterestExtractor(Extractor):
@ -101,6 +101,8 @@ class PinterestBoardExtractor(PinterestExtractor):
("https://www.pinterest.com/g1952848/test/", { ("https://www.pinterest.com/g1952848/test/", {
"exception": exception.GalleryDLException, "exception": exception.GalleryDLException,
}), }),
# .co.uk TLD (#914)
("https://www.pinterest.co.uk/hextra7519/based-animals/"),
) )
def __init__(self, match): def __init__(self, match):